mongo_mapper 0.12.0 → 0.13.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.rdoc +35 -13
- data/bin/mmconsole +1 -1
- data/lib/mongo_mapper.rb +4 -0
- data/lib/mongo_mapper/connection.rb +17 -6
- data/lib/mongo_mapper/document.rb +1 -0
- data/lib/mongo_mapper/exceptions.rb +4 -1
- data/lib/mongo_mapper/extensions/binary.rb +1 -1
- data/lib/mongo_mapper/extensions/boolean.rb +20 -23
- data/lib/mongo_mapper/extensions/date.rb +3 -3
- data/lib/mongo_mapper/extensions/integer.rb +5 -1
- data/lib/mongo_mapper/extensions/kernel.rb +2 -0
- data/lib/mongo_mapper/extensions/ordered_hash.rb +23 -0
- data/lib/mongo_mapper/extensions/string.rb +2 -2
- data/lib/mongo_mapper/extensions/time.rb +7 -5
- data/lib/mongo_mapper/middleware/identity_map.rb +3 -4
- data/lib/mongo_mapper/plugins.rb +1 -1
- data/lib/mongo_mapper/plugins/associations.rb +11 -5
- data/lib/mongo_mapper/plugins/associations/base.rb +5 -3
- data/lib/mongo_mapper/plugins/associations/belongs_to_polymorphic_proxy.rb +0 -0
- data/lib/mongo_mapper/plugins/associations/belongs_to_proxy.rb +8 -8
- data/lib/mongo_mapper/plugins/associations/collection.rb +2 -0
- data/lib/mongo_mapper/plugins/associations/many_documents_proxy.rb +32 -7
- data/lib/mongo_mapper/plugins/associations/many_embedded_proxy.rb +2 -2
- data/lib/mongo_mapper/plugins/associations/one_proxy.rb +12 -12
- data/lib/mongo_mapper/plugins/associations/proxy.rb +5 -1
- data/lib/mongo_mapper/plugins/associations/single_association.rb +6 -6
- data/lib/mongo_mapper/plugins/clone.rb +4 -2
- data/lib/mongo_mapper/plugins/dirty.rb +22 -21
- data/lib/mongo_mapper/plugins/document.rb +4 -4
- data/lib/mongo_mapper/plugins/dumpable.rb +22 -0
- data/lib/mongo_mapper/plugins/embedded_callbacks.rb +58 -9
- data/lib/mongo_mapper/plugins/identity_map.rb +42 -32
- data/lib/mongo_mapper/plugins/keys.rb +133 -54
- data/lib/mongo_mapper/plugins/keys/key.rb +68 -22
- data/lib/mongo_mapper/plugins/modifiers.rb +26 -19
- data/lib/mongo_mapper/plugins/persistence.rb +15 -5
- data/lib/mongo_mapper/plugins/querying.rb +15 -40
- data/lib/mongo_mapper/plugins/querying/{decorator.rb → decorated_plucky_query.rb} +24 -4
- data/lib/mongo_mapper/plugins/rails.rb +22 -2
- data/lib/mongo_mapper/plugins/safe.rb +8 -5
- data/lib/mongo_mapper/plugins/sci.rb +26 -4
- data/lib/mongo_mapper/plugins/scopes.rb +5 -4
- data/lib/mongo_mapper/plugins/timestamps.rb +11 -4
- data/lib/mongo_mapper/plugins/validations.rb +1 -1
- data/lib/mongo_mapper/utils.rb +12 -0
- data/lib/mongo_mapper/version.rb +1 -1
- data/lib/rails/generators/mongo_mapper/config/config_generator.rb +20 -7
- data/lib/rails/generators/mongo_mapper/config/templates/mongo.yml +6 -0
- data/lib/rails/generators/mongo_mapper/model/model_generator.rb +18 -1
- data/lib/rails/generators/mongo_mapper/model/templates/model.rb +9 -5
- data/{test/functional/test_accessible.rb → spec/functional/accessible_spec.rb} +29 -29
- data/{test/functional/associations/test_belongs_to_polymorphic_proxy.rb → spec/functional/associations/belongs_to_polymorphic_proxy_spec.rb} +10 -10
- data/{test/functional/associations/test_belongs_to_proxy.rb → spec/functional/associations/belongs_to_proxy_spec.rb} +82 -64
- data/{test/functional/associations/test_in_array_proxy.rb → spec/functional/associations/in_array_proxy_spec.rb} +68 -68
- data/{test/functional/associations/test_many_documents_as_proxy.rb → spec/functional/associations/many_documents_as_proxy_spec.rb} +37 -38
- data/{test/functional/associations/test_many_documents_proxy.rb → spec/functional/associations/many_documents_proxy_spec.rb} +233 -146
- data/{test/functional/associations/test_many_embedded_polymorphic_proxy.rb → spec/functional/associations/many_embedded_polymorphic_proxy_spec.rb} +19 -20
- data/{test/functional/associations/test_many_embedded_proxy.rb → spec/functional/associations/many_embedded_proxy_spec.rb} +23 -24
- data/{test/functional/associations/test_many_polymorphic_proxy.rb → spec/functional/associations/many_polymorphic_proxy_spec.rb} +45 -46
- data/{test/functional/associations/test_one_as_proxy.rb → spec/functional/associations/one_as_proxy_spec.rb} +75 -77
- data/{test/functional/associations/test_one_embedded_polymorphic_proxy.rb → spec/functional/associations/one_embedded_polymorphic_proxy_spec.rb} +31 -32
- data/{test/functional/associations/test_one_embedded_proxy.rb → spec/functional/associations/one_embedded_proxy_spec.rb} +10 -10
- data/{test/functional/associations/test_one_proxy.rb → spec/functional/associations/one_proxy_spec.rb} +125 -102
- data/spec/functional/associations_spec.rb +48 -0
- data/{test/functional/test_binary.rb → spec/functional/binary_spec.rb} +6 -6
- data/spec/functional/caching_spec.rb +75 -0
- data/{test/functional/test_callbacks.rb → spec/functional/callbacks_spec.rb} +84 -26
- data/{test/functional/test_dirty.rb → spec/functional/dirty_spec.rb} +57 -42
- data/{test/functional/test_document.rb → spec/functional/document_spec.rb} +52 -52
- data/spec/functional/dumpable_spec.rb +24 -0
- data/{test/functional/test_dynamic_querying.rb → spec/functional/dynamic_querying_spec.rb} +14 -14
- data/{test/functional/test_embedded_document.rb → spec/functional/embedded_document_spec.rb} +51 -42
- data/{test/functional/test_equality.rb → spec/functional/equality_spec.rb} +4 -4
- data/spec/functional/extensions_spec.rb +16 -0
- data/{test/functional/test_identity_map.rb → spec/functional/identity_map_spec.rb} +73 -61
- data/spec/functional/indexes_spec.rb +48 -0
- data/spec/functional/keys_spec.rb +224 -0
- data/{test/functional/test_logger.rb → spec/functional/logger_spec.rb} +6 -6
- data/spec/functional/modifiers_spec.rb +550 -0
- data/spec/functional/pagination_spec.rb +89 -0
- data/spec/functional/protected_spec.rb +199 -0
- data/spec/functional/querying_spec.rb +1003 -0
- data/spec/functional/rails_spec.rb +55 -0
- data/spec/functional/safe_spec.rb +163 -0
- data/{test/functional/test_sci.rb → spec/functional/sci_spec.rb} +123 -34
- data/{test/functional/test_scopes.rb → spec/functional/scopes_spec.rb} +59 -26
- data/spec/functional/timestamps_spec.rb +97 -0
- data/{test/functional/test_touch.rb → spec/functional/touch_spec.rb} +13 -13
- data/spec/functional/userstamps_spec.rb +46 -0
- data/{test/functional/test_validations.rb → spec/functional/validations_spec.rb} +64 -64
- data/spec/spec_helper.rb +81 -0
- data/spec/support/matchers.rb +24 -0
- data/{test → spec/support}/models.rb +1 -6
- data/spec/unit/associations/base_spec.rb +146 -0
- data/spec/unit/associations/belongs_to_association_spec.rb +30 -0
- data/spec/unit/associations/many_association_spec.rb +64 -0
- data/spec/unit/associations/one_association_spec.rb +48 -0
- data/{test/unit/associations/test_proxy.rb → spec/unit/associations/proxy_spec.rb} +21 -21
- data/{test/unit/test_clone.rb → spec/unit/clone_spec.rb} +21 -11
- data/spec/unit/config_generator_spec.rb +24 -0
- data/{test/unit/test_document.rb → spec/unit/document_spec.rb} +42 -42
- data/{test/unit/test_dynamic_finder.rb → spec/unit/dynamic_finder_spec.rb} +28 -28
- data/{test/unit/test_embedded_document.rb → spec/unit/embedded_document_spec.rb} +102 -108
- data/{test/unit/test_equality.rb → spec/unit/equality_spec.rb} +7 -7
- data/{test/unit/test_exceptions.rb → spec/unit/exceptions_spec.rb} +3 -3
- data/{test/unit/test_extensions.rb → spec/unit/extensions_spec.rb} +85 -71
- data/spec/unit/identity_map_middleware_spec.rb +134 -0
- data/{test/unit/test_inspect.rb → spec/unit/inspect_spec.rb} +8 -8
- data/{test/unit/test_key.rb → spec/unit/key_spec.rb} +82 -52
- data/spec/unit/keys_spec.rb +155 -0
- data/spec/unit/model_generator_spec.rb +47 -0
- data/spec/unit/mongo_mapper_spec.rb +184 -0
- data/spec/unit/pagination_spec.rb +11 -0
- data/{test/unit/test_plugins.rb → spec/unit/plugins_spec.rb} +14 -14
- data/spec/unit/rails_compatibility_spec.rb +40 -0
- data/{test/unit/test_rails_reflect_on_association.rb → spec/unit/rails_reflect_on_association_spec.rb} +9 -9
- data/{test/unit/test_rails.rb → spec/unit/rails_spec.rb} +31 -31
- data/spec/unit/serialization_spec.rb +169 -0
- data/spec/unit/serializers/json_serializer_spec.rb +218 -0
- data/spec/unit/serializers/xml_serializer_spec.rb +198 -0
- data/{test/unit/test_time_zones.rb → spec/unit/time_zones_spec.rb} +8 -8
- data/{test/unit/test_translation.rb → spec/unit/translation_spec.rb} +6 -6
- data/{test/unit/test_validations.rb → spec/unit/validations_spec.rb} +72 -59
- metadata +199 -179
- data/test/_NOTE_ON_TESTING +0 -1
- data/test/functional/test_associations.rb +0 -46
- data/test/functional/test_caching.rb +0 -77
- data/test/functional/test_indexes.rb +0 -50
- data/test/functional/test_modifiers.rb +0 -537
- data/test/functional/test_pagination.rb +0 -91
- data/test/functional/test_protected.rb +0 -201
- data/test/functional/test_querying.rb +0 -935
- data/test/functional/test_safe.rb +0 -76
- data/test/functional/test_timestamps.rb +0 -62
- data/test/functional/test_userstamps.rb +0 -44
- data/test/support/railtie.rb +0 -4
- data/test/support/railtie/autoloaded.rb +0 -2
- data/test/support/railtie/not_autoloaded.rb +0 -3
- data/test/support/railtie/parent.rb +0 -3
- data/test/test_active_model_lint.rb +0 -18
- data/test/test_helper.rb +0 -93
- data/test/unit/associations/test_base.rb +0 -146
- data/test/unit/associations/test_belongs_to_association.rb +0 -29
- data/test/unit/associations/test_many_association.rb +0 -63
- data/test/unit/associations/test_one_association.rb +0 -47
- data/test/unit/serializers/test_json_serializer.rb +0 -216
- data/test/unit/serializers/test_xml_serializer.rb +0 -196
- data/test/unit/test_identity_map_middleware.rb +0 -132
- data/test/unit/test_keys.rb +0 -65
- data/test/unit/test_mongo_mapper.rb +0 -157
- data/test/unit/test_pagination.rb +0 -11
- data/test/unit/test_rails_compatibility.rb +0 -38
- data/test/unit/test_serialization.rb +0 -166
metadata
CHANGED
@@ -1,50 +1,72 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo_mapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.13.0.beta1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- John Nunemaker
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-07-26 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: activemodel
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: 3.0.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.0.0
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: activesupport
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - '>='
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '3.0'
|
33
34
|
type: :runtime
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.0'
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: plucky
|
38
|
-
requirement:
|
39
|
-
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.6.4
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.6.4
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mongo
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
40
58
|
requirements:
|
41
59
|
- - ~>
|
42
60
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
61
|
+
version: '1.8'
|
44
62
|
type: :runtime
|
45
63
|
prerelease: false
|
46
|
-
version_requirements:
|
47
|
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.8'
|
69
|
+
description: MongoMapper is a Object-Document Mapper for Ruby and Rails
|
48
70
|
email:
|
49
71
|
- nunemaker@gmail.com
|
50
72
|
executables:
|
@@ -53,207 +75,205 @@ extensions: []
|
|
53
75
|
extra_rdoc_files: []
|
54
76
|
files:
|
55
77
|
- bin/mmconsole
|
56
|
-
- examples/attr_accessible.rb
|
57
|
-
- examples/attr_protected.rb
|
58
|
-
- examples/cache_key.rb
|
59
|
-
- examples/custom_types.rb
|
60
|
-
- examples/identity_map/automatic.rb
|
61
78
|
- examples/identity_map.rb
|
62
|
-
- examples/
|
79
|
+
- examples/custom_types.rb
|
63
80
|
- examples/modifiers/set.rb
|
81
|
+
- examples/keys.rb
|
82
|
+
- examples/cache_key.rb
|
83
|
+
- examples/scopes.rb
|
64
84
|
- examples/plugins.rb
|
85
|
+
- examples/attr_protected.rb
|
65
86
|
- examples/querying.rb
|
66
|
-
- examples/
|
67
|
-
- examples/scopes.rb
|
87
|
+
- examples/identity_map/automatic.rb
|
68
88
|
- examples/validating/embedded_docs.rb
|
69
|
-
-
|
70
|
-
-
|
89
|
+
- examples/safe.rb
|
90
|
+
- examples/attr_accessible.rb
|
91
|
+
- lib/mongo_mapper.rb
|
92
|
+
- lib/rails/generators/mongo_mapper/model/model_generator.rb
|
93
|
+
- lib/rails/generators/mongo_mapper/model/templates/model.rb
|
94
|
+
- lib/rails/generators/mongo_mapper/config/config_generator.rb
|
95
|
+
- lib/rails/generators/mongo_mapper/config/templates/mongo.yml
|
96
|
+
- lib/mongo_mapper/railtie.rb
|
71
97
|
- lib/mongo_mapper/embedded_document.rb
|
72
|
-
- lib/mongo_mapper/
|
73
|
-
- lib/mongo_mapper/
|
74
|
-
- lib/mongo_mapper/
|
75
|
-
- lib/mongo_mapper/
|
76
|
-
- lib/mongo_mapper/
|
77
|
-
- lib/mongo_mapper/
|
78
|
-
- lib/mongo_mapper/
|
79
|
-
- lib/mongo_mapper/
|
80
|
-
- lib/mongo_mapper/
|
81
|
-
- lib/mongo_mapper/
|
82
|
-
- lib/mongo_mapper/
|
83
|
-
- lib/mongo_mapper/
|
84
|
-
- lib/mongo_mapper/extensions/set.rb
|
85
|
-
- lib/mongo_mapper/extensions/string.rb
|
86
|
-
- lib/mongo_mapper/extensions/time.rb
|
87
|
-
- lib/mongo_mapper/locale/en.yml
|
88
|
-
- lib/mongo_mapper/middleware/identity_map.rb
|
89
|
-
- lib/mongo_mapper/plugins/accessible.rb
|
90
|
-
- lib/mongo_mapper/plugins/active_model.rb
|
91
|
-
- lib/mongo_mapper/plugins/associations/base.rb
|
92
|
-
- lib/mongo_mapper/plugins/associations/belongs_to_association.rb
|
98
|
+
- lib/mongo_mapper/connection.rb
|
99
|
+
- lib/mongo_mapper/utils.rb
|
100
|
+
- lib/mongo_mapper/plugins/identity_map.rb
|
101
|
+
- lib/mongo_mapper/plugins/touch.rb
|
102
|
+
- lib/mongo_mapper/plugins/rails.rb
|
103
|
+
- lib/mongo_mapper/plugins/modifiers.rb
|
104
|
+
- lib/mongo_mapper/plugins/embedded_document.rb
|
105
|
+
- lib/mongo_mapper/plugins/inspect.rb
|
106
|
+
- lib/mongo_mapper/plugins/keys.rb
|
107
|
+
- lib/mongo_mapper/plugins/protected.rb
|
108
|
+
- lib/mongo_mapper/plugins/persistence.rb
|
109
|
+
- lib/mongo_mapper/plugins/associations/many_embedded_proxy.rb
|
93
110
|
- lib/mongo_mapper/plugins/associations/belongs_to_polymorphic_proxy.rb
|
94
|
-
- lib/mongo_mapper/plugins/associations/
|
95
|
-
- lib/mongo_mapper/plugins/associations/collection.rb
|
96
|
-
- lib/mongo_mapper/plugins/associations/embedded_collection.rb
|
97
|
-
- lib/mongo_mapper/plugins/associations/in_array_proxy.rb
|
111
|
+
- lib/mongo_mapper/plugins/associations/proxy.rb
|
98
112
|
- lib/mongo_mapper/plugins/associations/many_association.rb
|
99
|
-
- lib/mongo_mapper/plugins/associations/many_documents_as_proxy.rb
|
100
|
-
- lib/mongo_mapper/plugins/associations/many_documents_proxy.rb
|
101
113
|
- lib/mongo_mapper/plugins/associations/many_embedded_polymorphic_proxy.rb
|
102
|
-
- lib/mongo_mapper/plugins/associations/
|
103
|
-
- lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
|
114
|
+
- lib/mongo_mapper/plugins/associations/one_proxy.rb
|
104
115
|
- lib/mongo_mapper/plugins/associations/one_as_proxy.rb
|
105
|
-
- lib/mongo_mapper/plugins/associations/
|
106
|
-
- lib/mongo_mapper/plugins/associations/one_embedded_polymorphic_proxy.rb
|
116
|
+
- lib/mongo_mapper/plugins/associations/many_documents_proxy.rb
|
107
117
|
- lib/mongo_mapper/plugins/associations/one_embedded_proxy.rb
|
108
|
-
- lib/mongo_mapper/plugins/associations/
|
109
|
-
- lib/mongo_mapper/plugins/associations/
|
118
|
+
- lib/mongo_mapper/plugins/associations/embedded_collection.rb
|
119
|
+
- lib/mongo_mapper/plugins/associations/base.rb
|
120
|
+
- lib/mongo_mapper/plugins/associations/in_array_proxy.rb
|
110
121
|
- lib/mongo_mapper/plugins/associations/single_association.rb
|
111
|
-
- lib/mongo_mapper/plugins/associations.rb
|
112
|
-
- lib/mongo_mapper/plugins/
|
113
|
-
- lib/mongo_mapper/plugins/
|
114
|
-
- lib/mongo_mapper/plugins/
|
115
|
-
- lib/mongo_mapper/plugins/
|
116
|
-
- lib/mongo_mapper/plugins/
|
117
|
-
- lib/mongo_mapper/plugins/
|
122
|
+
- lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
|
123
|
+
- lib/mongo_mapper/plugins/associations/collection.rb
|
124
|
+
- lib/mongo_mapper/plugins/associations/belongs_to_association.rb
|
125
|
+
- lib/mongo_mapper/plugins/associations/many_documents_as_proxy.rb
|
126
|
+
- lib/mongo_mapper/plugins/associations/belongs_to_proxy.rb
|
127
|
+
- lib/mongo_mapper/plugins/associations/one_association.rb
|
128
|
+
- lib/mongo_mapper/plugins/associations/one_embedded_polymorphic_proxy.rb
|
118
129
|
- lib/mongo_mapper/plugins/dynamic_querying.rb
|
119
|
-
- lib/mongo_mapper/plugins/embedded_callbacks.rb
|
120
|
-
- lib/mongo_mapper/plugins/embedded_document.rb
|
121
130
|
- lib/mongo_mapper/plugins/equality.rb
|
122
|
-
- lib/mongo_mapper/plugins/identity_map.rb
|
123
131
|
- lib/mongo_mapper/plugins/indexes.rb
|
124
|
-
- lib/mongo_mapper/plugins/
|
125
|
-
- lib/mongo_mapper/plugins/
|
126
|
-
- lib/mongo_mapper/plugins/keys.rb
|
132
|
+
- lib/mongo_mapper/plugins/dumpable.rb
|
133
|
+
- lib/mongo_mapper/plugins/scopes.rb
|
127
134
|
- lib/mongo_mapper/plugins/logger.rb
|
128
|
-
- lib/mongo_mapper/plugins/
|
129
|
-
- lib/mongo_mapper/plugins/
|
130
|
-
- lib/mongo_mapper/plugins/
|
131
|
-
- lib/mongo_mapper/plugins/protected.rb
|
132
|
-
- lib/mongo_mapper/plugins/querying/decorator.rb
|
133
|
-
- lib/mongo_mapper/plugins/querying.rb
|
134
|
-
- lib/mongo_mapper/plugins/rails/active_record_association_adapter.rb
|
135
|
-
- lib/mongo_mapper/plugins/rails.rb
|
136
|
-
- lib/mongo_mapper/plugins/safe.rb
|
135
|
+
- lib/mongo_mapper/plugins/querying/decorated_plucky_query.rb
|
136
|
+
- lib/mongo_mapper/plugins/userstamps.rb
|
137
|
+
- lib/mongo_mapper/plugins/accessible.rb
|
137
138
|
- lib/mongo_mapper/plugins/sci.rb
|
138
|
-
- lib/mongo_mapper/plugins/
|
139
|
+
- lib/mongo_mapper/plugins/dynamic_querying/dynamic_finder.rb
|
140
|
+
- lib/mongo_mapper/plugins/clone.rb
|
141
|
+
- lib/mongo_mapper/plugins/embedded_callbacks.rb
|
142
|
+
- lib/mongo_mapper/plugins/rails/active_record_association_adapter.rb
|
143
|
+
- lib/mongo_mapper/plugins/keys/key.rb
|
144
|
+
- lib/mongo_mapper/plugins/querying.rb
|
139
145
|
- lib/mongo_mapper/plugins/serialization.rb
|
140
|
-
- lib/mongo_mapper/plugins/
|
141
|
-
- lib/mongo_mapper/plugins/
|
142
|
-
- lib/mongo_mapper/plugins/
|
146
|
+
- lib/mongo_mapper/plugins/dirty.rb
|
147
|
+
- lib/mongo_mapper/plugins/associations.rb
|
148
|
+
- lib/mongo_mapper/plugins/callbacks.rb
|
149
|
+
- lib/mongo_mapper/plugins/pagination.rb
|
150
|
+
- lib/mongo_mapper/plugins/document.rb
|
143
151
|
- lib/mongo_mapper/plugins/validations.rb
|
152
|
+
- lib/mongo_mapper/plugins/safe.rb
|
153
|
+
- lib/mongo_mapper/plugins/timestamps.rb
|
154
|
+
- lib/mongo_mapper/plugins/active_model.rb
|
155
|
+
- lib/mongo_mapper/plugins/caching.rb
|
156
|
+
- lib/mongo_mapper/extensions/object_id.rb
|
157
|
+
- lib/mongo_mapper/extensions/object.rb
|
158
|
+
- lib/mongo_mapper/extensions/integer.rb
|
159
|
+
- lib/mongo_mapper/extensions/time.rb
|
160
|
+
- lib/mongo_mapper/extensions/hash.rb
|
161
|
+
- lib/mongo_mapper/extensions/boolean.rb
|
162
|
+
- lib/mongo_mapper/extensions/array.rb
|
163
|
+
- lib/mongo_mapper/extensions/nil_class.rb
|
164
|
+
- lib/mongo_mapper/extensions/ordered_hash.rb
|
165
|
+
- lib/mongo_mapper/extensions/kernel.rb
|
166
|
+
- lib/mongo_mapper/extensions/string.rb
|
167
|
+
- lib/mongo_mapper/extensions/set.rb
|
168
|
+
- lib/mongo_mapper/extensions/float.rb
|
169
|
+
- lib/mongo_mapper/extensions/binary.rb
|
170
|
+
- lib/mongo_mapper/extensions/date.rb
|
171
|
+
- lib/mongo_mapper/version.rb
|
144
172
|
- lib/mongo_mapper/plugins.rb
|
173
|
+
- lib/mongo_mapper/middleware/identity_map.rb
|
145
174
|
- lib/mongo_mapper/railtie/database.rake
|
146
|
-
- lib/mongo_mapper/
|
175
|
+
- lib/mongo_mapper/exceptions.rb
|
176
|
+
- lib/mongo_mapper/locale/en.yml
|
177
|
+
- lib/mongo_mapper/document.rb
|
147
178
|
- lib/mongo_mapper/translation.rb
|
148
|
-
-
|
149
|
-
-
|
150
|
-
-
|
151
|
-
-
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
-
|
156
|
-
-
|
157
|
-
-
|
158
|
-
-
|
159
|
-
-
|
160
|
-
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
-
|
164
|
-
-
|
165
|
-
-
|
166
|
-
-
|
167
|
-
-
|
168
|
-
-
|
169
|
-
-
|
170
|
-
-
|
171
|
-
-
|
172
|
-
-
|
173
|
-
-
|
174
|
-
-
|
175
|
-
-
|
176
|
-
-
|
177
|
-
-
|
178
|
-
-
|
179
|
-
-
|
180
|
-
-
|
181
|
-
-
|
182
|
-
-
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
-
|
199
|
-
-
|
200
|
-
-
|
201
|
-
-
|
202
|
-
-
|
203
|
-
-
|
204
|
-
-
|
205
|
-
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
-
|
209
|
-
-
|
210
|
-
-
|
211
|
-
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
219
|
-
-
|
220
|
-
-
|
221
|
-
- test/unit/test_rails_reflect_on_association.rb
|
222
|
-
- test/unit/test_serialization.rb
|
223
|
-
- test/unit/test_time_zones.rb
|
224
|
-
- test/unit/test_translation.rb
|
225
|
-
- test/unit/test_validations.rb
|
179
|
+
- spec/functional/caching_spec.rb
|
180
|
+
- spec/functional/rails_spec.rb
|
181
|
+
- spec/functional/dirty_spec.rb
|
182
|
+
- spec/functional/sci_spec.rb
|
183
|
+
- spec/functional/associations/in_array_proxy_spec.rb
|
184
|
+
- spec/functional/associations/many_polymorphic_proxy_spec.rb
|
185
|
+
- spec/functional/associations/one_as_proxy_spec.rb
|
186
|
+
- spec/functional/associations/belongs_to_proxy_spec.rb
|
187
|
+
- spec/functional/associations/many_documents_as_proxy_spec.rb
|
188
|
+
- spec/functional/associations/many_embedded_proxy_spec.rb
|
189
|
+
- spec/functional/associations/many_documents_proxy_spec.rb
|
190
|
+
- spec/functional/associations/one_proxy_spec.rb
|
191
|
+
- spec/functional/associations/one_embedded_proxy_spec.rb
|
192
|
+
- spec/functional/associations/many_embedded_polymorphic_proxy_spec.rb
|
193
|
+
- spec/functional/associations/belongs_to_polymorphic_proxy_spec.rb
|
194
|
+
- spec/functional/associations/one_embedded_polymorphic_proxy_spec.rb
|
195
|
+
- spec/functional/indexes_spec.rb
|
196
|
+
- spec/functional/userstamps_spec.rb
|
197
|
+
- spec/functional/touch_spec.rb
|
198
|
+
- spec/functional/dumpable_spec.rb
|
199
|
+
- spec/functional/protected_spec.rb
|
200
|
+
- spec/functional/modifiers_spec.rb
|
201
|
+
- spec/functional/pagination_spec.rb
|
202
|
+
- spec/functional/validations_spec.rb
|
203
|
+
- spec/functional/dynamic_querying_spec.rb
|
204
|
+
- spec/functional/equality_spec.rb
|
205
|
+
- spec/functional/callbacks_spec.rb
|
206
|
+
- spec/functional/extensions_spec.rb
|
207
|
+
- spec/functional/querying_spec.rb
|
208
|
+
- spec/functional/scopes_spec.rb
|
209
|
+
- spec/functional/logger_spec.rb
|
210
|
+
- spec/functional/document_spec.rb
|
211
|
+
- spec/functional/timestamps_spec.rb
|
212
|
+
- spec/functional/embedded_document_spec.rb
|
213
|
+
- spec/functional/binary_spec.rb
|
214
|
+
- spec/functional/keys_spec.rb
|
215
|
+
- spec/functional/associations_spec.rb
|
216
|
+
- spec/functional/accessible_spec.rb
|
217
|
+
- spec/functional/identity_map_spec.rb
|
218
|
+
- spec/functional/safe_spec.rb
|
219
|
+
- spec/unit/rails_compatibility_spec.rb
|
220
|
+
- spec/unit/rails_spec.rb
|
221
|
+
- spec/unit/key_spec.rb
|
222
|
+
- spec/unit/clone_spec.rb
|
223
|
+
- spec/unit/associations/many_association_spec.rb
|
224
|
+
- spec/unit/associations/one_association_spec.rb
|
225
|
+
- spec/unit/associations/base_spec.rb
|
226
|
+
- spec/unit/associations/belongs_to_association_spec.rb
|
227
|
+
- spec/unit/associations/proxy_spec.rb
|
228
|
+
- spec/unit/model_generator_spec.rb
|
229
|
+
- spec/unit/serialization_spec.rb
|
230
|
+
- spec/unit/plugins_spec.rb
|
231
|
+
- spec/unit/pagination_spec.rb
|
232
|
+
- spec/unit/validations_spec.rb
|
233
|
+
- spec/unit/equality_spec.rb
|
234
|
+
- spec/unit/config_generator_spec.rb
|
235
|
+
- spec/unit/extensions_spec.rb
|
236
|
+
- spec/unit/rails_reflect_on_association_spec.rb
|
237
|
+
- spec/unit/exceptions_spec.rb
|
238
|
+
- spec/unit/identity_map_middleware_spec.rb
|
239
|
+
- spec/unit/translation_spec.rb
|
240
|
+
- spec/unit/time_zones_spec.rb
|
241
|
+
- spec/unit/document_spec.rb
|
242
|
+
- spec/unit/mongo_mapper_spec.rb
|
243
|
+
- spec/unit/embedded_document_spec.rb
|
244
|
+
- spec/unit/inspect_spec.rb
|
245
|
+
- spec/unit/keys_spec.rb
|
246
|
+
- spec/unit/serializers/json_serializer_spec.rb
|
247
|
+
- spec/unit/serializers/xml_serializer_spec.rb
|
248
|
+
- spec/unit/dynamic_finder_spec.rb
|
249
|
+
- spec/spec_helper.rb
|
250
|
+
- spec/support/matchers.rb
|
251
|
+
- spec/support/models.rb
|
226
252
|
- LICENSE
|
227
253
|
- UPGRADES
|
228
254
|
- README.rdoc
|
229
255
|
homepage: http://mongomapper.com
|
230
|
-
licenses:
|
256
|
+
licenses:
|
257
|
+
- MIT
|
258
|
+
metadata: {}
|
231
259
|
post_install_message:
|
232
260
|
rdoc_options: []
|
233
261
|
require_paths:
|
234
262
|
- lib
|
235
263
|
required_ruby_version: !ruby/object:Gem::Requirement
|
236
|
-
none: false
|
237
264
|
requirements:
|
238
|
-
- -
|
265
|
+
- - '>='
|
239
266
|
- !ruby/object:Gem::Version
|
240
267
|
version: '0'
|
241
|
-
segments:
|
242
|
-
- 0
|
243
|
-
hash: -335898215056105210
|
244
268
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
|
-
none: false
|
246
269
|
requirements:
|
247
|
-
- -
|
270
|
+
- - '>'
|
248
271
|
- !ruby/object:Gem::Version
|
249
|
-
version:
|
250
|
-
segments:
|
251
|
-
- 0
|
252
|
-
hash: -335898215056105210
|
272
|
+
version: 1.3.1
|
253
273
|
requirements: []
|
254
274
|
rubyforge_project:
|
255
|
-
rubygems_version:
|
275
|
+
rubygems_version: 2.0.4
|
256
276
|
signing_key:
|
257
|
-
specification_version:
|
277
|
+
specification_version: 4
|
258
278
|
summary: A Ruby Object Mapper for Mongo
|
259
279
|
test_files: []
|