mongo_mapper 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. data/lib/mongo_mapper.rb +3 -5
  2. data/lib/mongo_mapper/document.rb +23 -53
  3. data/lib/mongo_mapper/plugins/associations.rb +1 -1
  4. data/lib/mongo_mapper/plugins/associations/base.rb +4 -4
  5. data/lib/mongo_mapper/plugins/associations/belongs_to_polymorphic_proxy.rb +1 -1
  6. data/lib/mongo_mapper/plugins/associations/belongs_to_proxy.rb +1 -1
  7. data/lib/mongo_mapper/plugins/associations/many_documents_proxy.rb +1 -1
  8. data/lib/mongo_mapper/plugins/associations/one_proxy.rb +1 -1
  9. data/lib/mongo_mapper/plugins/equality.rb +3 -3
  10. data/lib/mongo_mapper/plugins/identity_map.rb +8 -7
  11. data/lib/mongo_mapper/plugins/keys.rb +49 -73
  12. data/lib/mongo_mapper/plugins/keys/key.rb +44 -0
  13. data/lib/mongo_mapper/plugins/modifiers.rb +9 -5
  14. data/lib/mongo_mapper/plugins/pagination/proxy.rb +3 -3
  15. data/lib/mongo_mapper/plugins/serialization.rb +3 -3
  16. data/lib/mongo_mapper/plugins/timestamps.rb +1 -1
  17. data/lib/mongo_mapper/plugins/validations.rb +2 -2
  18. data/lib/mongo_mapper/query.rb +9 -129
  19. data/lib/mongo_mapper/support.rb +17 -39
  20. data/lib/mongo_mapper/version.rb +1 -1
  21. metadata +54 -140
  22. data/.gitignore +0 -10
  23. data/Rakefile +0 -37
  24. data/mongo_mapper.gemspec +0 -214
  25. data/performance/read_write.rb +0 -52
  26. data/specs.watchr +0 -51
  27. data/test/NOTE_ON_TESTING +0 -1
  28. data/test/active_model_lint_test.rb +0 -13
  29. data/test/functional/associations/test_belongs_to_polymorphic_proxy.rb +0 -63
  30. data/test/functional/associations/test_belongs_to_proxy.rb +0 -101
  31. data/test/functional/associations/test_in_array_proxy.rb +0 -325
  32. data/test/functional/associations/test_many_documents_as_proxy.rb +0 -229
  33. data/test/functional/associations/test_many_documents_proxy.rb +0 -536
  34. data/test/functional/associations/test_many_embedded_polymorphic_proxy.rb +0 -176
  35. data/test/functional/associations/test_many_embedded_proxy.rb +0 -256
  36. data/test/functional/associations/test_many_polymorphic_proxy.rb +0 -302
  37. data/test/functional/associations/test_one_embedded_proxy.rb +0 -68
  38. data/test/functional/associations/test_one_proxy.rb +0 -196
  39. data/test/functional/test_associations.rb +0 -44
  40. data/test/functional/test_binary.rb +0 -27
  41. data/test/functional/test_callbacks.rb +0 -151
  42. data/test/functional/test_dirty.rb +0 -163
  43. data/test/functional/test_document.rb +0 -1219
  44. data/test/functional/test_embedded_document.rb +0 -210
  45. data/test/functional/test_identity_map.rb +0 -507
  46. data/test/functional/test_indexing.rb +0 -44
  47. data/test/functional/test_logger.rb +0 -20
  48. data/test/functional/test_modifiers.rb +0 -394
  49. data/test/functional/test_pagination.rb +0 -93
  50. data/test/functional/test_protected.rb +0 -163
  51. data/test/functional/test_string_id_compatibility.rb +0 -67
  52. data/test/functional/test_timestamps.rb +0 -64
  53. data/test/functional/test_userstamps.rb +0 -28
  54. data/test/functional/test_validations.rb +0 -342
  55. data/test/models.rb +0 -227
  56. data/test/support/custom_matchers.rb +0 -37
  57. data/test/support/timing.rb +0 -16
  58. data/test/test_helper.rb +0 -64
  59. data/test/unit/associations/test_base.rb +0 -212
  60. data/test/unit/associations/test_proxy.rb +0 -105
  61. data/test/unit/serializers/test_json_serializer.rb +0 -202
  62. data/test/unit/test_descendant_appends.rb +0 -71
  63. data/test/unit/test_document.rb +0 -225
  64. data/test/unit/test_dynamic_finder.rb +0 -123
  65. data/test/unit/test_embedded_document.rb +0 -657
  66. data/test/unit/test_keys.rb +0 -185
  67. data/test/unit/test_mongo_mapper.rb +0 -118
  68. data/test/unit/test_pagination.rb +0 -160
  69. data/test/unit/test_plugins.rb +0 -50
  70. data/test/unit/test_query.rb +0 -374
  71. data/test/unit/test_rails.rb +0 -181
  72. data/test/unit/test_rails_compatibility.rb +0 -52
  73. data/test/unit/test_serialization.rb +0 -51
  74. data/test/unit/test_support.rb +0 -382
  75. data/test/unit/test_time_zones.rb +0 -39
  76. data/test/unit/test_validations.rb +0 -544
@@ -1,3 +1,3 @@
1
1
  module MongoMapper
2
- Version = '0.7.5'
2
+ Version = '0.7.6'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 5
9
- version: 0.7.5
8
+ - 6
9
+ version: 0.7.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Nunemaker
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-30 00:00:00 -07:00
17
+ date: 2010-05-18 00:00:00 -04:00
18
18
  default_executable: mmconsole
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  type: :runtime
33
33
  version_requirements: *id001
34
34
  - !ruby/object:Gem::Dependency
35
- name: mongo
35
+ name: jnunemaker-validatable
36
36
  prerelease: false
37
37
  requirement: &id002 !ruby/object:Gem::Requirement
38
38
  requirements:
@@ -40,28 +40,42 @@ dependencies:
40
40
  - !ruby/object:Gem::Version
41
41
  segments:
42
42
  - 1
43
- - 0
44
- version: "1.0"
43
+ - 8
44
+ - 4
45
+ version: 1.8.4
45
46
  type: :runtime
46
47
  version_requirements: *id002
47
48
  - !ruby/object:Gem::Dependency
48
- name: jnunemaker-validatable
49
+ name: plucky
49
50
  prerelease: false
50
51
  requirement: &id003 !ruby/object:Gem::Requirement
51
52
  requirements:
52
53
  - - "="
53
54
  - !ruby/object:Gem::Version
54
55
  segments:
56
+ - 0
55
57
  - 1
56
- - 8
57
- - 4
58
- version: 1.8.4
58
+ - 1
59
+ version: 0.1.1
59
60
  type: :runtime
60
61
  version_requirements: *id003
61
62
  - !ruby/object:Gem::Dependency
62
- name: json
63
+ name: mongo
63
64
  prerelease: false
64
65
  requirement: &id004 !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "="
68
+ - !ruby/object:Gem::Version
69
+ segments:
70
+ - 1
71
+ - 0
72
+ version: "1.0"
73
+ type: :runtime
74
+ version_requirements: *id004
75
+ - !ruby/object:Gem::Dependency
76
+ name: json
77
+ prerelease: false
78
+ requirement: &id005 !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - ">="
67
81
  - !ruby/object:Gem::Version
@@ -71,11 +85,11 @@ dependencies:
71
85
  - 3
72
86
  version: 1.2.3
73
87
  type: :development
74
- version_requirements: *id004
88
+ version_requirements: *id005
75
89
  - !ruby/object:Gem::Dependency
76
90
  name: jnunemaker-matchy
77
91
  prerelease: false
78
- requirement: &id005 !ruby/object:Gem::Requirement
92
+ requirement: &id006 !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "="
81
95
  - !ruby/object:Gem::Version
@@ -85,11 +99,11 @@ dependencies:
85
99
  - 0
86
100
  version: 0.4.0
87
101
  type: :development
88
- version_requirements: *id005
102
+ version_requirements: *id006
89
103
  - !ruby/object:Gem::Dependency
90
104
  name: shoulda
91
105
  prerelease: false
92
- requirement: &id006 !ruby/object:Gem::Requirement
106
+ requirement: &id007 !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "="
95
109
  - !ruby/object:Gem::Version
@@ -99,11 +113,11 @@ dependencies:
99
113
  - 2
100
114
  version: 2.10.2
101
115
  type: :development
102
- version_requirements: *id006
116
+ version_requirements: *id007
103
117
  - !ruby/object:Gem::Dependency
104
118
  name: timecop
105
119
  prerelease: false
106
- requirement: &id007 !ruby/object:Gem::Requirement
120
+ requirement: &id008 !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "="
109
123
  - !ruby/object:Gem::Version
@@ -113,11 +127,11 @@ dependencies:
113
127
  - 1
114
128
  version: 0.3.1
115
129
  type: :development
116
- version_requirements: *id007
130
+ version_requirements: *id008
117
131
  - !ruby/object:Gem::Dependency
118
132
  name: mocha
119
133
  prerelease: false
120
- requirement: &id008 !ruby/object:Gem::Requirement
134
+ requirement: &id009 !ruby/object:Gem::Requirement
121
135
  requirements:
122
136
  - - "="
123
137
  - !ruby/object:Gem::Version
@@ -127,27 +141,20 @@ dependencies:
127
141
  - 8
128
142
  version: 0.9.8
129
143
  type: :development
130
- version_requirements: *id008
144
+ version_requirements: *id009
131
145
  description:
132
- email: nunemaker@gmail.com
146
+ email:
147
+ - nunemaker@gmail.com
133
148
  executables:
134
149
  - mmconsole
135
150
  extensions: []
136
151
 
137
- extra_rdoc_files:
138
- - LICENSE
139
- - README.rdoc
152
+ extra_rdoc_files: []
153
+
140
154
  files:
141
- - .gitignore
142
- - LICENSE
143
- - README.rdoc
144
- - Rakefile
145
155
  - bin/mmconsole
146
- - lib/mongo_mapper.rb
147
156
  - lib/mongo_mapper/document.rb
148
157
  - lib/mongo_mapper/embedded_document.rb
149
- - lib/mongo_mapper/plugins.rb
150
- - lib/mongo_mapper/plugins/associations.rb
151
158
  - lib/mongo_mapper/plugins/associations/base.rb
152
159
  - lib/mongo_mapper/plugins/associations/belongs_to_polymorphic_proxy.rb
153
160
  - lib/mongo_mapper/plugins/associations/belongs_to_proxy.rb
@@ -162,6 +169,7 @@ files:
162
169
  - lib/mongo_mapper/plugins/associations/one_embedded_proxy.rb
163
170
  - lib/mongo_mapper/plugins/associations/one_proxy.rb
164
171
  - lib/mongo_mapper/plugins/associations/proxy.rb
172
+ - lib/mongo_mapper/plugins/associations.rb
165
173
  - lib/mongo_mapper/plugins/callbacks.rb
166
174
  - lib/mongo_mapper/plugins/clone.rb
167
175
  - lib/mongo_mapper/plugins/descendants.rb
@@ -169,11 +177,12 @@ files:
169
177
  - lib/mongo_mapper/plugins/equality.rb
170
178
  - lib/mongo_mapper/plugins/identity_map.rb
171
179
  - lib/mongo_mapper/plugins/inspect.rb
180
+ - lib/mongo_mapper/plugins/keys/key.rb
172
181
  - lib/mongo_mapper/plugins/keys.rb
173
182
  - lib/mongo_mapper/plugins/logger.rb
174
183
  - lib/mongo_mapper/plugins/modifiers.rb
175
- - lib/mongo_mapper/plugins/pagination.rb
176
184
  - lib/mongo_mapper/plugins/pagination/proxy.rb
185
+ - lib/mongo_mapper/plugins/pagination.rb
177
186
  - lib/mongo_mapper/plugins/persistence.rb
178
187
  - lib/mongo_mapper/plugins/protected.rb
179
188
  - lib/mongo_mapper/plugins/rails.rb
@@ -181,71 +190,22 @@ files:
181
190
  - lib/mongo_mapper/plugins/timestamps.rb
182
191
  - lib/mongo_mapper/plugins/userstamps.rb
183
192
  - lib/mongo_mapper/plugins/validations.rb
193
+ - lib/mongo_mapper/plugins.rb
184
194
  - lib/mongo_mapper/query.rb
185
- - lib/mongo_mapper/support.rb
186
195
  - lib/mongo_mapper/support/descendant_appends.rb
187
196
  - lib/mongo_mapper/support/find.rb
197
+ - lib/mongo_mapper/support.rb
188
198
  - lib/mongo_mapper/version.rb
189
- - mongo_mapper.gemspec
190
- - performance/read_write.rb
191
- - specs.watchr
192
- - test/NOTE_ON_TESTING
193
- - test/active_model_lint_test.rb
194
- - test/functional/associations/test_belongs_to_polymorphic_proxy.rb
195
- - test/functional/associations/test_belongs_to_proxy.rb
196
- - test/functional/associations/test_in_array_proxy.rb
197
- - test/functional/associations/test_many_documents_as_proxy.rb
198
- - test/functional/associations/test_many_documents_proxy.rb
199
- - test/functional/associations/test_many_embedded_polymorphic_proxy.rb
200
- - test/functional/associations/test_many_embedded_proxy.rb
201
- - test/functional/associations/test_many_polymorphic_proxy.rb
202
- - test/functional/associations/test_one_embedded_proxy.rb
203
- - test/functional/associations/test_one_proxy.rb
204
- - test/functional/test_associations.rb
205
- - test/functional/test_binary.rb
206
- - test/functional/test_callbacks.rb
207
- - test/functional/test_dirty.rb
208
- - test/functional/test_document.rb
209
- - test/functional/test_embedded_document.rb
210
- - test/functional/test_identity_map.rb
211
- - test/functional/test_indexing.rb
212
- - test/functional/test_logger.rb
213
- - test/functional/test_modifiers.rb
214
- - test/functional/test_pagination.rb
215
- - test/functional/test_protected.rb
216
- - test/functional/test_string_id_compatibility.rb
217
- - test/functional/test_timestamps.rb
218
- - test/functional/test_userstamps.rb
219
- - test/functional/test_validations.rb
220
- - test/models.rb
221
- - test/support/custom_matchers.rb
222
- - test/support/timing.rb
223
- - test/test_helper.rb
224
- - test/unit/associations/test_base.rb
225
- - test/unit/associations/test_proxy.rb
226
- - test/unit/serializers/test_json_serializer.rb
227
- - test/unit/test_descendant_appends.rb
228
- - test/unit/test_document.rb
229
- - test/unit/test_dynamic_finder.rb
230
- - test/unit/test_embedded_document.rb
231
- - test/unit/test_keys.rb
232
- - test/unit/test_mongo_mapper.rb
233
- - test/unit/test_pagination.rb
234
- - test/unit/test_plugins.rb
235
- - test/unit/test_query.rb
236
- - test/unit/test_rails.rb
237
- - test/unit/test_rails_compatibility.rb
238
- - test/unit/test_serialization.rb
239
- - test/unit/test_support.rb
240
- - test/unit/test_time_zones.rb
241
- - test/unit/test_validations.rb
199
+ - lib/mongo_mapper.rb
200
+ - LICENSE
201
+ - README.rdoc
242
202
  has_rdoc: true
243
203
  homepage: http://github.com/jnunemaker/mongomapper
244
204
  licenses: []
245
205
 
246
206
  post_install_message:
247
- rdoc_options:
248
- - --charset=UTF-8
207
+ rdoc_options: []
208
+
249
209
  require_paths:
250
210
  - lib
251
211
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -260,8 +220,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
220
  - - ">="
261
221
  - !ruby/object:Gem::Version
262
222
  segments:
263
- - 0
264
- version: "0"
223
+ - 1
224
+ - 3
225
+ - 6
226
+ version: 1.3.6
265
227
  requirements: []
266
228
 
267
229
  rubyforge_project:
@@ -269,53 +231,5 @@ rubygems_version: 1.3.6
269
231
  signing_key:
270
232
  specification_version: 3
271
233
  summary: A Ruby Object Mapper for Mongo
272
- test_files:
273
- - test/active_model_lint_test.rb
274
- - test/functional/associations/test_belongs_to_polymorphic_proxy.rb
275
- - test/functional/associations/test_belongs_to_proxy.rb
276
- - test/functional/associations/test_in_array_proxy.rb
277
- - test/functional/associations/test_many_documents_as_proxy.rb
278
- - test/functional/associations/test_many_documents_proxy.rb
279
- - test/functional/associations/test_many_embedded_polymorphic_proxy.rb
280
- - test/functional/associations/test_many_embedded_proxy.rb
281
- - test/functional/associations/test_many_polymorphic_proxy.rb
282
- - test/functional/associations/test_one_embedded_proxy.rb
283
- - test/functional/associations/test_one_proxy.rb
284
- - test/functional/test_associations.rb
285
- - test/functional/test_binary.rb
286
- - test/functional/test_callbacks.rb
287
- - test/functional/test_dirty.rb
288
- - test/functional/test_document.rb
289
- - test/functional/test_embedded_document.rb
290
- - test/functional/test_identity_map.rb
291
- - test/functional/test_indexing.rb
292
- - test/functional/test_logger.rb
293
- - test/functional/test_modifiers.rb
294
- - test/functional/test_pagination.rb
295
- - test/functional/test_protected.rb
296
- - test/functional/test_string_id_compatibility.rb
297
- - test/functional/test_timestamps.rb
298
- - test/functional/test_userstamps.rb
299
- - test/functional/test_validations.rb
300
- - test/models.rb
301
- - test/support/custom_matchers.rb
302
- - test/support/timing.rb
303
- - test/test_helper.rb
304
- - test/unit/associations/test_base.rb
305
- - test/unit/associations/test_proxy.rb
306
- - test/unit/serializers/test_json_serializer.rb
307
- - test/unit/test_descendant_appends.rb
308
- - test/unit/test_document.rb
309
- - test/unit/test_dynamic_finder.rb
310
- - test/unit/test_embedded_document.rb
311
- - test/unit/test_keys.rb
312
- - test/unit/test_mongo_mapper.rb
313
- - test/unit/test_pagination.rb
314
- - test/unit/test_plugins.rb
315
- - test/unit/test_query.rb
316
- - test/unit/test_rails.rb
317
- - test/unit/test_rails_compatibility.rb
318
- - test/unit/test_serialization.rb
319
- - test/unit/test_support.rb
320
- - test/unit/test_time_zones.rb
321
- - test/unit/test_validations.rb
234
+ test_files: []
235
+
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- *.sw?
2
- .DS_Store
3
- coverage
4
- rdoc
5
- pkg
6
- *~
7
- *.gem
8
- tmp
9
- .yardoc
10
- doc/*
data/Rakefile DELETED
@@ -1,37 +0,0 @@
1
- require 'rubygems'
2
- require 'rake'
3
- require 'jeweler'
4
-
5
- require File.dirname(__FILE__) + '/lib/mongo_mapper/version'
6
-
7
- Jeweler::Tasks.new do |gem|
8
- gem.name = "mongo_mapper"
9
- gem.summary = %Q{A Ruby Object Mapper for Mongo}
10
- gem.email = "nunemaker@gmail.com"
11
- gem.homepage = "http://github.com/jnunemaker/mongomapper"
12
- gem.authors = ["John Nunemaker"]
13
- gem.version = MongoMapper::Version
14
-
15
- gem.add_dependency('activesupport', '>= 2.3.4')
16
- gem.add_dependency('mongo', '1.0')
17
- gem.add_dependency('jnunemaker-validatable', '1.8.4')
18
-
19
- gem.add_development_dependency('json', '>= 1.2.3')
20
- gem.add_development_dependency('jnunemaker-matchy', '0.4.0')
21
- gem.add_development_dependency('shoulda', '2.10.2')
22
- gem.add_development_dependency('timecop', '0.3.1')
23
- gem.add_development_dependency('mocha', '0.9.8')
24
- end
25
-
26
- Jeweler::GemcutterTasks.new
27
-
28
- require 'rake/testtask'
29
- Rake::TestTask.new(:test) do |test|
30
- test.libs << 'test'
31
- test.ruby_opts << '-rubygems'
32
- test.pattern = 'test/**/test_*.rb'
33
- test.verbose = true
34
- end
35
-
36
- task :default => :test
37
- task :test => :check_dependencies
@@ -1,214 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{mongo_mapper}
8
- s.version = "0.7.5"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["John Nunemaker"]
12
- s.date = %q{2010-04-30}
13
- s.default_executable = %q{mmconsole}
14
- s.email = %q{nunemaker@gmail.com}
15
- s.executables = ["mmconsole"]
16
- s.extra_rdoc_files = [
17
- "LICENSE",
18
- "README.rdoc"
19
- ]
20
- s.files = [
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "bin/mmconsole",
26
- "lib/mongo_mapper.rb",
27
- "lib/mongo_mapper/document.rb",
28
- "lib/mongo_mapper/embedded_document.rb",
29
- "lib/mongo_mapper/plugins.rb",
30
- "lib/mongo_mapper/plugins/associations.rb",
31
- "lib/mongo_mapper/plugins/associations/base.rb",
32
- "lib/mongo_mapper/plugins/associations/belongs_to_polymorphic_proxy.rb",
33
- "lib/mongo_mapper/plugins/associations/belongs_to_proxy.rb",
34
- "lib/mongo_mapper/plugins/associations/collection.rb",
35
- "lib/mongo_mapper/plugins/associations/embedded_collection.rb",
36
- "lib/mongo_mapper/plugins/associations/in_array_proxy.rb",
37
- "lib/mongo_mapper/plugins/associations/many_documents_as_proxy.rb",
38
- "lib/mongo_mapper/plugins/associations/many_documents_proxy.rb",
39
- "lib/mongo_mapper/plugins/associations/many_embedded_polymorphic_proxy.rb",
40
- "lib/mongo_mapper/plugins/associations/many_embedded_proxy.rb",
41
- "lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb",
42
- "lib/mongo_mapper/plugins/associations/one_embedded_proxy.rb",
43
- "lib/mongo_mapper/plugins/associations/one_proxy.rb",
44
- "lib/mongo_mapper/plugins/associations/proxy.rb",
45
- "lib/mongo_mapper/plugins/callbacks.rb",
46
- "lib/mongo_mapper/plugins/clone.rb",
47
- "lib/mongo_mapper/plugins/descendants.rb",
48
- "lib/mongo_mapper/plugins/dirty.rb",
49
- "lib/mongo_mapper/plugins/equality.rb",
50
- "lib/mongo_mapper/plugins/identity_map.rb",
51
- "lib/mongo_mapper/plugins/inspect.rb",
52
- "lib/mongo_mapper/plugins/keys.rb",
53
- "lib/mongo_mapper/plugins/logger.rb",
54
- "lib/mongo_mapper/plugins/modifiers.rb",
55
- "lib/mongo_mapper/plugins/pagination.rb",
56
- "lib/mongo_mapper/plugins/pagination/proxy.rb",
57
- "lib/mongo_mapper/plugins/persistence.rb",
58
- "lib/mongo_mapper/plugins/protected.rb",
59
- "lib/mongo_mapper/plugins/rails.rb",
60
- "lib/mongo_mapper/plugins/serialization.rb",
61
- "lib/mongo_mapper/plugins/timestamps.rb",
62
- "lib/mongo_mapper/plugins/userstamps.rb",
63
- "lib/mongo_mapper/plugins/validations.rb",
64
- "lib/mongo_mapper/query.rb",
65
- "lib/mongo_mapper/support.rb",
66
- "lib/mongo_mapper/support/descendant_appends.rb",
67
- "lib/mongo_mapper/support/find.rb",
68
- "lib/mongo_mapper/version.rb",
69
- "mongo_mapper.gemspec",
70
- "performance/read_write.rb",
71
- "specs.watchr",
72
- "test/NOTE_ON_TESTING",
73
- "test/active_model_lint_test.rb",
74
- "test/functional/associations/test_belongs_to_polymorphic_proxy.rb",
75
- "test/functional/associations/test_belongs_to_proxy.rb",
76
- "test/functional/associations/test_in_array_proxy.rb",
77
- "test/functional/associations/test_many_documents_as_proxy.rb",
78
- "test/functional/associations/test_many_documents_proxy.rb",
79
- "test/functional/associations/test_many_embedded_polymorphic_proxy.rb",
80
- "test/functional/associations/test_many_embedded_proxy.rb",
81
- "test/functional/associations/test_many_polymorphic_proxy.rb",
82
- "test/functional/associations/test_one_embedded_proxy.rb",
83
- "test/functional/associations/test_one_proxy.rb",
84
- "test/functional/test_associations.rb",
85
- "test/functional/test_binary.rb",
86
- "test/functional/test_callbacks.rb",
87
- "test/functional/test_dirty.rb",
88
- "test/functional/test_document.rb",
89
- "test/functional/test_embedded_document.rb",
90
- "test/functional/test_identity_map.rb",
91
- "test/functional/test_indexing.rb",
92
- "test/functional/test_logger.rb",
93
- "test/functional/test_modifiers.rb",
94
- "test/functional/test_pagination.rb",
95
- "test/functional/test_protected.rb",
96
- "test/functional/test_string_id_compatibility.rb",
97
- "test/functional/test_timestamps.rb",
98
- "test/functional/test_userstamps.rb",
99
- "test/functional/test_validations.rb",
100
- "test/models.rb",
101
- "test/support/custom_matchers.rb",
102
- "test/support/timing.rb",
103
- "test/test_helper.rb",
104
- "test/unit/associations/test_base.rb",
105
- "test/unit/associations/test_proxy.rb",
106
- "test/unit/serializers/test_json_serializer.rb",
107
- "test/unit/test_descendant_appends.rb",
108
- "test/unit/test_document.rb",
109
- "test/unit/test_dynamic_finder.rb",
110
- "test/unit/test_embedded_document.rb",
111
- "test/unit/test_keys.rb",
112
- "test/unit/test_mongo_mapper.rb",
113
- "test/unit/test_pagination.rb",
114
- "test/unit/test_plugins.rb",
115
- "test/unit/test_query.rb",
116
- "test/unit/test_rails.rb",
117
- "test/unit/test_rails_compatibility.rb",
118
- "test/unit/test_serialization.rb",
119
- "test/unit/test_support.rb",
120
- "test/unit/test_time_zones.rb",
121
- "test/unit/test_validations.rb"
122
- ]
123
- s.homepage = %q{http://github.com/jnunemaker/mongomapper}
124
- s.rdoc_options = ["--charset=UTF-8"]
125
- s.require_paths = ["lib"]
126
- s.rubygems_version = %q{1.3.6}
127
- s.summary = %q{A Ruby Object Mapper for Mongo}
128
- s.test_files = [
129
- "test/active_model_lint_test.rb",
130
- "test/functional/associations/test_belongs_to_polymorphic_proxy.rb",
131
- "test/functional/associations/test_belongs_to_proxy.rb",
132
- "test/functional/associations/test_in_array_proxy.rb",
133
- "test/functional/associations/test_many_documents_as_proxy.rb",
134
- "test/functional/associations/test_many_documents_proxy.rb",
135
- "test/functional/associations/test_many_embedded_polymorphic_proxy.rb",
136
- "test/functional/associations/test_many_embedded_proxy.rb",
137
- "test/functional/associations/test_many_polymorphic_proxy.rb",
138
- "test/functional/associations/test_one_embedded_proxy.rb",
139
- "test/functional/associations/test_one_proxy.rb",
140
- "test/functional/test_associations.rb",
141
- "test/functional/test_binary.rb",
142
- "test/functional/test_callbacks.rb",
143
- "test/functional/test_dirty.rb",
144
- "test/functional/test_document.rb",
145
- "test/functional/test_embedded_document.rb",
146
- "test/functional/test_identity_map.rb",
147
- "test/functional/test_indexing.rb",
148
- "test/functional/test_logger.rb",
149
- "test/functional/test_modifiers.rb",
150
- "test/functional/test_pagination.rb",
151
- "test/functional/test_protected.rb",
152
- "test/functional/test_string_id_compatibility.rb",
153
- "test/functional/test_timestamps.rb",
154
- "test/functional/test_userstamps.rb",
155
- "test/functional/test_validations.rb",
156
- "test/models.rb",
157
- "test/support/custom_matchers.rb",
158
- "test/support/timing.rb",
159
- "test/test_helper.rb",
160
- "test/unit/associations/test_base.rb",
161
- "test/unit/associations/test_proxy.rb",
162
- "test/unit/serializers/test_json_serializer.rb",
163
- "test/unit/test_descendant_appends.rb",
164
- "test/unit/test_document.rb",
165
- "test/unit/test_dynamic_finder.rb",
166
- "test/unit/test_embedded_document.rb",
167
- "test/unit/test_keys.rb",
168
- "test/unit/test_mongo_mapper.rb",
169
- "test/unit/test_pagination.rb",
170
- "test/unit/test_plugins.rb",
171
- "test/unit/test_query.rb",
172
- "test/unit/test_rails.rb",
173
- "test/unit/test_rails_compatibility.rb",
174
- "test/unit/test_serialization.rb",
175
- "test/unit/test_support.rb",
176
- "test/unit/test_time_zones.rb",
177
- "test/unit/test_validations.rb"
178
- ]
179
-
180
- if s.respond_to? :specification_version then
181
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
182
- s.specification_version = 3
183
-
184
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
185
- s.add_runtime_dependency(%q<activesupport>, [">= 2.3.4"])
186
- s.add_runtime_dependency(%q<mongo>, ["= 1.0"])
187
- s.add_runtime_dependency(%q<jnunemaker-validatable>, ["= 1.8.4"])
188
- s.add_development_dependency(%q<json>, [">= 1.2.3"])
189
- s.add_development_dependency(%q<jnunemaker-matchy>, ["= 0.4.0"])
190
- s.add_development_dependency(%q<shoulda>, ["= 2.10.2"])
191
- s.add_development_dependency(%q<timecop>, ["= 0.3.1"])
192
- s.add_development_dependency(%q<mocha>, ["= 0.9.8"])
193
- else
194
- s.add_dependency(%q<activesupport>, [">= 2.3.4"])
195
- s.add_dependency(%q<mongo>, ["= 1.0"])
196
- s.add_dependency(%q<jnunemaker-validatable>, ["= 1.8.4"])
197
- s.add_dependency(%q<json>, [">= 1.2.3"])
198
- s.add_dependency(%q<jnunemaker-matchy>, ["= 0.4.0"])
199
- s.add_dependency(%q<shoulda>, ["= 2.10.2"])
200
- s.add_dependency(%q<timecop>, ["= 0.3.1"])
201
- s.add_dependency(%q<mocha>, ["= 0.9.8"])
202
- end
203
- else
204
- s.add_dependency(%q<activesupport>, [">= 2.3.4"])
205
- s.add_dependency(%q<mongo>, ["= 1.0"])
206
- s.add_dependency(%q<jnunemaker-validatable>, ["= 1.8.4"])
207
- s.add_dependency(%q<json>, [">= 1.2.3"])
208
- s.add_dependency(%q<jnunemaker-matchy>, ["= 0.4.0"])
209
- s.add_dependency(%q<shoulda>, ["= 2.10.2"])
210
- s.add_dependency(%q<timecop>, ["= 0.3.1"])
211
- s.add_dependency(%q<mocha>, ["= 0.9.8"])
212
- end
213
- end
214
-