forked from derailed/mongo3
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
40 lines (36 loc) · 1.17 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.
begin
require 'bones'
Bones.setup
rescue LoadError
begin
load 'tasks/setup.rb'
rescue LoadError
raise RuntimeError, '### please install the "bones" gem ###'
end
end
ensure_in_path 'lib'
require 'mongo3'
task :default => 'spec:run'
PROJ.name = 'mongo3'
PROJ.authors = 'Fernand Galiana'
PROJ.email = '[email protected]'
PROJ.url = 'http://www.mongo3.com'
PROJ.version = Mongo3::VERSION
PROJ.ruby_opts = %w[-W0]
PROJ.readme = 'README.rdoc'
PROJ.rcov.opts = ["--sort", "coverage", "-T"]
PROJ.ignore_file = "*.log"
PROJ.spec.opts << '--color'
PROJ.rdoc.include = %w[.rb]
# Dependencies
depend_on "mongo" , ">= 0.18.1"
depend_on "mongo_ext" , ">= 0.18.1"
depend_on "agnostic-will_paginate", ">= 3.0.0"
depend_on "memcache-client" , ">= 1.5.0"
depend_on "mongo_rack" , ">= 0.0.1"
depend_on "main" , ">= 4.2.0"
depend_on "json" , ">= 1.2.0"
depend_on "sinatra" , ">= 0.9.4"