mongomodel 0.3.6 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Appraisals +3 -8
- data/Gemfile +1 -1
- data/gemfiles/rails-3.0.gemfile +3 -3
- data/gemfiles/rails-3.0.gemfile.lock +8 -8
- data/gemfiles/rails-3.1.gemfile +10 -0
- data/gemfiles/{rails-3.1-rc6.gemfile.lock → rails-3.1.gemfile.lock} +16 -16
- data/gemfiles/rails-edge.gemfile +3 -3
- data/gemfiles/rails-edge.gemfile.lock +8 -8
- data/lib/mongomodel/support/configuration.rb +5 -5
- data/lib/mongomodel/version.rb +1 -1
- data/mongomodel.gemspec +1 -1
- metadata +65 -112
- data/gemfiles/rails-3.1-rc6.gemfile +0 -10
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
|
7
|
-
gem "activesupport", "3.1.0
|
8
|
-
gem "activemodel", "3.1.0
|
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
data/gemfiles/rails-3.0.gemfile
CHANGED
@@ -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/
|
2
|
+
remote: /Users/sam/Scratch/mongomodel
|
3
3
|
specs:
|
4
|
-
mongomodel (0.
|
4
|
+
mongomodel (0.4.0)
|
5
5
|
activemodel (~> 3.0)
|
6
6
|
activesupport (~> 3.0)
|
7
|
-
mongo (~> 1.
|
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.
|
31
|
-
bson_ext (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.
|
48
|
-
bson (
|
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.
|
70
|
+
bson_ext (~> 1.4)
|
71
71
|
bundler (>= 1.0.0)
|
72
72
|
mongomodel!
|
73
73
|
rspec (~> 2.6.0)
|
@@ -1,33 +1,33 @@
|
|
1
1
|
PATH
|
2
|
-
remote: /Users/sam/
|
2
|
+
remote: /Users/sam/Scratch/mongomodel
|
3
3
|
specs:
|
4
|
-
mongomodel (0.
|
4
|
+
mongomodel (0.4.0)
|
5
5
|
activemodel (~> 3.0)
|
6
6
|
activesupport (~> 3.0)
|
7
|
-
mongo (~> 1.
|
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
|
14
|
-
activesupport (= 3.1.0
|
15
|
-
bcrypt-ruby (~>
|
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
|
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 (
|
24
|
-
bson (1.
|
25
|
-
bson_ext (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.
|
27
|
+
diff-lcs (1.1.3)
|
28
28
|
i18n (0.6.0)
|
29
|
-
mongo (1.
|
30
|
-
bson (
|
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
|
48
|
-
activesupport (= 3.1.0
|
47
|
+
activemodel (= 3.1.0)
|
48
|
+
activesupport (= 3.1.0)
|
49
49
|
appraisal (~> 0.3.6)
|
50
|
-
bson_ext (~> 1.
|
50
|
+
bson_ext (~> 1.4)
|
51
51
|
bundler (>= 1.0.0)
|
52
52
|
mongomodel!
|
53
53
|
rspec (~> 2.6.0)
|
data/gemfiles/rails-edge.gemfile
CHANGED
@@ -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/
|
15
|
+
remote: /Users/sam/Scratch/mongomodel
|
16
16
|
specs:
|
17
|
-
mongomodel (0.
|
17
|
+
mongomodel (0.4.0)
|
18
18
|
activemodel (~> 3.0)
|
19
19
|
activesupport (~> 3.0)
|
20
|
-
mongo (~> 1.
|
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.
|
31
|
-
bson_ext (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.
|
36
|
-
bson (
|
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.
|
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'
|
57
|
-
'port'
|
58
|
-
'database'
|
59
|
-
'pool_size'
|
60
|
-
'
|
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
|
data/lib/mongomodel/version.rb
CHANGED
data/mongomodel.gemspec
CHANGED
@@ -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.
|
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
|
-
|
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
|
-
|
19
|
-
|
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
|
-
|
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
|
-
|
30
|
-
|
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
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *2154652940
|
25
|
+
- !ruby/object:Gem::Dependency
|
37
26
|
name: activemodel
|
38
|
-
|
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
|
-
|
45
|
-
|
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
|
-
|
51
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *2154652440
|
36
|
+
- !ruby/object:Gem::Dependency
|
52
37
|
name: mongo
|
53
|
-
|
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
|
-
|
60
|
-
|
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
|
-
|
67
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version_requirements: *2154641960
|
47
|
+
- !ruby/object:Gem::Dependency
|
68
48
|
name: will_paginate
|
69
|
-
|
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
|
-
|
83
|
-
- !ruby/object:Gem::Dependency
|
57
|
+
version_requirements: *2154641460
|
58
|
+
- !ruby/object:Gem::Dependency
|
84
59
|
name: bundler
|
85
|
-
|
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
|
-
|
99
|
-
- !ruby/object:Gem::Dependency
|
68
|
+
version_requirements: *2154640860
|
69
|
+
- !ruby/object:Gem::Dependency
|
100
70
|
name: rspec
|
101
|
-
|
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
|
-
|
115
|
-
description: MongoModel is a MongoDB ORM for Ruby/Rails similar to ActiveRecord and
|
116
|
-
|
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
|
140
|
-
- gemfiles/rails-3.1
|
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
|
-
|
300
|
-
segments:
|
256
|
+
requirements:
|
257
|
+
- - ! '>='
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
version: '0'
|
260
|
+
segments:
|
301
261
|
- 0
|
302
|
-
|
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.
|
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
|
-
|