mongomodel 0.3.4 → 0.3.5

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
@@ -1,9 +1,19 @@
1
1
  appraise "rails-3.0" do
2
- gem "activesupport", "3.0.9"
3
- gem "activemodel", "3.0.9"
2
+ gem "activesupport", "3.0.10"
3
+ gem "activemodel", "3.0.10"
4
4
  end
5
5
 
6
- appraise "rails-3.1" do
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
7
12
  gem "activesupport", :git => "https://github.com/rails/rails.git", :branch => "3-1-stable"
8
13
  gem "activemodel", :git => "https://github.com/rails/rails.git", :branch => "3-1-stable"
9
14
  end
15
+
16
+ appraise "rails-edge" do
17
+ gem "activesupport", :git => "https://github.com/rails/rails.git"
18
+ gem "activemodel", :git => "https://github.com/rails/rails.git"
19
+ end
@@ -4,7 +4,7 @@ source "http://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 0.3.6"
6
6
  gem "bson_ext", "~> 1.3.0"
7
- gem "activesupport", "3.0.9"
8
- gem "activemodel", "3.0.9"
7
+ gem "activesupport", "3.0.10"
8
+ gem "activemodel", "3.0.10"
9
9
 
10
10
  gemspec :path=>"../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
- remote: /Users/sam/Development/MongoDB/mongomodel
2
+ remote: /Users/sam/Work/mongomodel
3
3
  specs:
4
- mongomodel (0.3.3)
4
+ mongomodel (0.3.4)
5
5
  activemodel (~> 3.0)
6
6
  activesupport (~> 3.0)
7
7
  mongo (~> 1.3.0)
@@ -10,11 +10,11 @@ PATH
10
10
  GEM
11
11
  remote: http://rubygems.org/
12
12
  specs:
13
- activemodel (3.0.9)
14
- activesupport (= 3.0.9)
13
+ activemodel (3.0.10)
14
+ activesupport (= 3.0.10)
15
15
  builder (~> 2.1.2)
16
16
  i18n (~> 0.5.0)
17
- activesupport (3.0.9)
17
+ activesupport (3.0.10)
18
18
  appraisal (0.3.6)
19
19
  aruba (~> 0.4.2)
20
20
  bundler
@@ -58,14 +58,14 @@ GEM
58
58
  diff-lcs (~> 1.1.2)
59
59
  rspec-mocks (2.6.0)
60
60
  term-ansicolor (1.0.5)
61
- will_paginate (2.3.15)
61
+ will_paginate (2.3.16)
62
62
 
63
63
  PLATFORMS
64
64
  ruby
65
65
 
66
66
  DEPENDENCIES
67
- activemodel (= 3.0.9)
68
- activesupport (= 3.0.9)
67
+ activemodel (= 3.0.10)
68
+ activesupport (= 3.0.10)
69
69
  appraisal (~> 0.3.6)
70
70
  bson_ext (~> 1.3.0)
71
71
  bundler (>= 1.0.0)
@@ -1,20 +1,20 @@
1
1
  GIT
2
2
  remote: https://github.com/rails/rails.git
3
- revision: 07ea84a03b2a2c753768965a840913b4d4d42cee
3
+ revision: 633a5693a7c304ec242488dc5aa11c8956b3b294
4
4
  branch: 3-1-stable
5
5
  specs:
6
- activemodel (3.1.0.rc4)
7
- activesupport (= 3.1.0.rc4)
6
+ activemodel (3.1.0.rc6)
7
+ activesupport (= 3.1.0.rc6)
8
8
  bcrypt-ruby (~> 2.1.4)
9
9
  builder (~> 3.0.0)
10
10
  i18n (~> 0.6)
11
- activesupport (3.1.0.rc4)
11
+ activesupport (3.1.0.rc6)
12
12
  multi_json (~> 1.0)
13
13
 
14
14
  PATH
15
- remote: /Users/sam/Development/MongoDB/mongomodel
15
+ remote: /Users/sam/Work/mongomodel
16
16
  specs:
17
- mongomodel (0.3.3)
17
+ mongomodel (0.3.4)
18
18
  activemodel (~> 3.0)
19
19
  activesupport (~> 3.0)
20
20
  mongo (~> 1.3.0)
@@ -23,42 +23,19 @@ PATH
23
23
  GEM
24
24
  remote: http://rubygems.org/
25
25
  specs:
26
- appraisal (0.3.6)
27
- aruba (~> 0.4.2)
26
+ appraisal (0.3.8)
28
27
  bundler
29
28
  rake
30
- aruba (0.4.3)
31
- bcat (>= 0.6.1)
32
- childprocess (>= 0.1.9)
33
- cucumber (>= 0.10.7)
34
- rdiscount (>= 1.6.8)
35
- rspec (>= 2.6.0)
36
- bcat (0.6.1)
37
- rack (~> 1.0)
38
29
  bcrypt-ruby (2.1.4)
39
30
  bson (1.3.1)
40
31
  bson_ext (1.3.1)
41
32
  builder (3.0.0)
42
- childprocess (0.1.9)
43
- ffi (~> 1.0.6)
44
- cucumber (1.0.0)
45
- builder (>= 2.1.2)
46
- diff-lcs (>= 1.1.2)
47
- gherkin (~> 2.4.1)
48
- json (>= 1.4.6)
49
- term-ansicolor (>= 1.0.5)
50
33
  diff-lcs (1.1.2)
51
- ffi (1.0.9)
52
- gherkin (2.4.1)
53
- json (>= 1.4.6)
54
34
  i18n (0.6.0)
55
- json (1.5.3)
56
35
  mongo (1.3.1)
57
36
  bson (>= 1.3.1)
58
37
  multi_json (1.0.3)
59
- rack (1.3.0)
60
38
  rake (0.9.2)
61
- rdiscount (1.6.8)
62
39
  rspec (2.6.0)
63
40
  rspec-core (~> 2.6.0)
64
41
  rspec-expectations (~> 2.6.0)
@@ -67,8 +44,7 @@ GEM
67
44
  rspec-expectations (2.6.0)
68
45
  diff-lcs (~> 1.1.2)
69
46
  rspec-mocks (2.6.0)
70
- term-ansicolor (1.0.5)
71
- will_paginate (2.3.15)
47
+ will_paginate (2.3.16)
72
48
 
73
49
  PLATFORMS
74
50
  ruby
@@ -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.3.0"
7
+ gem "activesupport", :git=>"https://github.com/rails/rails.git", :branch=>"3-1-stable"
8
+ gem "activemodel", :git=>"https://github.com/rails/rails.git", :branch=>"3-1-stable"
9
+
10
+ gemspec :path=>"../"
@@ -0,0 +1,59 @@
1
+ GIT
2
+ remote: https://github.com/rails/rails.git
3
+ revision: 633a5693a7c304ec242488dc5aa11c8956b3b294
4
+ branch: 3-1-stable
5
+ specs:
6
+ activemodel (3.1.0.rc6)
7
+ activesupport (= 3.1.0.rc6)
8
+ bcrypt-ruby (~> 2.1.4)
9
+ builder (~> 3.0.0)
10
+ i18n (~> 0.6)
11
+ activesupport (3.1.0.rc6)
12
+ multi_json (~> 1.0)
13
+
14
+ PATH
15
+ remote: /Users/sam/Work/mongomodel
16
+ specs:
17
+ mongomodel (0.3.4)
18
+ activemodel (~> 3.0)
19
+ activesupport (~> 3.0)
20
+ mongo (~> 1.3.0)
21
+ will_paginate (~> 2.3.15)
22
+
23
+ GEM
24
+ remote: http://rubygems.org/
25
+ specs:
26
+ appraisal (0.3.8)
27
+ bundler
28
+ rake
29
+ bcrypt-ruby (2.1.4)
30
+ bson (1.3.1)
31
+ bson_ext (1.3.1)
32
+ builder (3.0.0)
33
+ diff-lcs (1.1.2)
34
+ i18n (0.6.0)
35
+ mongo (1.3.1)
36
+ bson (>= 1.3.1)
37
+ multi_json (1.0.3)
38
+ rake (0.9.2)
39
+ rspec (2.6.0)
40
+ rspec-core (~> 2.6.0)
41
+ rspec-expectations (~> 2.6.0)
42
+ rspec-mocks (~> 2.6.0)
43
+ rspec-core (2.6.4)
44
+ rspec-expectations (2.6.0)
45
+ diff-lcs (~> 1.1.2)
46
+ rspec-mocks (2.6.0)
47
+ will_paginate (2.3.16)
48
+
49
+ PLATFORMS
50
+ ruby
51
+
52
+ DEPENDENCIES
53
+ activemodel!
54
+ activesupport!
55
+ appraisal (~> 0.3.6)
56
+ bson_ext (~> 1.3.0)
57
+ bundler (>= 1.0.0)
58
+ mongomodel!
59
+ 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.3.0"
7
+ gem "activesupport", "3.1.0.rc6"
8
+ gem "activemodel", "3.1.0.rc6"
9
+
10
+ gemspec :path=>"../"
@@ -0,0 +1,53 @@
1
+ PATH
2
+ remote: /Users/sam/Work/mongomodel
3
+ specs:
4
+ mongomodel (0.3.4)
5
+ activemodel (~> 3.0)
6
+ activesupport (~> 3.0)
7
+ mongo (~> 1.3.0)
8
+ will_paginate (~> 2.3.15)
9
+
10
+ GEM
11
+ remote: http://rubygems.org/
12
+ specs:
13
+ activemodel (3.1.0.rc6)
14
+ activesupport (= 3.1.0.rc6)
15
+ bcrypt-ruby (~> 2.1.4)
16
+ builder (~> 3.0.0)
17
+ i18n (~> 0.6)
18
+ activesupport (3.1.0.rc6)
19
+ multi_json (~> 1.0)
20
+ appraisal (0.3.8)
21
+ bundler
22
+ rake
23
+ bcrypt-ruby (2.1.4)
24
+ bson (1.3.1)
25
+ bson_ext (1.3.1)
26
+ builder (3.0.0)
27
+ diff-lcs (1.1.2)
28
+ i18n (0.6.0)
29
+ mongo (1.3.1)
30
+ bson (>= 1.3.1)
31
+ multi_json (1.0.3)
32
+ rake (0.9.2)
33
+ rspec (2.6.0)
34
+ rspec-core (~> 2.6.0)
35
+ rspec-expectations (~> 2.6.0)
36
+ rspec-mocks (~> 2.6.0)
37
+ rspec-core (2.6.4)
38
+ rspec-expectations (2.6.0)
39
+ diff-lcs (~> 1.1.2)
40
+ rspec-mocks (2.6.0)
41
+ will_paginate (2.3.16)
42
+
43
+ PLATFORMS
44
+ ruby
45
+
46
+ DEPENDENCIES
47
+ activemodel (= 3.1.0.rc6)
48
+ activesupport (= 3.1.0.rc6)
49
+ appraisal (~> 0.3.6)
50
+ bson_ext (~> 1.3.0)
51
+ bundler (>= 1.0.0)
52
+ mongomodel!
53
+ 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.3.0"
7
+ gem "activesupport", :git=>"https://github.com/rails/rails.git"
8
+ gem "activemodel", :git=>"https://github.com/rails/rails.git"
9
+
10
+ gemspec :path=>"../"
@@ -0,0 +1,59 @@
1
+ GIT
2
+ remote: https://github.com/rails/rails.git
3
+ revision: 22e611ed5b0a708d17ef2e7574bcdf2edf2db01b
4
+ specs:
5
+ activemodel (3.2.0.beta)
6
+ activesupport (= 3.2.0.beta)
7
+ bcrypt-ruby (~> 2.1.4)
8
+ builder (~> 3.0.0)
9
+ i18n (~> 0.6)
10
+ activesupport (3.2.0.beta)
11
+ i18n (~> 0.6)
12
+ multi_json (~> 1.0)
13
+
14
+ PATH
15
+ remote: /Users/sam/Work/mongomodel
16
+ specs:
17
+ mongomodel (0.3.4)
18
+ activemodel (~> 3.0)
19
+ activesupport (~> 3.0)
20
+ mongo (~> 1.3.0)
21
+ will_paginate (~> 2.3.15)
22
+
23
+ GEM
24
+ remote: http://rubygems.org/
25
+ specs:
26
+ appraisal (0.3.8)
27
+ bundler
28
+ rake
29
+ bcrypt-ruby (2.1.4)
30
+ bson (1.3.1)
31
+ bson_ext (1.3.1)
32
+ builder (3.0.0)
33
+ diff-lcs (1.1.2)
34
+ i18n (0.6.0)
35
+ mongo (1.3.1)
36
+ bson (>= 1.3.1)
37
+ multi_json (1.0.3)
38
+ rake (0.9.2)
39
+ rspec (2.6.0)
40
+ rspec-core (~> 2.6.0)
41
+ rspec-expectations (~> 2.6.0)
42
+ rspec-mocks (~> 2.6.0)
43
+ rspec-core (2.6.4)
44
+ rspec-expectations (2.6.0)
45
+ diff-lcs (~> 1.1.2)
46
+ rspec-mocks (2.6.0)
47
+ will_paginate (2.3.16)
48
+
49
+ PLATFORMS
50
+ ruby
51
+
52
+ DEPENDENCIES
53
+ activemodel!
54
+ activesupport!
55
+ appraisal (~> 0.3.6)
56
+ bson_ext (~> 1.3.0)
57
+ bundler (>= 1.0.0)
58
+ mongomodel!
59
+ rspec (~> 2.6.0)
@@ -19,12 +19,12 @@ module MongoModel
19
19
  proxy.target = obj
20
20
  proxy
21
21
  end
22
-
23
- protected
22
+
24
23
  def ensure_class(value)
25
24
  raise AssociationTypeMismatch, "expected instance of #{klass} but got #{value.class}" unless value.is_a?(klass)
26
25
  end
27
-
26
+
27
+ protected
28
28
  def proxy_class
29
29
  self.class.parent::Proxy rescue Base::Proxy
30
30
  end
@@ -90,6 +90,10 @@ module MongoModel
90
90
  def scoped
91
91
  definition.scope.where(foreign_key => instance.id).on_load { |doc| set_inverse_association(doc) }
92
92
  end
93
+
94
+ def ensure_class(array)
95
+ array.is_a?(Array) ? array.each { |i| super(i) } : super
96
+ end
93
97
 
94
98
  protected
95
99
  def new_documents
@@ -104,10 +108,6 @@ module MongoModel
104
108
  end
105
109
  end
106
110
 
107
- def ensure_class(array)
108
- array.is_a?(Array) ? array.each { |i| super(i) } : super
109
- end
110
-
111
111
  def proxy_class
112
112
  Proxy
113
113
  end
@@ -66,6 +66,10 @@ module MongoModel
66
66
  definition.scope.where(:id.in => ids)
67
67
  end
68
68
 
69
+ def ensure_class(array)
70
+ array.is_a?(Array) ? array.each { |i| super(i) } : super
71
+ end
72
+
69
73
  protected
70
74
  def new_documents
71
75
  @new_documents ||= []
@@ -74,10 +78,6 @@ module MongoModel
74
78
  def new_document_ids
75
79
  new_documents.map { |doc| doc.id }
76
80
  end
77
-
78
- def ensure_class(array)
79
- array.is_a?(Array) ? array.each { |i| super(i) } : super
80
- end
81
81
 
82
82
  def proxy_class
83
83
  Proxy
@@ -3,6 +3,22 @@ module MongoModel
3
3
  module CollectionModifiers
4
4
  extend ActiveSupport::Concern
5
5
 
6
+ METHODS = [ :increase!, :set!, :unset!, :push!, :push_all!, :add_to_set!, :pull!, :pull_all!, :pop!, :shift!, :rename! ]
7
+
8
+ module InstanceMethods
9
+ # Define methods manually rather than use Module#delegate as it raises false deprecation warnings.
10
+ METHODS.each do |modifier|
11
+ define_method(modifier) do |*args|
12
+ instance_scope.send(modifier, *args)
13
+ end
14
+ end
15
+
16
+ private
17
+ def instance_scope
18
+ self.class.where(:id => id)
19
+ end
20
+ end
21
+
6
22
  module ClassMethods
7
23
  # Post.increase!(:hits => 1, :available => -1)
8
24
  def increase!(args)
@@ -69,15 +85,6 @@ module MongoModel
69
85
  collection.update(selector, { modifier => args.stringify_keys! }, :multi => true)
70
86
  end
71
87
  end
72
-
73
- module InstanceMethods
74
- delegate :increase!, :set!, :unset!, :push!, :push_all!, :add_to_set!, :pull!, :pull_all!, :pop!, :shift!, :rename!, :to => :instance_scope
75
-
76
- private
77
- def instance_scope
78
- self.class.where(:id => id)
79
- end
80
- end
81
88
  end
82
89
  end
83
90
  end
@@ -49,6 +49,10 @@ module MongoModel
49
49
  default_scoping << previous_scope.merge(scope)
50
50
  end
51
51
 
52
+ def current_scope
53
+ current_scopes.last || unscoped
54
+ end
55
+
52
56
  def scopes
53
57
  @_scopes ||= {}
54
58
  end
@@ -83,10 +87,6 @@ module MongoModel
83
87
  end
84
88
 
85
89
  private
86
- def current_scope
87
- current_scopes.last || unscoped
88
- end
89
-
90
90
  def current_scopes
91
91
  Thread.current[:"#{self}_scopes"] ||= default_scoping.dup
92
92
  end
@@ -6,6 +6,10 @@ module MongoModel
6
6
  load "mongomodel/tasks/database.rake"
7
7
  end
8
8
 
9
+ console do
10
+ MongoModel.logger = Logger.new(STDERR)
11
+ end
12
+
9
13
  initializer "mongomodel.logger" do
10
14
  MongoModel.logger ||= ::Rails.logger
11
15
  end
@@ -98,9 +98,9 @@ module MongoModel
98
98
  end
99
99
  end
100
100
 
101
- def group(key, condition, initial, reduce, finalize=nil)
102
- instrument("group(#{key.inspect}, #{condition.inspect})") do
103
- collection.group(key, condition, initial, reduce, finalize)
101
+ def group(options, condition={}, initial={}, reduce=nil, finalize=nil)
102
+ instrument("group(#{options.inspect})") do
103
+ collection.group(options, condition, initial, reduce, finalize)
104
104
  end
105
105
  end
106
106
 
@@ -21,6 +21,11 @@ module MongoModel
21
21
  def ==(other)
22
22
  other.is_a?(self.class) && clauses == other.clauses
23
23
  end
24
+ alias eql? ==
25
+
26
+ def hash
27
+ clauses.hash
28
+ end
24
29
 
25
30
  def reverse
26
31
  self.class.new(*clauses.map { |c| c.reverse })
@@ -63,6 +68,11 @@ module MongoModel
63
68
  def ==(other)
64
69
  other.is_a?(self.class) && field == other.field && order == other.order
65
70
  end
71
+ alias eql? ==
72
+
73
+ def hash
74
+ [field, order].hash
75
+ end
66
76
 
67
77
  def self.parse(clause)
68
78
  case clause
@@ -1,3 +1,3 @@
1
1
  module MongoModel
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,94 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mongomodel
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.5
4
5
  prerelease:
5
- version: 0.3.4
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Sam Pohlenz
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-06 00:00:00 +09:30
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2011-08-17 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: activesupport
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2161444420 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
18
+ requirements:
21
19
  - - ~>
22
- - !ruby/object:Gem::Version
23
- version: "3.0"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
24
22
  type: :runtime
25
23
  prerelease: false
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
24
+ version_requirements: *2161444420
25
+ - !ruby/object:Gem::Dependency
28
26
  name: activemodel
29
- requirement: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &2161443960 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
29
+ requirements:
32
30
  - - ~>
33
- - !ruby/object:Gem::Version
34
- version: "3.0"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
35
33
  type: :runtime
36
34
  prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *2161443960
36
+ - !ruby/object:Gem::Dependency
39
37
  name: mongo
40
- requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &2161443500 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
40
+ requirements:
43
41
  - - ~>
44
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
45
43
  version: 1.3.0
46
44
  type: :runtime
47
45
  prerelease: false
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
46
+ version_requirements: *2161443500
47
+ - !ruby/object:Gem::Dependency
50
48
  name: will_paginate
51
- requirement: &id004 !ruby/object:Gem::Requirement
49
+ requirement: &2161443040 !ruby/object:Gem::Requirement
52
50
  none: false
53
- requirements:
51
+ requirements:
54
52
  - - ~>
55
- - !ruby/object:Gem::Version
53
+ - !ruby/object:Gem::Version
56
54
  version: 2.3.15
57
55
  type: :runtime
58
56
  prerelease: false
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
57
+ version_requirements: *2161443040
58
+ - !ruby/object:Gem::Dependency
61
59
  name: bundler
62
- requirement: &id005 !ruby/object:Gem::Requirement
60
+ requirement: &2161442520 !ruby/object:Gem::Requirement
63
61
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
67
65
  version: 1.0.0
68
66
  type: :development
69
67
  prerelease: false
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
68
+ version_requirements: *2161442520
69
+ - !ruby/object:Gem::Dependency
72
70
  name: rspec
73
- requirement: &id006 !ruby/object:Gem::Requirement
71
+ requirement: &2161442060 !ruby/object:Gem::Requirement
74
72
  none: false
75
- requirements:
73
+ requirements:
76
74
  - - ~>
77
- - !ruby/object:Gem::Version
75
+ - !ruby/object:Gem::Version
78
76
  version: 2.6.0
79
77
  type: :development
80
78
  prerelease: false
81
- version_requirements: *id006
82
- description: MongoModel is a MongoDB ORM for Ruby/Rails similar to ActiveRecord and DataMapper.
83
- email:
79
+ version_requirements: *2161442060
80
+ description: MongoModel is a MongoDB ORM for Ruby/Rails similar to ActiveRecord and
81
+ DataMapper.
82
+ email:
84
83
  - sam@sampohlenz.com
85
84
  executables: []
86
-
87
85
  extensions: []
88
-
89
86
  extra_rdoc_files: []
90
-
91
- files:
87
+ files:
92
88
  - .gitignore
93
89
  - Appraisals
94
90
  - Gemfile
@@ -99,8 +95,14 @@ files:
99
95
  - bin/console
100
96
  - gemfiles/rails-3.0.gemfile
101
97
  - gemfiles/rails-3.0.gemfile.lock
102
- - gemfiles/rails-3.1.gemfile
103
- - gemfiles/rails-3.1.gemfile.lock
98
+ - gemfiles/rails-3.1-edge.gemfile
99
+ - gemfiles/rails-3.1-edge.gemfile.lock
100
+ - gemfiles/rails-3.1-latest.gemfile
101
+ - gemfiles/rails-3.1-latest.gemfile.lock
102
+ - gemfiles/rails-3.1-rc6.gemfile
103
+ - gemfiles/rails-3.1-rc6.gemfile.lock
104
+ - gemfiles/rails-edge.gemfile
105
+ - gemfiles/rails-edge.gemfile.lock
104
106
  - lib/mongomodel.rb
105
107
  - lib/mongomodel/attributes/mongo.rb
106
108
  - lib/mongomodel/attributes/store.rb
@@ -243,36 +245,31 @@ files:
243
245
  - spec/support/matchers/respond_to_boolean.rb
244
246
  - spec/support/matchers/run_callbacks.rb
245
247
  - spec/support/models.rb
246
- has_rdoc: true
247
248
  homepage: http://www.mongomodel.org
248
249
  licenses: []
249
-
250
250
  post_install_message:
251
251
  rdoc_options: []
252
-
253
- require_paths:
252
+ require_paths:
254
253
  - lib
255
- required_ruby_version: !ruby/object:Gem::Requirement
254
+ required_ruby_version: !ruby/object:Gem::Requirement
256
255
  none: false
257
- requirements:
258
- - - ">="
259
- - !ruby/object:Gem::Version
260
- hash: -3936197743219655173
261
- segments:
256
+ requirements:
257
+ - - ! '>='
258
+ - !ruby/object:Gem::Version
259
+ version: '0'
260
+ segments:
262
261
  - 0
263
- version: "0"
264
- required_rubygems_version: !ruby/object:Gem::Requirement
262
+ hash: 3331252429033650364
263
+ required_rubygems_version: !ruby/object:Gem::Requirement
265
264
  none: false
266
- requirements:
267
- - - ">="
268
- - !ruby/object:Gem::Version
265
+ requirements:
266
+ - - ! '>='
267
+ - !ruby/object:Gem::Version
269
268
  version: 1.3.6
270
269
  requirements: []
271
-
272
270
  rubyforge_project: mongomodel
273
- rubygems_version: 1.5.2
271
+ rubygems_version: 1.8.7
274
272
  signing_key:
275
273
  specification_version: 3
276
274
  summary: MongoDB ORM for Ruby/Rails
277
275
  test_files: []
278
-