sskirby-mongoid 1.9.1

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.
Files changed (104) hide show
  1. data/MIT_LICENSE +20 -0
  2. data/README.rdoc +49 -0
  3. data/lib/mongoid.rb +130 -0
  4. data/lib/mongoid/associations.rb +300 -0
  5. data/lib/mongoid/associations/belongs_to_related.rb +58 -0
  6. data/lib/mongoid/associations/embedded_in.rb +72 -0
  7. data/lib/mongoid/associations/embeds_many.rb +254 -0
  8. data/lib/mongoid/associations/embeds_one.rb +96 -0
  9. data/lib/mongoid/associations/has_many_related.rb +181 -0
  10. data/lib/mongoid/associations/has_one_related.rb +85 -0
  11. data/lib/mongoid/associations/meta_data.rb +29 -0
  12. data/lib/mongoid/associations/options.rb +57 -0
  13. data/lib/mongoid/associations/proxy.rb +24 -0
  14. data/lib/mongoid/attributes.rb +204 -0
  15. data/lib/mongoid/callbacks.rb +23 -0
  16. data/lib/mongoid/collection.rb +120 -0
  17. data/lib/mongoid/collections.rb +41 -0
  18. data/lib/mongoid/collections/cyclic_iterator.rb +34 -0
  19. data/lib/mongoid/collections/master.rb +29 -0
  20. data/lib/mongoid/collections/operations.rb +41 -0
  21. data/lib/mongoid/collections/slaves.rb +45 -0
  22. data/lib/mongoid/components.rb +27 -0
  23. data/lib/mongoid/concern.rb +31 -0
  24. data/lib/mongoid/config.rb +191 -0
  25. data/lib/mongoid/contexts.rb +25 -0
  26. data/lib/mongoid/contexts/enumerable.rb +151 -0
  27. data/lib/mongoid/contexts/ids.rb +25 -0
  28. data/lib/mongoid/contexts/mongo.rb +285 -0
  29. data/lib/mongoid/contexts/paging.rb +50 -0
  30. data/lib/mongoid/criteria.rb +239 -0
  31. data/lib/mongoid/criterion/complex.rb +21 -0
  32. data/lib/mongoid/criterion/exclusion.rb +65 -0
  33. data/lib/mongoid/criterion/inclusion.rb +110 -0
  34. data/lib/mongoid/criterion/optional.rb +136 -0
  35. data/lib/mongoid/cursor.rb +81 -0
  36. data/lib/mongoid/deprecation.rb +22 -0
  37. data/lib/mongoid/dirty.rb +253 -0
  38. data/lib/mongoid/document.rb +311 -0
  39. data/lib/mongoid/errors.rb +108 -0
  40. data/lib/mongoid/extensions.rb +101 -0
  41. data/lib/mongoid/extensions/array/accessors.rb +17 -0
  42. data/lib/mongoid/extensions/array/aliasing.rb +4 -0
  43. data/lib/mongoid/extensions/array/assimilation.rb +26 -0
  44. data/lib/mongoid/extensions/array/conversions.rb +29 -0
  45. data/lib/mongoid/extensions/array/parentization.rb +13 -0
  46. data/lib/mongoid/extensions/big_decimal/conversions.rb +19 -0
  47. data/lib/mongoid/extensions/binary/conversions.rb +17 -0
  48. data/lib/mongoid/extensions/boolean/conversions.rb +22 -0
  49. data/lib/mongoid/extensions/date/conversions.rb +24 -0
  50. data/lib/mongoid/extensions/datetime/conversions.rb +12 -0
  51. data/lib/mongoid/extensions/float/conversions.rb +20 -0
  52. data/lib/mongoid/extensions/hash/accessors.rb +38 -0
  53. data/lib/mongoid/extensions/hash/assimilation.rb +39 -0
  54. data/lib/mongoid/extensions/hash/conversions.rb +45 -0
  55. data/lib/mongoid/extensions/hash/criteria_helpers.rb +20 -0
  56. data/lib/mongoid/extensions/hash/scoping.rb +12 -0
  57. data/lib/mongoid/extensions/integer/conversions.rb +20 -0
  58. data/lib/mongoid/extensions/nil/assimilation.rb +17 -0
  59. data/lib/mongoid/extensions/object/conversions.rb +33 -0
  60. data/lib/mongoid/extensions/objectid/conversions.rb +15 -0
  61. data/lib/mongoid/extensions/proc/scoping.rb +12 -0
  62. data/lib/mongoid/extensions/string/conversions.rb +15 -0
  63. data/lib/mongoid/extensions/string/inflections.rb +97 -0
  64. data/lib/mongoid/extensions/symbol/inflections.rb +36 -0
  65. data/lib/mongoid/extensions/time_conversions.rb +35 -0
  66. data/lib/mongoid/extras.rb +61 -0
  67. data/lib/mongoid/factory.rb +20 -0
  68. data/lib/mongoid/field.rb +59 -0
  69. data/lib/mongoid/fields.rb +65 -0
  70. data/lib/mongoid/finders.rb +136 -0
  71. data/lib/mongoid/identity.rb +39 -0
  72. data/lib/mongoid/indexes.rb +30 -0
  73. data/lib/mongoid/javascript.rb +21 -0
  74. data/lib/mongoid/javascript/functions.yml +37 -0
  75. data/lib/mongoid/matchers.rb +36 -0
  76. data/lib/mongoid/matchers/all.rb +11 -0
  77. data/lib/mongoid/matchers/default.rb +26 -0
  78. data/lib/mongoid/matchers/exists.rb +13 -0
  79. data/lib/mongoid/matchers/gt.rb +11 -0
  80. data/lib/mongoid/matchers/gte.rb +11 -0
  81. data/lib/mongoid/matchers/in.rb +11 -0
  82. data/lib/mongoid/matchers/lt.rb +11 -0
  83. data/lib/mongoid/matchers/lte.rb +11 -0
  84. data/lib/mongoid/matchers/ne.rb +11 -0
  85. data/lib/mongoid/matchers/nin.rb +11 -0
  86. data/lib/mongoid/matchers/size.rb +11 -0
  87. data/lib/mongoid/memoization.rb +33 -0
  88. data/lib/mongoid/named_scope.rb +37 -0
  89. data/lib/mongoid/observable.rb +30 -0
  90. data/lib/mongoid/paths.rb +62 -0
  91. data/lib/mongoid/persistence.rb +222 -0
  92. data/lib/mongoid/persistence/command.rb +39 -0
  93. data/lib/mongoid/persistence/insert.rb +50 -0
  94. data/lib/mongoid/persistence/insert_embedded.rb +38 -0
  95. data/lib/mongoid/persistence/remove.rb +39 -0
  96. data/lib/mongoid/persistence/remove_all.rb +37 -0
  97. data/lib/mongoid/persistence/remove_embedded.rb +50 -0
  98. data/lib/mongoid/persistence/update.rb +63 -0
  99. data/lib/mongoid/scope.rb +75 -0
  100. data/lib/mongoid/state.rb +39 -0
  101. data/lib/mongoid/timestamps.rb +27 -0
  102. data/lib/mongoid/version.rb +4 -0
  103. data/lib/mongoid/versioning.rb +27 -0
  104. metadata +263 -0
@@ -0,0 +1,63 @@
1
+ # encoding: utf-8
2
+ module Mongoid #:nodoc:
3
+ module Persistence #:nodoc:
4
+ # Update is a persistence command responsible for taking a document that
5
+ # has already been saved to the database and saving it, depending on
6
+ # whether or not the document has been modified.
7
+ #
8
+ # Before persisting the command will check via dirty attributes if the
9
+ # document has changed, if not, it will simply return true. If it has it
10
+ # will go through the validation steps, run callbacks, and set the changed
11
+ # fields atomically on the document. The underlying query resembles the
12
+ # following MongoDB query:
13
+ #
14
+ # collection.update(
15
+ # { "_id" : 1,
16
+ # { "$set" : { "field" : "value" },
17
+ # false,
18
+ # false
19
+ # );
20
+ #
21
+ # For embedded documents it will use the positional locator:
22
+ #
23
+ # collection.update(
24
+ # { "_id" : 1, "addresses._id" : 2 },
25
+ # { "$set" : { "addresses.$.field" : "value" },
26
+ # false,
27
+ # false
28
+ # );
29
+ #
30
+ class Update < Command
31
+ # Persist the document that is to be updated to the database. This will
32
+ # only write changed fields via MongoDB's $set modifier operation.
33
+ #
34
+ # Example:
35
+ #
36
+ # <tt>Update.persist</tt>
37
+ #
38
+ # Returns:
39
+ #
40
+ # +true+ or +false+, depending on validation.
41
+ def persist
42
+ return false if validate && !@document.valid?
43
+ @document.run_callbacks(:before_save)
44
+ @document.run_callbacks(:before_update)
45
+ if update
46
+ @document.move_changes
47
+ @document.run_callbacks(:after_save)
48
+ @document.run_callbacks(:after_update)
49
+ else
50
+ return false
51
+ end; true
52
+ end
53
+
54
+ protected
55
+ # Update the document in the database atomically.
56
+ def update
57
+ if @document.changed?
58
+ @collection.update(@document._selector, { "$set" => @document.setters }, @options.merge(:multi => false))
59
+ end; true
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,75 @@
1
+ # encoding: utf-8
2
+ module Mongoid #:nodoc:
3
+ class Scope #:nodoc:
4
+
5
+ delegate :scopes, :to => :parent
6
+
7
+ attr_reader :parent, :conditions
8
+
9
+ # If the other is a scope then compare the parent and conditions, otherwise
10
+ # if its enumerable collect and compare.
11
+ def ==(other)
12
+ case other
13
+ when Scope
14
+ @parent == other.parent && @conditions == other.conditions
15
+ when Enumerable
16
+ @collection ||= entries
17
+ return (@collection == other)
18
+ else
19
+ return false
20
+ end
21
+ end
22
+
23
+ # Create the new +Scope+. If a block is passed in, this Scope will extend
24
+ # the block.
25
+ #
26
+ # Options:
27
+ #
28
+ # parent: The class the scope belongs to, or a parent +Scope+.
29
+ # conditions: A +Hash+ of conditions.
30
+ #
31
+ # Example:
32
+ #
33
+ # Mongoid::Scope.new(Person, { :title => "Sir" }) do
34
+ # def knighted?
35
+ # title == "Sir"
36
+ # end
37
+ # end
38
+ def initialize(parent, conditions, &block)
39
+ @parent, @conditions = parent, conditions
40
+ extend Module.new(&block) if block_given?
41
+ end
42
+
43
+ # Return the class for the +Scope+. This will be the parent if the parent
44
+ # is a class, otherwise will be nil.
45
+ def klass
46
+ @klass ||= @parent unless @parent.is_a?(Scope)
47
+ end
48
+
49
+ # Chaining is supported through method_missing. If a scope is already
50
+ # defined with the method name the call will be passed there, otherwise it
51
+ # will be passed to the target or parent.
52
+ def method_missing(name, *args, &block)
53
+ if scopes.include?(name)
54
+ scopes[name].call(self, *args)
55
+ elsif klass
56
+ target.send(name, *args, &block)
57
+ else
58
+ @parent.fuse(@conditions); @parent.send(name, *args, &block)
59
+ end
60
+ end
61
+
62
+ # The +Scope+ must respond like a +Criteria+ object. If this is a parent
63
+ # criteria delegate to the target, otherwise bubble up to the parent.
64
+ def respond_to?(name)
65
+ super || (klass ? target.respond_to?(name) : @parent.respond_to?(name))
66
+ end
67
+
68
+ # Returns the target criteria if it has already been set or creates a new
69
+ # criteria from the parent class.
70
+ def target
71
+ @target ||= klass.criteria.fuse(@conditions)
72
+ end
73
+ end
74
+ end
75
+
@@ -0,0 +1,39 @@
1
+ # encoding: utf-8
2
+ module Mongoid #:nodoc:
3
+ module State #:nodoc:
4
+ extend ActiveSupport::Concern
5
+ included do
6
+ attr_reader :new_record
7
+ end
8
+
9
+ module InstanceMethods
10
+ # Returns true if the +Document+ has not been persisted to the database,
11
+ # false if it has. This is determined by the variable @new_record
12
+ # and NOT if the object has an id.
13
+ def new_record?
14
+ !!@new_record
15
+ end
16
+
17
+ # Sets the new_record boolean - used after document is saved.
18
+ def new_record=(saved)
19
+ @new_record = saved
20
+ end
21
+
22
+ # Checks if the document has been saved to the database.
23
+ def persisted?
24
+ !new_record?
25
+ end
26
+
27
+ # Returns true if the +Document+ has been succesfully destroyed, and false if it hasn't.
28
+ # This is determined by the variable @destroyed and NOT by checking the database.
29
+ def destroyed?
30
+ @destroyed == true
31
+ end
32
+
33
+ # Sets the destroyed boolean - used after document is destroyed.
34
+ def destroyed=(destroyed)
35
+ @destroyed = destroyed && true
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,27 @@
1
+ # encoding: utf-8
2
+ module Mongoid
3
+ module Timestamps
4
+ extend ActiveSupport::Concern
5
+ included do
6
+ field :created_at, :type => Time
7
+ field :updated_at, :type => Time
8
+ before_save :set_created_at, :set_updated_at
9
+ end
10
+
11
+ module InstanceMethods
12
+
13
+ # Update the created_at field on the Document to the current time. This is
14
+ # only called on create.
15
+ def set_created_at
16
+ self.created_at = Time.now.utc if !created_at
17
+ end
18
+
19
+ # Update the updated_at field on the Document to the current time.
20
+ # This is only called on create and on save.
21
+ def set_updated_at
22
+ self.updated_at = Time.now.utc
23
+ end
24
+ end
25
+
26
+ end
27
+ end
@@ -0,0 +1,4 @@
1
+ # encoding: utf-8
2
+ module Mongoid #:nodoc
3
+ VERSION = "1.9.1"
4
+ end
@@ -0,0 +1,27 @@
1
+ # encoding: utf-8
2
+ module Mongoid #:nodoc:
3
+ # Include this module to get automatic versioning of root level documents.
4
+ # This will add a version field to the +Document+ and a has_many association
5
+ # with all the versions contained in it.
6
+ module Versioning
7
+ extend ActiveSupport::Concern
8
+ included do
9
+ field :version, :type => Integer, :default => 1
10
+ embeds_many :versions, :class_name => self.name
11
+ before_save :revise
12
+ end
13
+ module InstanceMethods
14
+ # Create a new version of the +Document+. This will load the previous
15
+ # document from the database and set it as the next version before saving
16
+ # the current document. It then increments the version number.
17
+ def revise
18
+ last_version = self.class.first(:conditions => { :_id => id, :version => version })
19
+ if last_version
20
+ self.versions << last_version.clone
21
+ self.version = version + 1
22
+ @modifications["versions"] = [ nil, @attributes["versions"] ] if @modifications
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
metadata ADDED
@@ -0,0 +1,263 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sskirby-mongoid
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 9
8
+ - 1
9
+ version: 1.9.1
10
+ platform: ruby
11
+ authors:
12
+ - Durran Jordan
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-09-15 00:00:00 -04:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: activesupport
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - <=
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 3
29
+ - 0
30
+ - 0
31
+ version: 3.0.0
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: durran-validatable
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 2
43
+ - 0
44
+ - 1
45
+ version: 2.0.1
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: will_paginate
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - <
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 2
57
+ - 9
58
+ version: "2.9"
59
+ type: :runtime
60
+ version_requirements: *id003
61
+ - !ruby/object:Gem::Dependency
62
+ name: mongo
63
+ prerelease: false
64
+ requirement: &id004 !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ segments:
69
+ - 1
70
+ - 0
71
+ - 1
72
+ version: 1.0.1
73
+ type: :runtime
74
+ version_requirements: *id004
75
+ - !ruby/object:Gem::Dependency
76
+ name: bson
77
+ prerelease: false
78
+ requirement: &id005 !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ segments:
83
+ - 1
84
+ - 0
85
+ - 1
86
+ version: 1.0.1
87
+ type: :runtime
88
+ version_requirements: *id005
89
+ - !ruby/object:Gem::Dependency
90
+ name: rspec
91
+ prerelease: false
92
+ requirement: &id006 !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "="
95
+ - !ruby/object:Gem::Version
96
+ segments:
97
+ - 1
98
+ - 3
99
+ - 0
100
+ version: 1.3.0
101
+ type: :development
102
+ version_requirements: *id006
103
+ - !ruby/object:Gem::Dependency
104
+ name: mocha
105
+ prerelease: false
106
+ requirement: &id007 !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "="
109
+ - !ruby/object:Gem::Version
110
+ segments:
111
+ - 0
112
+ - 9
113
+ - 8
114
+ version: 0.9.8
115
+ type: :development
116
+ version_requirements: *id007
117
+ description: Mongoid is an ODM (Object Document Mapper) Framework for MongoDB, written in Ruby.
118
+ email:
119
+ - durran@gmail.com
120
+ executables: []
121
+
122
+ extensions: []
123
+
124
+ extra_rdoc_files: []
125
+
126
+ files:
127
+ - lib/mongoid/field.rb
128
+ - lib/mongoid/collections/cyclic_iterator.rb
129
+ - lib/mongoid/collections/master.rb
130
+ - lib/mongoid/collections/operations.rb
131
+ - lib/mongoid/collections/slaves.rb
132
+ - lib/mongoid/associations.rb
133
+ - lib/mongoid/persistence/remove_all.rb
134
+ - lib/mongoid/persistence/command.rb
135
+ - lib/mongoid/persistence/insert_embedded.rb
136
+ - lib/mongoid/persistence/remove.rb
137
+ - lib/mongoid/persistence/remove_embedded.rb
138
+ - lib/mongoid/persistence/insert.rb
139
+ - lib/mongoid/persistence/update.rb
140
+ - lib/mongoid/attributes.rb
141
+ - lib/mongoid/document.rb
142
+ - lib/mongoid/finders.rb
143
+ - lib/mongoid/contexts/mongo.rb
144
+ - lib/mongoid/contexts/enumerable.rb
145
+ - lib/mongoid/contexts/ids.rb
146
+ - lib/mongoid/contexts/paging.rb
147
+ - lib/mongoid/callbacks.rb
148
+ - lib/mongoid/extensions/object/conversions.rb
149
+ - lib/mongoid/extensions/boolean/conversions.rb
150
+ - lib/mongoid/extensions/time_conversions.rb
151
+ - lib/mongoid/extensions/integer/conversions.rb
152
+ - lib/mongoid/extensions/datetime/conversions.rb
153
+ - lib/mongoid/extensions/big_decimal/conversions.rb
154
+ - lib/mongoid/extensions/proc/scoping.rb
155
+ - lib/mongoid/extensions/array/aliasing.rb
156
+ - lib/mongoid/extensions/array/accessors.rb
157
+ - lib/mongoid/extensions/array/parentization.rb
158
+ - lib/mongoid/extensions/array/conversions.rb
159
+ - lib/mongoid/extensions/array/assimilation.rb
160
+ - lib/mongoid/extensions/objectid/conversions.rb
161
+ - lib/mongoid/extensions/date/conversions.rb
162
+ - lib/mongoid/extensions/hash/criteria_helpers.rb
163
+ - lib/mongoid/extensions/hash/accessors.rb
164
+ - lib/mongoid/extensions/hash/conversions.rb
165
+ - lib/mongoid/extensions/hash/scoping.rb
166
+ - lib/mongoid/extensions/hash/assimilation.rb
167
+ - lib/mongoid/extensions/string/inflections.rb
168
+ - lib/mongoid/extensions/string/conversions.rb
169
+ - lib/mongoid/extensions/binary/conversions.rb
170
+ - lib/mongoid/extensions/nil/assimilation.rb
171
+ - lib/mongoid/extensions/float/conversions.rb
172
+ - lib/mongoid/extensions/symbol/inflections.rb
173
+ - lib/mongoid/versioning.rb
174
+ - lib/mongoid/persistence.rb
175
+ - lib/mongoid/paths.rb
176
+ - lib/mongoid/matchers/size.rb
177
+ - lib/mongoid/matchers/lte.rb
178
+ - lib/mongoid/matchers/exists.rb
179
+ - lib/mongoid/matchers/nin.rb
180
+ - lib/mongoid/matchers/default.rb
181
+ - lib/mongoid/matchers/gte.rb
182
+ - lib/mongoid/matchers/gt.rb
183
+ - lib/mongoid/matchers/in.rb
184
+ - lib/mongoid/matchers/lt.rb
185
+ - lib/mongoid/matchers/ne.rb
186
+ - lib/mongoid/matchers/all.rb
187
+ - lib/mongoid/memoization.rb
188
+ - lib/mongoid/cursor.rb
189
+ - lib/mongoid/state.rb
190
+ - lib/mongoid/version.rb
191
+ - lib/mongoid/indexes.rb
192
+ - lib/mongoid/collections.rb
193
+ - lib/mongoid/errors.rb
194
+ - lib/mongoid/criteria.rb
195
+ - lib/mongoid/dirty.rb
196
+ - lib/mongoid/observable.rb
197
+ - lib/mongoid/named_scope.rb
198
+ - lib/mongoid/concern.rb
199
+ - lib/mongoid/identity.rb
200
+ - lib/mongoid/extras.rb
201
+ - lib/mongoid/extensions.rb
202
+ - lib/mongoid/criterion/inclusion.rb
203
+ - lib/mongoid/criterion/optional.rb
204
+ - lib/mongoid/criterion/exclusion.rb
205
+ - lib/mongoid/criterion/complex.rb
206
+ - lib/mongoid/components.rb
207
+ - lib/mongoid/config.rb
208
+ - lib/mongoid/timestamps.rb
209
+ - lib/mongoid/associations/proxy.rb
210
+ - lib/mongoid/associations/has_many_related.rb
211
+ - lib/mongoid/associations/options.rb
212
+ - lib/mongoid/associations/embeds_one.rb
213
+ - lib/mongoid/associations/embedded_in.rb
214
+ - lib/mongoid/associations/embeds_many.rb
215
+ - lib/mongoid/associations/belongs_to_related.rb
216
+ - lib/mongoid/associations/meta_data.rb
217
+ - lib/mongoid/associations/has_one_related.rb
218
+ - lib/mongoid/matchers.rb
219
+ - lib/mongoid/factory.rb
220
+ - lib/mongoid/deprecation.rb
221
+ - lib/mongoid/javascript/functions.yml
222
+ - lib/mongoid/fields.rb
223
+ - lib/mongoid/scope.rb
224
+ - lib/mongoid/collection.rb
225
+ - lib/mongoid/javascript.rb
226
+ - lib/mongoid/contexts.rb
227
+ - lib/mongoid.rb
228
+ - MIT_LICENSE
229
+ - README.rdoc
230
+ has_rdoc: true
231
+ homepage: http://mongoid.org
232
+ licenses: []
233
+
234
+ post_install_message:
235
+ rdoc_options: []
236
+
237
+ require_paths:
238
+ - lib
239
+ required_ruby_version: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ segments:
244
+ - 0
245
+ version: "0"
246
+ required_rubygems_version: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ segments:
251
+ - 1
252
+ - 3
253
+ - 6
254
+ version: 1.3.6
255
+ requirements: []
256
+
257
+ rubyforge_project: mongoid
258
+ rubygems_version: 1.3.6
259
+ signing_key:
260
+ specification_version: 3
261
+ summary: Elegent Persistance in Ruby for MongoDB.
262
+ test_files: []
263
+