sinatra_resource 0.4.13 → 0.4.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/examples/datacatalog/config/config.rb +3 -3
- data/sinatra_resource.gemspec +11 -11
- metadata +8 -8
data/Rakefile
CHANGED
@@ -11,9 +11,9 @@ begin
|
|
11
11
|
gem.homepage = "http://github.com/djsun/sinatra_resource"
|
12
12
|
gem.authors = ["David James"]
|
13
13
|
|
14
|
-
gem.add_dependency 'mongo_mapper', '
|
15
|
-
gem.add_dependency 'mongo', '
|
16
|
-
gem.add_dependency 'mongo_ext', '
|
14
|
+
gem.add_dependency 'mongo_mapper', '>= 0.7'
|
15
|
+
gem.add_dependency 'mongo', '>= 0.18.3'
|
16
|
+
gem.add_dependency 'mongo_ext', '>= 0.18.3'
|
17
17
|
gem.add_dependency 'sinatra', '>= 0.9.4', '< 1.0'
|
18
18
|
gem.add_dependency 'query_string_filter', '>= 0.1.2'
|
19
19
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.14
|
@@ -8,15 +8,15 @@ module Config
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def self.setup_mongomapper
|
11
|
-
gem 'mongo_mapper', '
|
11
|
+
gem 'mongo_mapper', '>= 0.7'
|
12
12
|
require 'mongo_mapper'
|
13
13
|
MongoMapper.connection = new_mongo_connection
|
14
14
|
MongoMapper.database = environment_config['mongo_database']
|
15
15
|
end
|
16
16
|
|
17
17
|
def self.new_mongo_connection
|
18
|
-
gem 'mongo', "
|
19
|
-
gem 'mongo_ext', "
|
18
|
+
gem 'mongo', ">= 0.18.3"
|
19
|
+
gem 'mongo_ext', ">= 0.18.3"
|
20
20
|
require 'mongo'
|
21
21
|
Mongo::Connection.new(environment_config["mongo_hostname"])
|
22
22
|
end
|
data/sinatra_resource.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sinatra_resource}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.14"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["David James"]
|
12
|
-
s.date = %q{2010-02-
|
12
|
+
s.date = %q{2010-02-16}
|
13
13
|
s.description = %q{A DSL for creating RESTful actions with Sinatra and MongoMapper. It embraces the Resource Oriented Architecture as explained by Leonard Richardson and Sam Ruby.}
|
14
14
|
s.email = %q{djames@sunlightfoundation.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -202,9 +202,9 @@ Gem::Specification.new do |s|
|
|
202
202
|
s.specification_version = 3
|
203
203
|
|
204
204
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
205
|
-
s.add_runtime_dependency(%q<mongo_mapper>, ["
|
206
|
-
s.add_runtime_dependency(%q<mongo>, ["
|
207
|
-
s.add_runtime_dependency(%q<mongo_ext>, ["
|
205
|
+
s.add_runtime_dependency(%q<mongo_mapper>, [">= 0.7"])
|
206
|
+
s.add_runtime_dependency(%q<mongo>, [">= 0.18.3"])
|
207
|
+
s.add_runtime_dependency(%q<mongo_ext>, [">= 0.18.3"])
|
208
208
|
s.add_runtime_dependency(%q<sinatra>, [">= 0.9.4", "< 1.0"])
|
209
209
|
s.add_runtime_dependency(%q<query_string_filter>, [">= 0.1.2"])
|
210
210
|
s.add_development_dependency(%q<crack>, [">= 0.1.4"])
|
@@ -213,9 +213,9 @@ Gem::Specification.new do |s|
|
|
213
213
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
214
214
|
s.add_development_dependency(%q<yard>, [">= 0.2.3.5"])
|
215
215
|
else
|
216
|
-
s.add_dependency(%q<mongo_mapper>, ["
|
217
|
-
s.add_dependency(%q<mongo>, ["
|
218
|
-
s.add_dependency(%q<mongo_ext>, ["
|
216
|
+
s.add_dependency(%q<mongo_mapper>, [">= 0.7"])
|
217
|
+
s.add_dependency(%q<mongo>, [">= 0.18.3"])
|
218
|
+
s.add_dependency(%q<mongo_ext>, [">= 0.18.3"])
|
219
219
|
s.add_dependency(%q<sinatra>, [">= 0.9.4", "< 1.0"])
|
220
220
|
s.add_dependency(%q<query_string_filter>, [">= 0.1.2"])
|
221
221
|
s.add_dependency(%q<crack>, [">= 0.1.4"])
|
@@ -225,9 +225,9 @@ Gem::Specification.new do |s|
|
|
225
225
|
s.add_dependency(%q<yard>, [">= 0.2.3.5"])
|
226
226
|
end
|
227
227
|
else
|
228
|
-
s.add_dependency(%q<mongo_mapper>, ["
|
229
|
-
s.add_dependency(%q<mongo>, ["
|
230
|
-
s.add_dependency(%q<mongo_ext>, ["
|
228
|
+
s.add_dependency(%q<mongo_mapper>, [">= 0.7"])
|
229
|
+
s.add_dependency(%q<mongo>, [">= 0.18.3"])
|
230
|
+
s.add_dependency(%q<mongo_ext>, [">= 0.18.3"])
|
231
231
|
s.add_dependency(%q<sinatra>, [">= 0.9.4", "< 1.0"])
|
232
232
|
s.add_dependency(%q<query_string_filter>, [">= 0.1.2"])
|
233
233
|
s.add_dependency(%q<crack>, [">= 0.1.4"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra_resource
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David James
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-16 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -18,9 +18,9 @@ dependencies:
|
|
18
18
|
version_requirement:
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - "
|
21
|
+
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.
|
23
|
+
version: "0.7"
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: mongo
|
@@ -28,9 +28,9 @@ dependencies:
|
|
28
28
|
version_requirement:
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.18.
|
33
|
+
version: 0.18.3
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: mongo_ext
|
@@ -38,9 +38,9 @@ dependencies:
|
|
38
38
|
version_requirement:
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.18.
|
43
|
+
version: 0.18.3
|
44
44
|
version:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: sinatra
|