sinatra_resource 0.4.12 → 0.4.13

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,8 +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', '>= 0.6.10', '< 0.7'
15
- gem.add_dependency 'mongo', '= 0.18.2', '< 1.0'
14
+ gem.add_dependency 'mongo_mapper', '= 0.6.10'
15
+ gem.add_dependency 'mongo', '= 0.18.2'
16
+ gem.add_dependency 'mongo_ext', '= 0.18.2'
16
17
  gem.add_dependency 'sinatra', '>= 0.9.4', '< 1.0'
17
18
  gem.add_dependency 'query_string_filter', '>= 0.1.2'
18
19
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.12
1
+ 0.4.13
@@ -8,15 +8,15 @@ module Config
8
8
  end
9
9
 
10
10
  def self.setup_mongomapper
11
- gem 'mongo_mapper', '>= 0.6.10', '< 0.7'
11
+ gem 'mongo_mapper', '= 0.6.10'
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', "= 0.18.2", '< 1.0'
19
- gem 'mongo_ext', "= 0.18.2", '< 1.0'
18
+ gem 'mongo', "= 0.18.2"
19
+ gem 'mongo_ext', "= 0.18.2"
20
20
  require 'mongo'
21
21
  Mongo::Connection.new(environment_config["mongo_hostname"])
22
22
  end
@@ -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.12"
8
+ s.version = "0.4.13"
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-04}
12
+ s.date = %q{2010-02-05}
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,8 +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>, [">= 0.6.10", "< 0.7"])
206
- s.add_runtime_dependency(%q<mongo>, ["= 0.18.2", "< 1.0"])
205
+ s.add_runtime_dependency(%q<mongo_mapper>, ["= 0.6.10"])
206
+ s.add_runtime_dependency(%q<mongo>, ["= 0.18.2"])
207
+ s.add_runtime_dependency(%q<mongo_ext>, ["= 0.18.2"])
207
208
  s.add_runtime_dependency(%q<sinatra>, [">= 0.9.4", "< 1.0"])
208
209
  s.add_runtime_dependency(%q<query_string_filter>, [">= 0.1.2"])
209
210
  s.add_development_dependency(%q<crack>, [">= 0.1.4"])
@@ -212,8 +213,9 @@ Gem::Specification.new do |s|
212
213
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
213
214
  s.add_development_dependency(%q<yard>, [">= 0.2.3.5"])
214
215
  else
215
- s.add_dependency(%q<mongo_mapper>, [">= 0.6.10", "< 0.7"])
216
- s.add_dependency(%q<mongo>, ["= 0.18.2", "< 1.0"])
216
+ s.add_dependency(%q<mongo_mapper>, ["= 0.6.10"])
217
+ s.add_dependency(%q<mongo>, ["= 0.18.2"])
218
+ s.add_dependency(%q<mongo_ext>, ["= 0.18.2"])
217
219
  s.add_dependency(%q<sinatra>, [">= 0.9.4", "< 1.0"])
218
220
  s.add_dependency(%q<query_string_filter>, [">= 0.1.2"])
219
221
  s.add_dependency(%q<crack>, [">= 0.1.4"])
@@ -223,8 +225,9 @@ Gem::Specification.new do |s|
223
225
  s.add_dependency(%q<yard>, [">= 0.2.3.5"])
224
226
  end
225
227
  else
226
- s.add_dependency(%q<mongo_mapper>, [">= 0.6.10", "< 0.7"])
227
- s.add_dependency(%q<mongo>, ["= 0.18.2", "< 1.0"])
228
+ s.add_dependency(%q<mongo_mapper>, ["= 0.6.10"])
229
+ s.add_dependency(%q<mongo>, ["= 0.18.2"])
230
+ s.add_dependency(%q<mongo_ext>, ["= 0.18.2"])
228
231
  s.add_dependency(%q<sinatra>, [">= 0.9.4", "< 1.0"])
229
232
  s.add_dependency(%q<query_string_filter>, [">= 0.1.2"])
230
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.12
4
+ version: 0.4.13
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-04 00:00:00 -05:00
12
+ date: 2010-02-05 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -18,12 +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
23
  version: 0.6.10
24
- - - <
25
- - !ruby/object:Gem::Version
26
- version: "0.7"
27
24
  version:
28
25
  - !ruby/object:Gem::Dependency
29
26
  name: mongo
@@ -34,9 +31,16 @@ dependencies:
34
31
  - - "="
35
32
  - !ruby/object:Gem::Version
36
33
  version: 0.18.2
37
- - - <
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: mongo_ext
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "="
38
42
  - !ruby/object:Gem::Version
39
- version: "1.0"
43
+ version: 0.18.2
40
44
  version:
41
45
  - !ruby/object:Gem::Dependency
42
46
  name: sinatra