mongomodel 0.3.6 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Appraisals CHANGED
@@ -3,14 +3,9 @@ appraise "rails-3.0" do
3
3
  gem "activemodel", "3.0.10"
4
4
  end
5
5
 
6
- appraise "rails-3.1-rc6" do
7
- gem "activesupport", "3.1.0.rc6"
8
- gem "activemodel", "3.1.0.rc6"
9
- end
10
-
11
- appraise "rails-3.1-latest" do
12
- gem "activesupport", :git => "https://github.com/rails/rails.git", :branch => "3-1-stable"
13
- gem "activemodel", :git => "https://github.com/rails/rails.git", :branch => "3-1-stable"
6
+ appraise "rails-3.1" do
7
+ gem "activesupport", "3.1.0"
8
+ gem "activemodel", "3.1.0"
14
9
  end
15
10
 
16
11
  appraise "rails-edge" do
data/Gemfile CHANGED
@@ -3,4 +3,4 @@ source "http://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  gem "appraisal", "~> 0.3.6"
6
- gem "bson_ext", "~> 1.3.0"
6
+ gem "bson_ext", "~> 1.4"
@@ -2,9 +2,9 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "bson_ext", "~> 1.3.0"
6
- gem "activemodel", "3.0.10"
7
- gem "activesupport", "3.0.10"
8
5
  gem "appraisal", "~> 0.3.6"
6
+ gem "bson_ext", "~> 1.4"
7
+ gem "activesupport", "3.0.10"
8
+ gem "activemodel", "3.0.10"
9
9
 
10
10
  gemspec :path=>"../"
@@ -1,10 +1,10 @@
1
1
  PATH
2
- remote: /Users/sam/Development/MongoDB/mongomodel
2
+ remote: /Users/sam/Scratch/mongomodel
3
3
  specs:
4
- mongomodel (0.3.5)
4
+ mongomodel (0.4.0)
5
5
  activemodel (~> 3.0)
6
6
  activesupport (~> 3.0)
7
- mongo (~> 1.3.0)
7
+ mongo (~> 1.4)
8
8
  will_paginate (~> 2.3.15)
9
9
 
10
10
  GEM
@@ -27,8 +27,8 @@ GEM
27
27
  rspec (>= 2.6.0)
28
28
  bcat (0.6.1)
29
29
  rack (~> 1.0)
30
- bson (1.3.1)
31
- bson_ext (1.3.1)
30
+ bson (1.4.0)
31
+ bson_ext (1.4.0)
32
32
  builder (2.1.2)
33
33
  childprocess (0.1.9)
34
34
  ffi (~> 1.0.6)
@@ -44,8 +44,8 @@ GEM
44
44
  json (>= 1.4.6)
45
45
  i18n (0.5.0)
46
46
  json (1.5.3)
47
- mongo (1.3.1)
48
- bson (>= 1.3.1)
47
+ mongo (1.4.0)
48
+ bson (= 1.4.0)
49
49
  rack (1.3.0)
50
50
  rake (0.9.2)
51
51
  rdiscount (1.6.8)
@@ -67,7 +67,7 @@ DEPENDENCIES
67
67
  activemodel (= 3.0.10)
68
68
  activesupport (= 3.0.10)
69
69
  appraisal (~> 0.3.6)
70
- bson_ext (~> 1.3.0)
70
+ bson_ext (~> 1.4)
71
71
  bundler (>= 1.0.0)
72
72
  mongomodel!
73
73
  rspec (~> 2.6.0)
@@ -0,0 +1,10 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "appraisal", "~> 0.3.6"
6
+ gem "bson_ext", "~> 1.4"
7
+ gem "activesupport", "3.1.0"
8
+ gem "activemodel", "3.1.0"
9
+
10
+ gemspec :path=>"../"
@@ -1,33 +1,33 @@
1
1
  PATH
2
- remote: /Users/sam/Development/MongoDB/mongomodel
2
+ remote: /Users/sam/Scratch/mongomodel
3
3
  specs:
4
- mongomodel (0.3.5)
4
+ mongomodel (0.4.0)
5
5
  activemodel (~> 3.0)
6
6
  activesupport (~> 3.0)
7
- mongo (~> 1.3.0)
7
+ mongo (~> 1.4)
8
8
  will_paginate (~> 2.3.15)
9
9
 
10
10
  GEM
11
11
  remote: http://rubygems.org/
12
12
  specs:
13
- activemodel (3.1.0.rc6)
14
- activesupport (= 3.1.0.rc6)
15
- bcrypt-ruby (~> 2.1.4)
13
+ activemodel (3.1.0)
14
+ activesupport (= 3.1.0)
15
+ bcrypt-ruby (~> 3.0.0)
16
16
  builder (~> 3.0.0)
17
17
  i18n (~> 0.6)
18
- activesupport (3.1.0.rc6)
18
+ activesupport (3.1.0)
19
19
  multi_json (~> 1.0)
20
20
  appraisal (0.3.8)
21
21
  bundler
22
22
  rake
23
- bcrypt-ruby (2.1.4)
24
- bson (1.3.1)
25
- bson_ext (1.3.1)
23
+ bcrypt-ruby (3.0.1)
24
+ bson (1.4.0)
25
+ bson_ext (1.4.0)
26
26
  builder (3.0.0)
27
- diff-lcs (1.1.2)
27
+ diff-lcs (1.1.3)
28
28
  i18n (0.6.0)
29
- mongo (1.3.1)
30
- bson (>= 1.3.1)
29
+ mongo (1.4.0)
30
+ bson (= 1.4.0)
31
31
  multi_json (1.0.3)
32
32
  rake (0.9.2)
33
33
  rspec (2.6.0)
@@ -44,10 +44,10 @@ PLATFORMS
44
44
  ruby
45
45
 
46
46
  DEPENDENCIES
47
- activemodel (= 3.1.0.rc6)
48
- activesupport (= 3.1.0.rc6)
47
+ activemodel (= 3.1.0)
48
+ activesupport (= 3.1.0)
49
49
  appraisal (~> 0.3.6)
50
- bson_ext (~> 1.3.0)
50
+ bson_ext (~> 1.4)
51
51
  bundler (>= 1.0.0)
52
52
  mongomodel!
53
53
  rspec (~> 2.6.0)
@@ -2,9 +2,9 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "bson_ext", "~> 1.3.0"
6
- gem "activemodel", :git=>"https://github.com/rails/rails.git"
7
- gem "activesupport", :git=>"https://github.com/rails/rails.git"
8
5
  gem "appraisal", "~> 0.3.6"
6
+ gem "bson_ext", "~> 1.4"
7
+ gem "activesupport", :git=>"https://github.com/rails/rails.git"
8
+ gem "activemodel", :git=>"https://github.com/rails/rails.git"
9
9
 
10
10
  gemspec :path=>"../"
@@ -12,12 +12,12 @@ GIT
12
12
  multi_json (~> 1.0)
13
13
 
14
14
  PATH
15
- remote: /Users/sam/Development/MongoDB/mongomodel
15
+ remote: /Users/sam/Scratch/mongomodel
16
16
  specs:
17
- mongomodel (0.3.5)
17
+ mongomodel (0.4.0)
18
18
  activemodel (~> 3.0)
19
19
  activesupport (~> 3.0)
20
- mongo (~> 1.3.0)
20
+ mongo (~> 1.4)
21
21
  will_paginate (~> 2.3.15)
22
22
 
23
23
  GEM
@@ -27,13 +27,13 @@ GEM
27
27
  bundler
28
28
  rake
29
29
  bcrypt-ruby (2.1.4)
30
- bson (1.3.1)
31
- bson_ext (1.3.1)
30
+ bson (1.4.0)
31
+ bson_ext (1.4.0)
32
32
  builder (3.0.0)
33
33
  diff-lcs (1.1.2)
34
34
  i18n (0.6.0)
35
- mongo (1.3.1)
36
- bson (>= 1.3.1)
35
+ mongo (1.4.0)
36
+ bson (= 1.4.0)
37
37
  multi_json (1.0.3)
38
38
  rake (0.9.2)
39
39
  rspec (2.6.0)
@@ -53,7 +53,7 @@ DEPENDENCIES
53
53
  activemodel!
54
54
  activesupport!
55
55
  appraisal (~> 0.3.6)
56
- bson_ext (~> 1.3.0)
56
+ bson_ext (~> 1.4)
57
57
  bundler (>= 1.0.0)
58
58
  mongomodel!
59
59
  rspec (~> 2.6.0)
@@ -53,11 +53,11 @@ module MongoModel
53
53
  end
54
54
 
55
55
  DEFAULTS = {
56
- 'host' => 'localhost',
57
- 'port' => 27017,
58
- 'database' => 'mongomodel-default',
59
- 'pool_size' => 5,
60
- 'timeout' => 5
56
+ 'host' => 'localhost',
57
+ 'port' => 27017,
58
+ 'database' => 'mongomodel-default',
59
+ 'pool_size' => 5,
60
+ 'pool_timeout' => 5
61
61
  }
62
62
 
63
63
  def self.defaults
@@ -1,3 +1,3 @@
1
1
  module MongoModel
2
- VERSION = "0.3.6"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
 
17
17
  s.add_dependency "activesupport", "~> 3.0"
18
18
  s.add_dependency "activemodel", "~> 3.0"
19
- s.add_dependency "mongo", "~> 1.3.0"
19
+ s.add_dependency "mongo", "~> 1.4"
20
20
  s.add_dependency "will_paginate", "~> 2.3.15"
21
21
 
22
22
  s.add_development_dependency "bundler", ">= 1.0.0"
metadata CHANGED
@@ -1,127 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mongomodel
3
- version: !ruby/object:Gem::Version
4
- hash: 31
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 3
9
- - 6
10
- version: 0.3.6
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Sam Pohlenz
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-08-18 00:00:00 +09:30
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2011-09-22 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: activesupport
23
- type: :runtime
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2154652940 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
18
+ requirements:
27
19
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 7
30
- segments:
31
- - 3
32
- - 0
33
- version: "3.0"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
22
+ type: :runtime
34
23
  prerelease: false
35
- requirement: *id001
36
- - !ruby/object:Gem::Dependency
24
+ version_requirements: *2154652940
25
+ - !ruby/object:Gem::Dependency
37
26
  name: activemodel
38
- type: :runtime
39
- version_requirements: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &2154652440 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
29
+ requirements:
42
30
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 7
45
- segments:
46
- - 3
47
- - 0
48
- version: "3.0"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
33
+ type: :runtime
49
34
  prerelease: false
50
- requirement: *id002
51
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *2154652440
36
+ - !ruby/object:Gem::Dependency
52
37
  name: mongo
53
- type: :runtime
54
- version_requirements: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &2154641960 !ruby/object:Gem::Requirement
55
39
  none: false
56
- requirements:
40
+ requirements:
57
41
  - - ~>
58
- - !ruby/object:Gem::Version
59
- hash: 27
60
- segments:
61
- - 1
62
- - 3
63
- - 0
64
- version: 1.3.0
42
+ - !ruby/object:Gem::Version
43
+ version: '1.4'
44
+ type: :runtime
65
45
  prerelease: false
66
- requirement: *id003
67
- - !ruby/object:Gem::Dependency
46
+ version_requirements: *2154641960
47
+ - !ruby/object:Gem::Dependency
68
48
  name: will_paginate
69
- type: :runtime
70
- version_requirements: &id004 !ruby/object:Gem::Requirement
49
+ requirement: &2154641460 !ruby/object:Gem::Requirement
71
50
  none: false
72
- requirements:
51
+ requirements:
73
52
  - - ~>
74
- - !ruby/object:Gem::Version
75
- hash: 29
76
- segments:
77
- - 2
78
- - 3
79
- - 15
53
+ - !ruby/object:Gem::Version
80
54
  version: 2.3.15
55
+ type: :runtime
81
56
  prerelease: false
82
- requirement: *id004
83
- - !ruby/object:Gem::Dependency
57
+ version_requirements: *2154641460
58
+ - !ruby/object:Gem::Dependency
84
59
  name: bundler
85
- type: :development
86
- version_requirements: &id005 !ruby/object:Gem::Requirement
60
+ requirement: &2154640860 !ruby/object:Gem::Requirement
87
61
  none: false
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- hash: 23
92
- segments:
93
- - 1
94
- - 0
95
- - 0
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
96
65
  version: 1.0.0
66
+ type: :development
97
67
  prerelease: false
98
- requirement: *id005
99
- - !ruby/object:Gem::Dependency
68
+ version_requirements: *2154640860
69
+ - !ruby/object:Gem::Dependency
100
70
  name: rspec
101
- type: :development
102
- version_requirements: &id006 !ruby/object:Gem::Requirement
71
+ requirement: &2154640200 !ruby/object:Gem::Requirement
103
72
  none: false
104
- requirements:
73
+ requirements:
105
74
  - - ~>
106
- - !ruby/object:Gem::Version
107
- hash: 23
108
- segments:
109
- - 2
110
- - 6
111
- - 0
75
+ - !ruby/object:Gem::Version
112
76
  version: 2.6.0
77
+ type: :development
113
78
  prerelease: false
114
- requirement: *id006
115
- description: MongoModel is a MongoDB ORM for Ruby/Rails similar to ActiveRecord and DataMapper.
116
- email:
79
+ version_requirements: *2154640200
80
+ description: MongoModel is a MongoDB ORM for Ruby/Rails similar to ActiveRecord and
81
+ DataMapper.
82
+ email:
117
83
  - sam@sampohlenz.com
118
84
  executables: []
119
-
120
85
  extensions: []
121
-
122
86
  extra_rdoc_files: []
123
-
124
- files:
87
+ files:
125
88
  - .gitignore
126
89
  - Appraisals
127
90
  - Gemfile
@@ -136,8 +99,8 @@ files:
136
99
  - gemfiles/rails-3.1-edge.gemfile.lock
137
100
  - gemfiles/rails-3.1-latest.gemfile
138
101
  - gemfiles/rails-3.1-latest.gemfile.lock
139
- - gemfiles/rails-3.1-rc6.gemfile
140
- - gemfiles/rails-3.1-rc6.gemfile.lock
102
+ - gemfiles/rails-3.1.gemfile
103
+ - gemfiles/rails-3.1.gemfile.lock
141
104
  - gemfiles/rails-edge.gemfile
142
105
  - gemfiles/rails-edge.gemfile.lock
143
106
  - lib/mongomodel.rb
@@ -282,41 +245,31 @@ files:
282
245
  - spec/support/matchers/respond_to_boolean.rb
283
246
  - spec/support/matchers/run_callbacks.rb
284
247
  - spec/support/models.rb
285
- has_rdoc: true
286
248
  homepage: http://www.mongomodel.org
287
249
  licenses: []
288
-
289
250
  post_install_message:
290
251
  rdoc_options: []
291
-
292
- require_paths:
252
+ require_paths:
293
253
  - lib
294
- required_ruby_version: !ruby/object:Gem::Requirement
254
+ required_ruby_version: !ruby/object:Gem::Requirement
295
255
  none: false
296
- requirements:
297
- - - ">="
298
- - !ruby/object:Gem::Version
299
- hash: 3
300
- segments:
256
+ requirements:
257
+ - - ! '>='
258
+ - !ruby/object:Gem::Version
259
+ version: '0'
260
+ segments:
301
261
  - 0
302
- version: "0"
303
- required_rubygems_version: !ruby/object:Gem::Requirement
262
+ hash: 4407793988902722039
263
+ required_rubygems_version: !ruby/object:Gem::Requirement
304
264
  none: false
305
- requirements:
306
- - - ">="
307
- - !ruby/object:Gem::Version
308
- hash: 23
309
- segments:
310
- - 1
311
- - 3
312
- - 6
265
+ requirements:
266
+ - - ! '>='
267
+ - !ruby/object:Gem::Version
313
268
  version: 1.3.6
314
269
  requirements: []
315
-
316
270
  rubyforge_project: mongomodel
317
- rubygems_version: 1.5.2
271
+ rubygems_version: 1.8.10
318
272
  signing_key:
319
273
  specification_version: 3
320
274
  summary: MongoDB ORM for Ruby/Rails
321
275
  test_files: []
322
-
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "bson_ext", "~> 1.3.0"
6
- gem "activemodel", "3.1.0.rc6"
7
- gem "activesupport", "3.1.0.rc6"
8
- gem "appraisal", "~> 0.3.6"
9
-
10
- gemspec :path=>"../"