mongoid 7.2.0.rc1 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/Rakefile +30 -11
  5. data/lib/mongoid/association/referenced/has_one/buildable.rb +8 -0
  6. data/lib/mongoid/association/referenced/has_one/proxy.rb +6 -1
  7. data/lib/mongoid/copyable.rb +5 -1
  8. data/lib/mongoid/extensions.rb +1 -0
  9. data/lib/mongoid/fields.rb +3 -0
  10. data/lib/mongoid/stringified_symbol.rb +53 -0
  11. data/lib/mongoid/version.rb +1 -1
  12. data/spec/README.md +19 -4
  13. data/spec/integration/app_spec.rb +12 -12
  14. data/spec/integration/associations/embeds_many_spec.rb +24 -0
  15. data/spec/integration/associations/embeds_one_spec.rb +24 -0
  16. data/spec/integration/associations/has_many_spec.rb +60 -0
  17. data/spec/integration/associations/has_one_spec.rb +60 -0
  18. data/spec/integration/stringified_symbol_field_spec.rb +190 -0
  19. data/spec/lite_spec_helper.rb +4 -3
  20. data/spec/mongoid/association/referenced/has_many_models.rb +12 -0
  21. data/spec/mongoid/association/referenced/has_one_models.rb +12 -0
  22. data/spec/mongoid/association/referenced/has_one_spec.rb +1 -1
  23. data/spec/mongoid/copyable_spec.rb +44 -17
  24. data/spec/mongoid/copyable_spec_models.rb +14 -0
  25. data/spec/mongoid/equality_spec.rb +0 -1
  26. data/spec/mongoid/extensions/stringified_symbol_spec.rb +85 -0
  27. data/spec/shared/LICENSE +20 -0
  28. data/spec/shared/lib/mrss/child_process_helper.rb +80 -0
  29. data/spec/shared/lib/mrss/constraints.rb +303 -0
  30. data/spec/shared/lib/mrss/lite_constraints.rb +175 -0
  31. data/spec/shared/lib/mrss/spec_organizer.rb +149 -0
  32. data/spec/spec_helper.rb +2 -0
  33. data/spec/support/constraints.rb +0 -226
  34. data/spec/support/models/order.rb +11 -0
  35. data/spec/support/models/person.rb +2 -0
  36. data/spec/support/models/series.rb +1 -0
  37. data/spec/support/models/wiki_page.rb +1 -0
  38. metadata +512 -496
  39. metadata.gz.sig +0 -0
  40. data/spec/support/child_process_helper.rb +0 -79
  41. data/spec/support/lite_constraints.rb +0 -22
  42. data/spec/support/spec_organizer.rb +0 -130
@@ -0,0 +1,149 @@
1
+ autoload :JSON, 'json'
2
+ autoload :FileUtils, 'fileutils'
3
+ autoload :Find, 'find'
4
+
5
+ module Mrss
6
+
7
+ autoload :ChildProcessHelper, 'mrss/child_process_helper'
8
+
9
+ # Organizes and runs all of the tests in the test suite in batches.
10
+ #
11
+ # Organizing the tests in batches serves two purposes:
12
+ #
13
+ # 1. This allows running unit tests before integration tests, therefore
14
+ # in theory revealing failures quicker on average.
15
+ # 2. This allows running some tests that have high intermittent failure rate
16
+ # in their own test process.
17
+ #
18
+ # This class aggregates RSpec results after the test runs.
19
+ class SpecOrganizer
20
+
21
+ class BucketsNotPrioritized < StandardError
22
+ end
23
+
24
+ def initialize(root: nil, classifiers:, priority_order:,
25
+ spec_root: nil, rspec_json_path: nil, rspec_all_json_path: nil
26
+ )
27
+ @spec_root = spec_root || File.join(root, 'spec')
28
+ @classifiers = classifiers
29
+ @priority_order = priority_order
30
+ @rspec_json_path = rspec_json_path || File.join(root, 'tmp/rspec.json')
31
+ @rspec_all_json_path = rspec_all_json_path || File.join(root, 'tmp/rspec-all.json')
32
+ end
33
+
34
+ attr_reader :spec_root, :classifiers, :priority_order
35
+ attr_reader :rspec_json_path, :rspec_all_json_path
36
+
37
+ def buckets
38
+ @buckets ||= {}.tap do |buckets|
39
+ Find.find(spec_root) do |path|
40
+ next unless File.file?(path)
41
+ next unless path =~ /_spec\.rb\z/
42
+ rel_path = path[(spec_root.length + 1)..path.length]
43
+
44
+ found = false
45
+ classifiers.each do |(regexp, category)|
46
+ if regexp =~ rel_path
47
+ buckets[category] ||= []
48
+ buckets[category] << File.join('spec', rel_path)
49
+ found = true
50
+ break
51
+ end
52
+ end
53
+
54
+ unless found
55
+ buckets[nil] ||= []
56
+ buckets[nil] << File.join('spec', rel_path)
57
+ end
58
+ end
59
+ end.freeze
60
+ end
61
+
62
+ def ordered_buckets
63
+ @ordered_buckets ||= {}.tap do |ordered_buckets|
64
+ buckets = self.buckets.dup
65
+ priority_order.each do |category|
66
+ files = buckets.delete(category)
67
+ ordered_buckets[category] = files
68
+ end
69
+
70
+ if files = buckets.delete(nil)
71
+ ordered_buckets[nil] = files
72
+ end
73
+
74
+ unless buckets.empty?
75
+ raise BucketsNotPrioritized, "Some buckets were not prioritized: #{buckets.keys.map(&:to_s).join(', ')}"
76
+ end
77
+ end.freeze
78
+ end
79
+
80
+ def run
81
+ FileUtils.rm_f(rspec_all_json_path)
82
+
83
+ failed = []
84
+ buckets = self.buckets.dup
85
+
86
+ priority_order.each do |category|
87
+ if files = buckets.delete(category)
88
+ unless run_files(category, files)
89
+ failed << category
90
+ end
91
+ end
92
+ end
93
+ if files = buckets.delete(nil)
94
+ unless run_files('remaining', files)
95
+ failed << 'remaining'
96
+ end
97
+ end
98
+
99
+ unless buckets.empty?
100
+ raise "Some buckets were not executed: #{buckets.keys.map(&:to_s).join(', ')}"
101
+ end
102
+
103
+ if failed.any?
104
+ raise "The following buckets failed: #{failed.map(&:to_s).join(', ')}"
105
+ end
106
+ end
107
+
108
+ def run_files(category, paths)
109
+ puts "Running #{category.to_s.gsub('_', ' ')} tests"
110
+ FileUtils.rm_f(rspec_json_path)
111
+ cmd = %w(rspec) + paths
112
+
113
+ begin
114
+ ChildProcessHelper.check_call(cmd)
115
+ ensure
116
+ if File.exist?(rspec_json_path)
117
+ if File.exist?(rspec_all_json_path)
118
+ merge_rspec_results
119
+ else
120
+ FileUtils.cp(rspec_json_path, rspec_all_json_path)
121
+ end
122
+ end
123
+ end
124
+
125
+ true
126
+ rescue ChildProcessHelper::SpawnError
127
+ false
128
+ end
129
+
130
+ def merge_rspec_results
131
+ all = JSON.parse(File.read(rspec_all_json_path))
132
+ new = JSON.parse(File.read(rspec_json_path))
133
+ all['examples'] += new.delete('examples')
134
+ new.delete('summary').each do |k, v|
135
+ all['summary'][k] += v
136
+ end
137
+ new.delete('version')
138
+ new.delete('summary_line')
139
+ unless new.empty?
140
+ raise "Unhandled rspec results keys: #{new.keys.join(', ')}"
141
+ end
142
+ # We do not merge summary lines, delete them from aggregated results
143
+ all.delete('summary_line')
144
+ File.open(rspec_all_json_path, 'w') do |f|
145
+ f << JSON.dump(all)
146
+ end
147
+ end
148
+ end
149
+ end
@@ -35,6 +35,7 @@ require 'support/helpers'
35
35
  require 'support/macros'
36
36
  require 'support/cluster_config'
37
37
  require 'support/constraints'
38
+ require 'mrss/constraints'
38
39
 
39
40
  # Give MongoDB servers time to start up in CI environments
40
41
  if SpecConfig.instance.ci?
@@ -128,6 +129,7 @@ RSpec.configure do |config|
128
129
  config.raise_errors_for_deprecations!
129
130
  config.include(Helpers)
130
131
  config.include(Mongoid::Expectations)
132
+ config.extend(Mrss::Constraints)
131
133
  config.extend(Constraints)
132
134
  config.extend(Mongoid::Macros)
133
135
 
@@ -51,230 +51,4 @@ module Constraints
51
51
  end
52
52
  end
53
53
  end
54
-
55
- def min_server_version(version)
56
- unless version =~ /\A\d+\.\d+\z/
57
- raise ArgumentError, "Version can only be major.minor: #{version}"
58
- end
59
-
60
- before(:all) do
61
- if version > ClusterConfig.instance.server_version
62
- skip "Server version #{version} or higher required, we have #{ClusterConfig.instance.server_version}"
63
- end
64
- end
65
- end
66
-
67
- def max_server_version(version)
68
- unless version =~ /\A\d+\.\d+\z/
69
- raise ArgumentError, "Version can only be major.minor: #{version}"
70
- end
71
-
72
- before(:all) do
73
- if version < ClusterConfig.instance.short_server_version
74
- skip "Server version #{version} or lower required, we have #{ClusterConfig.instance.server_version}"
75
- end
76
- end
77
- end
78
-
79
- def require_topology(*topologies)
80
- invalid_topologies = topologies - [:single, :replica_set, :sharded]
81
-
82
- unless invalid_topologies.empty?
83
- raise ArgumentError, "Invalid topologies requested: #{invalid_topologies.join(', ')}"
84
- end
85
-
86
- before(:all) do
87
- unless topologies.include?(topology = ClusterConfig.instance.topology)
88
- skip "Topology #{topologies.join(' or ')} required, we have #{topology}"
89
- end
90
- end
91
- end
92
-
93
- def max_example_run_time(timeout)
94
- around do |example|
95
- TimeoutInterrupt.timeout(timeout, TimeoutInterrupt::Error.new("Test execution terminated after #{timeout} seconds")) do
96
- example.run
97
- end
98
- end
99
- end
100
-
101
- def require_transaction_support
102
- before(:all) do
103
- case ClusterConfig.instance.topology
104
- when :single
105
- skip 'Transactions tests require a replica set (4.0+) or a sharded cluster (4.2+)'
106
- when :replica_set
107
- unless ClusterConfig.instance.server_version >= '4.0'
108
- skip 'Transactions tests in a replica set topology require server 4.0+'
109
- end
110
- when :sharded
111
- unless ClusterConfig.instance.server_version >= '4.2'
112
- skip 'Transactions tests in a sharded cluster topology require server 4.2+'
113
- end
114
- else
115
- raise NotImplementedError
116
- end
117
- end
118
- end
119
-
120
- def require_tls
121
- before(:all) do
122
- unless SpecConfig.instance.ssl?
123
- skip "SSL not enabled"
124
- end
125
- end
126
- end
127
-
128
- def require_no_tls
129
- before(:all) do
130
- if SpecConfig.instance.ssl?
131
- skip "SSL enabled"
132
- end
133
- end
134
- end
135
-
136
- def require_local_tls
137
- require_tls
138
- end
139
-
140
- def require_no_retry_writes
141
- before(:all) do
142
- if SpecConfig.instance.retry_writes?
143
- skip "Retry writes is enabled"
144
- end
145
- end
146
- end
147
-
148
- def require_compression
149
- before(:all) do
150
- if SpecConfig.instance.compressors.nil?
151
- skip "Compression is not enabled"
152
- end
153
- end
154
- end
155
-
156
- def require_no_compression
157
- before(:all) do
158
- if SpecConfig.instance.compressors
159
- skip "Compression is enabled"
160
- end
161
- end
162
- end
163
-
164
- def ruby_version_gte(version)
165
- before(:all) do
166
- if RUBY_VERSION < version
167
- skip "Ruby version #{version} or higher required"
168
- end
169
- end
170
- end
171
-
172
- def ruby_version_lt(version)
173
- before(:all) do
174
- if RUBY_VERSION >= version
175
- skip "Ruby version less than #{version} required"
176
- end
177
- end
178
- end
179
-
180
- def require_auth
181
- before(:all) do
182
- unless ENV['AUTH'] == 'auth' || SpecConfig.instance.user || ClusterConfig.instance.auth_enabled?
183
- skip "Auth required"
184
- end
185
- end
186
- end
187
-
188
- def require_no_auth
189
- before(:all) do
190
- if ENV['AUTH'] == 'auth' || SpecConfig.instance.user || ClusterConfig.instance.auth_enabled?
191
- skip "Auth not allowed"
192
- end
193
- end
194
- end
195
-
196
- def require_no_x509_auth
197
- before(:all) do
198
- if SpecConfig.instance.x509_auth?
199
- skip "X.509 auth not allowed"
200
- end
201
- end
202
- end
203
-
204
- # Can the driver specify a write concern that won't be overridden?
205
- # (mongos 4.0+ overrides the write concern)
206
- def require_set_write_concern
207
- before(:all) do
208
- if ClusterConfig.instance.topology == :sharded && ClusterConfig.instance.short_server_version >= '4.0'
209
- skip "mongos 4.0+ overrides write concern"
210
- end
211
- end
212
- end
213
-
214
- def require_multi_shard
215
- before(:all) do
216
- if ClusterConfig.instance.topology == :sharded && SpecConfig.instance.addresses.length == 1
217
- skip 'Test requires a minimum of two shards if run in sharded topology'
218
- end
219
- end
220
- end
221
-
222
- def require_no_multi_shard
223
- before(:all) do
224
- if ClusterConfig.instance.topology == :sharded && SpecConfig.instance.addresses.length > 1
225
- skip 'Test requires a single shard if run in sharded topology'
226
- end
227
- end
228
- end
229
-
230
- def require_wired_tiger
231
- before(:all) do
232
- if ClusterConfig.instance.storage_engine != :wired_tiger
233
- skip 'Test requires WiredTiger storage engine'
234
- end
235
- end
236
- end
237
-
238
- def require_wired_tiger_on_36
239
- before(:all) do
240
- if ClusterConfig.instance.short_server_version >= '3.6'
241
- if ClusterConfig.instance.storage_engine != :wired_tiger
242
- skip 'Test requires WiredTiger storage engine on 3.6+ servers'
243
- end
244
- end
245
- end
246
- end
247
-
248
- def require_mmapv1
249
- before(:all) do
250
- if ClusterConfig.instance.storage_engine != :mmapv1
251
- skip 'Test requires MMAPv1 storage engine'
252
- end
253
- end
254
- end
255
-
256
- def require_enterprise
257
- before(:all) do
258
- unless ClusterConfig.instance.enterprise?
259
- skip 'Test requires enterprise build of MongoDB'
260
- end
261
- end
262
- end
263
-
264
- # Integration tests for SRV polling require internet connectivity to
265
- # look up SRV records and a sharded cluster configured on default port on
266
- # localhost (localhost:27017, localhost:27018).
267
- def require_default_port_deployment
268
- # Because the DNS records at test1.test.build.10gen.cc point to
269
- # localhost:27017 & localhost:27018, the test suite must have been
270
- # configured to use these addresses
271
- before(:all) do
272
- have_default_port = SpecConfig.instance.addresses.any? do |address|
273
- %w(127.0.0.1 127.0.0.1:27017 localhost localhost:27017).include?(address)
274
- end
275
- unless have_default_port
276
- skip 'This test requires the test suite to be configured for localhost:27017'
277
- end
278
- end
279
- end
280
54
  end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+ # encoding: utf-8
3
+
4
+ class Order
5
+ include Mongoid::Document
6
+ field :status, type: Mongoid::StringifiedSymbol
7
+
8
+ # This is a dummy field that verifies the Mongoid::Fields::StringifiedSymbol
9
+ # alias.
10
+ field :saved_status, type: StringifiedSymbol
11
+ end
@@ -80,6 +80,7 @@ class Person
80
80
  end
81
81
  embeds_one :quiz, validate: false
82
82
 
83
+ # Must have dependent: :destroy
83
84
  has_one :game, dependent: :destroy, validate: false do
84
85
  def extension
85
86
  "Testing"
@@ -105,6 +106,7 @@ class Person
105
106
  has_and_belongs_to_many :ordered_preferences, order: :value.desc, validate: false
106
107
 
107
108
  has_many :drugs, validate: false
109
+ # Must not have dependent: :destroy
108
110
  has_one :account, validate: false
109
111
  has_one :cat, dependent: :nullify, validate: false, primary_key: :username
110
112
  has_one :book, autobuild: true, validate: false
@@ -3,5 +3,6 @@
3
3
 
4
4
  class Series
5
5
  include Mongoid::Document
6
+ # Must not have dependent: :destroy
6
7
  has_many :books
7
8
  end
@@ -11,6 +11,7 @@ class WikiPage
11
11
  field :description, type: String, localize: true
12
12
 
13
13
  embeds_many :edits, validate: false
14
+ # Must have dependent: :destroy
14
15
  has_many :comments, dependent: :destroy, validate: false
15
16
  has_many :child_pages, class_name: "WikiPage", dependent: :delete_all, inverse_of: :parent_pages
16
17
  belongs_to :parent_pages, class_name: "WikiPage", inverse_of: :child_pages
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.0.rc1
4
+ version: 7.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Durran Jordan
@@ -29,7 +29,7 @@ cert_chain:
29
29
  gpvfPNWMwyBDlHaNS3GfO6cRRxBOvEG05GUCsvtTY4Bpe8yjE64wg1ymb47LMOnv
30
30
  Qb1lGORmf/opg45mluKUYl7pQNZHD0d3
31
31
  -----END CERTIFICATE-----
32
- date: 2020-10-13 00:00:00.000000000 Z
32
+ date: 2020-12-01 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: activemodel
@@ -395,6 +395,7 @@ files:
395
395
  - lib/mongoid/serializable.rb
396
396
  - lib/mongoid/shardable.rb
397
397
  - lib/mongoid/stateful.rb
398
+ - lib/mongoid/stringified_symbol.rb
398
399
  - lib/mongoid/tasks/database.rake
399
400
  - lib/mongoid/tasks/database.rb
400
401
  - lib/mongoid/threaded.rb
@@ -430,6 +431,8 @@ files:
430
431
  - spec/integration/app_spec.rb
431
432
  - spec/integration/associations/belongs_to_spec.rb
432
433
  - spec/integration/associations/embedded_spec.rb
434
+ - spec/integration/associations/embeds_many_spec.rb
435
+ - spec/integration/associations/embeds_one_spec.rb
433
436
  - spec/integration/associations/foreign_key_spec.rb
434
437
  - spec/integration/associations/foreign_key_spec_models.rb
435
438
  - spec/integration/associations/has_many_spec.rb
@@ -477,6 +480,7 @@ files:
477
480
  - spec/integration/matcher_spec.rb
478
481
  - spec/integration/server_query_spec.rb
479
482
  - spec/integration/shardable_spec.rb
483
+ - spec/integration/stringified_symbol_field_spec.rb
480
484
  - spec/lite_spec_helper.rb
481
485
  - spec/mongoid/association/accessors_spec.rb
482
486
  - spec/mongoid/association/auto_save_spec.rb
@@ -680,6 +684,7 @@ files:
680
684
  - spec/mongoid/extensions/regexp_spec.rb
681
685
  - spec/mongoid/extensions/set_spec.rb
682
686
  - spec/mongoid/extensions/string_spec.rb
687
+ - spec/mongoid/extensions/stringified_symbol_spec.rb
683
688
  - spec/mongoid/extensions/symbol_spec.rb
684
689
  - spec/mongoid/extensions/time_spec.rb
685
690
  - spec/mongoid/extensions/time_with_zone_spec.rb
@@ -747,14 +752,17 @@ files:
747
752
  - spec/mongoid_spec.rb
748
753
  - spec/rails/controller_extension/controller_runtime_spec.rb
749
754
  - spec/rails/mongoid_spec.rb
755
+ - spec/shared/LICENSE
756
+ - spec/shared/lib/mrss/child_process_helper.rb
757
+ - spec/shared/lib/mrss/constraints.rb
758
+ - spec/shared/lib/mrss/lite_constraints.rb
759
+ - spec/shared/lib/mrss/spec_organizer.rb
750
760
  - spec/spec_helper.rb
751
761
  - spec/support/authorization.rb
752
- - spec/support/child_process_helper.rb
753
762
  - spec/support/cluster_config.rb
754
763
  - spec/support/constraints.rb
755
764
  - spec/support/expectations.rb
756
765
  - spec/support/helpers.rb
757
- - spec/support/lite_constraints.rb
758
766
  - spec/support/macros.rb
759
767
  - spec/support/models/account.rb
760
768
  - spec/support/models/acolyte.rb
@@ -888,6 +896,7 @@ files:
888
896
  - spec/support/models/node.rb
889
897
  - spec/support/models/note.rb
890
898
  - spec/support/models/odd.rb
899
+ - spec/support/models/order.rb
891
900
  - spec/support/models/ordered_post.rb
892
901
  - spec/support/models/ordered_preference.rb
893
902
  - spec/support/models/oscar.rb
@@ -994,7 +1003,6 @@ files:
994
1003
  - spec/support/session_registry.rb
995
1004
  - spec/support/shared/time.rb
996
1005
  - spec/support/spec_config.rb
997
- - spec/support/spec_organizer.rb
998
1006
  homepage: https://mongoid.org
999
1007
  licenses:
1000
1008
  - MIT
@@ -1019,578 +1027,586 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1019
1027
  - !ruby/object:Gem::Version
1020
1028
  version: 1.3.6
1021
1029
  requirements: []
1022
- rubygems_version: 3.0.3
1030
+ rubyforge_project:
1031
+ rubygems_version: 2.7.6.2
1023
1032
  signing_key:
1024
1033
  specification_version: 4
1025
1034
  summary: Elegant Persistence in Ruby for MongoDB.
1026
1035
  test_files:
1027
- - spec/mongoid/indexable_spec.rb
1028
- - spec/mongoid/scopable_spec.rb
1029
- - spec/mongoid/clients/factory_spec.rb
1030
- - spec/mongoid/clients/options_spec.rb
1031
- - spec/mongoid/clients/sessions_spec.rb
1032
- - spec/mongoid/clients/transactions_spec.rb
1033
- - spec/mongoid/copyable_spec.rb
1034
- - spec/mongoid/changeable_spec.rb
1035
- - spec/mongoid/document_query_spec.rb
1036
- - spec/mongoid/config_spec.rb
1037
- - spec/mongoid/association/eager_spec.rb
1036
+ - spec/spec_helper.rb
1037
+ - spec/config/mongoid.yml
1038
+ - spec/mongoid/composable_spec.rb
1039
+ - spec/mongoid/config/environment_spec.rb
1040
+ - spec/mongoid/config/options_spec.rb
1041
+ - spec/mongoid/fields_spec.rb
1042
+ - spec/mongoid/association/polymorphic_spec.rb
1043
+ - spec/mongoid/association/embedded/embeds_one_spec.rb
1044
+ - spec/mongoid/association/embedded/embeds_many_spec.rb
1045
+ - spec/mongoid/association/embedded/cyclic_spec.rb
1046
+ - spec/mongoid/association/embedded/embedded_in/binding_spec.rb
1047
+ - spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
1048
+ - spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
1049
+ - spec/mongoid/association/embedded/embeds_one/binding_spec.rb
1050
+ - spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
1051
+ - spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
1052
+ - spec/mongoid/association/embedded/embeds_one_dnl_models.rb
1053
+ - spec/mongoid/association/embedded/embeds_many/binding_spec.rb
1054
+ - spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
1055
+ - spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
1056
+ - spec/mongoid/association/embedded/embeds_one_query_spec.rb
1057
+ - spec/mongoid/association/embedded/embeds_many_models.rb
1058
+ - spec/mongoid/association/embedded/embeds_many_query_spec.rb
1059
+ - spec/mongoid/association/embedded/embedded_in_spec.rb
1060
+ - spec/mongoid/association/embedded/embeds_one_models.rb
1061
+ - spec/mongoid/association/embedded/dirty_spec.rb
1038
1062
  - spec/mongoid/association/macros_spec.rb
1039
- - spec/mongoid/association/counter_cache_spec.rb
1040
- - spec/mongoid/association/options_spec.rb
1041
- - spec/mongoid/association/accessors_spec.rb
1042
- - spec/mongoid/association/auto_save_spec.rb
1043
1063
  - spec/mongoid/association/syncable_spec.rb
1064
+ - spec/mongoid/association/auto_save_spec.rb
1044
1065
  - spec/mongoid/association/constrainable_spec.rb
1066
+ - spec/mongoid/association/builders_spec.rb
1067
+ - spec/mongoid/association/eager_spec.rb
1068
+ - spec/mongoid/association/counter_cache_spec.rb
1069
+ - spec/mongoid/association/nested/one_spec.rb
1070
+ - spec/mongoid/association/nested/many_spec.rb
1071
+ - spec/mongoid/association/accessors_spec.rb
1045
1072
  - spec/mongoid/association/depending_spec.rb
1046
- - spec/mongoid/association/referenced/has_one_spec.rb
1047
- - spec/mongoid/association/referenced/has_many/eager_spec.rb
1048
- - spec/mongoid/association/referenced/has_many/binding_spec.rb
1049
- - spec/mongoid/association/referenced/has_many/proxy_query_spec.rb
1050
- - spec/mongoid/association/referenced/has_many/enumerable_spec.rb
1051
- - spec/mongoid/association/referenced/has_many/proxy_spec.rb
1052
- - spec/mongoid/association/referenced/has_many/buildable_spec.rb
1053
- - spec/mongoid/association/referenced/has_one_query_spec.rb
1054
- - spec/mongoid/association/referenced/has_one/eager_spec.rb
1055
- - spec/mongoid/association/referenced/has_one/binding_spec.rb
1056
- - spec/mongoid/association/referenced/has_one/proxy_spec.rb
1057
- - spec/mongoid/association/referenced/has_one/buildable_spec.rb
1058
- - spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb
1059
- - spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
1060
1073
  - spec/mongoid/association/referenced/has_and_belongs_to_many/binding_spec.rb
1061
- - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb
1062
- - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
1063
1074
  - spec/mongoid/association/referenced/has_and_belongs_to_many/buildable_spec.rb
1064
- - spec/mongoid/association/referenced/has_many_models.rb
1075
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/eager_spec.rb
1076
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_spec.rb
1077
+ - spec/mongoid/association/referenced/has_and_belongs_to_many/proxy_persistence_spec.rb
1078
+ - spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
1065
1079
  - spec/mongoid/association/referenced/has_many_query_spec.rb
1080
+ - spec/mongoid/association/referenced/has_one_spec.rb
1081
+ - spec/mongoid/association/referenced/has_one_query_spec.rb
1066
1082
  - spec/mongoid/association/referenced/belongs_to_query_spec.rb
1067
- - spec/mongoid/association/referenced/has_many_spec.rb
1068
- - spec/mongoid/association/referenced/has_and_belongs_to_many_spec.rb
1069
- - spec/mongoid/association/referenced/has_and_belongs_to_many_query_spec.rb
1083
+ - spec/mongoid/association/referenced/has_many_models.rb
1084
+ - spec/mongoid/association/referenced/has_and_belongs_to_many_models.rb
1070
1085
  - spec/mongoid/association/referenced/has_one_models.rb
1071
- - spec/mongoid/association/referenced/belongs_to/eager_spec.rb
1072
1086
  - spec/mongoid/association/referenced/belongs_to/binding_spec.rb
1073
- - spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
1074
1087
  - spec/mongoid/association/referenced/belongs_to/buildable_spec.rb
1088
+ - spec/mongoid/association/referenced/belongs_to/eager_spec.rb
1089
+ - spec/mongoid/association/referenced/belongs_to/proxy_spec.rb
1090
+ - spec/mongoid/association/referenced/has_many/binding_spec.rb
1091
+ - spec/mongoid/association/referenced/has_many/buildable_spec.rb
1092
+ - spec/mongoid/association/referenced/has_many/eager_spec.rb
1093
+ - spec/mongoid/association/referenced/has_many/proxy_query_spec.rb
1094
+ - spec/mongoid/association/referenced/has_many/proxy_spec.rb
1095
+ - spec/mongoid/association/referenced/has_many/enumerable_spec.rb
1096
+ - spec/mongoid/association/referenced/has_one/binding_spec.rb
1097
+ - spec/mongoid/association/referenced/has_one/buildable_spec.rb
1098
+ - spec/mongoid/association/referenced/has_one/eager_spec.rb
1099
+ - spec/mongoid/association/referenced/has_one/proxy_spec.rb
1075
1100
  - spec/mongoid/association/referenced/belongs_to_spec.rb
1076
- - spec/mongoid/association/nested/one_spec.rb
1077
- - spec/mongoid/association/nested/many_spec.rb
1078
- - spec/mongoid/association/builders_spec.rb
1079
- - spec/mongoid/association/polymorphic_spec.rb
1101
+ - spec/mongoid/association/referenced/has_and_belongs_to_many_query_spec.rb
1102
+ - spec/mongoid/association/referenced/has_many_spec.rb
1103
+ - spec/mongoid/association/options_spec.rb
1080
1104
  - spec/mongoid/association/reflections_spec.rb
1081
- - spec/mongoid/association/embedded/embedded_in/binding_spec.rb
1082
- - spec/mongoid/association/embedded/embedded_in/proxy_spec.rb
1083
- - spec/mongoid/association/embedded/embedded_in/buildable_spec.rb
1084
- - spec/mongoid/association/embedded/embeds_many_models.rb
1085
- - spec/mongoid/association/embedded/embeds_one/binding_spec.rb
1086
- - spec/mongoid/association/embedded/embeds_one/proxy_spec.rb
1087
- - spec/mongoid/association/embedded/embeds_one/buildable_spec.rb
1088
- - spec/mongoid/association/embedded/dirty_spec.rb
1089
- - spec/mongoid/association/embedded/embedded_in_spec.rb
1090
- - spec/mongoid/association/embedded/embeds_many_spec.rb
1091
- - spec/mongoid/association/embedded/embeds_many_query_spec.rb
1092
- - spec/mongoid/association/embedded/embeds_one_query_spec.rb
1093
- - spec/mongoid/association/embedded/cyclic_spec.rb
1094
- - spec/mongoid/association/embedded/embeds_one_spec.rb
1095
- - spec/mongoid/association/embedded/embeds_many/binding_spec.rb
1096
- - spec/mongoid/association/embedded/embeds_many/proxy_spec.rb
1097
- - spec/mongoid/association/embedded/embeds_many/buildable_spec.rb
1098
- - spec/mongoid/association/embedded/embeds_one_dnl_models.rb
1099
- - spec/mongoid/association/embedded/embeds_one_models.rb
1100
- - spec/mongoid/tasks/database_spec.rb
1101
- - spec/mongoid/tasks/database_rake_spec.rb
1102
- - spec/mongoid/shardable_spec.rb
1103
- - spec/mongoid/selectable_spec.rb
1104
- - spec/mongoid/copyable_spec_models.rb
1105
- - spec/mongoid/loggable_spec.rb
1106
- - spec/mongoid/atomic_spec.rb
1107
- - spec/mongoid/traversable_spec.rb
1108
- - spec/mongoid/timestamps/updated_spec.rb
1109
- - spec/mongoid/timestamps/created_spec.rb
1110
- - spec/mongoid/timestamps/created/short_spec.rb
1111
- - spec/mongoid/timestamps/updated/short_spec.rb
1112
- - spec/mongoid/timestamps/timeless_spec.rb
1113
- - spec/mongoid/factory_spec.rb
1114
- - spec/mongoid/relations/proxy_spec.rb
1115
- - spec/mongoid/config/environment_spec.rb
1116
- - spec/mongoid/config/options_spec.rb
1117
- - spec/mongoid/contextual/memory_spec.rb
1118
- - spec/mongoid/contextual/none_spec.rb
1119
- - spec/mongoid/contextual/atomic_spec.rb
1120
- - spec/mongoid/contextual/map_reduce_spec.rb
1121
- - spec/mongoid/contextual/mongo_spec.rb
1122
- - spec/mongoid/contextual/aggregable/memory_spec.rb
1123
- - spec/mongoid/contextual/aggregable/mongo_spec.rb
1124
- - spec/mongoid/contextual/geo_near_spec.rb
1125
- - spec/mongoid/fields_spec.rb
1126
- - spec/mongoid/attributes_spec.rb
1127
- - spec/mongoid/document_persistence_context_spec.rb
1128
- - spec/mongoid/findable_spec.rb
1129
- - spec/mongoid/query_cache_spec.rb
1130
- - spec/mongoid/persistence_context_spec.rb
1131
- - spec/mongoid/interceptable_spec.rb
1132
- - spec/mongoid/extensions_spec.rb
1133
- - spec/mongoid/criteria_spec.rb
1134
- - spec/mongoid/composable_spec.rb
1135
- - spec/mongoid/touchable_spec.rb
1136
- - spec/mongoid/matcher/extract_attribute_spec.rb
1137
- - spec/mongoid/matcher/extract_attribute_data/traversal.yml
1138
- - spec/mongoid/atomic/paths_spec.rb
1139
- - spec/mongoid/atomic/paths/root_spec.rb
1140
- - spec/mongoid/atomic/paths/embedded/one_spec.rb
1141
- - spec/mongoid/atomic/paths/embedded/many_spec.rb
1142
- - spec/mongoid/atomic/modifiers_spec.rb
1105
+ - spec/mongoid/reloadable_spec.rb
1143
1106
  - spec/mongoid/indexable/specification_spec.rb
1144
- - spec/mongoid/cacheable_spec.rb
1145
- - spec/mongoid/extensions/regexp_spec.rb
1146
- - spec/mongoid/extensions/big_decimal_spec.rb
1107
+ - spec/mongoid/document_persistence_context_spec.rb
1147
1108
  - spec/mongoid/extensions/date_class_mongoize_spec.rb
1148
1109
  - spec/mongoid/extensions/time_spec.rb
1149
- - spec/mongoid/extensions/boolean_spec.rb
1150
- - spec/mongoid/extensions/object_spec.rb
1151
1110
  - spec/mongoid/extensions/array_spec.rb
1152
1111
  - spec/mongoid/extensions/set_spec.rb
1153
- - spec/mongoid/extensions/hash_spec.rb
1154
- - spec/mongoid/extensions/date_spec.rb
1155
- - spec/mongoid/extensions/module_spec.rb
1156
- - spec/mongoid/extensions/time_with_zone_spec.rb
1157
- - spec/mongoid/extensions/binary_spec.rb
1158
1112
  - spec/mongoid/extensions/date_time_spec.rb
1159
- - spec/mongoid/extensions/false_class_spec.rb
1113
+ - spec/mongoid/extensions/float_spec.rb
1114
+ - spec/mongoid/extensions/nil_class_spec.rb
1115
+ - spec/mongoid/extensions/time_with_zone_spec.rb
1160
1116
  - spec/mongoid/extensions/string_spec.rb
1161
- - spec/mongoid/extensions/range_spec.rb
1162
- - spec/mongoid/extensions/symbol_spec.rb
1117
+ - spec/mongoid/extensions/false_class_spec.rb
1118
+ - spec/mongoid/extensions/module_spec.rb
1119
+ - spec/mongoid/extensions/regexp_spec.rb
1120
+ - spec/mongoid/extensions/binary_spec.rb
1121
+ - spec/mongoid/extensions/object_spec.rb
1122
+ - spec/mongoid/extensions/big_decimal_spec.rb
1163
1123
  - spec/mongoid/extensions/decimal128_spec.rb
1124
+ - spec/mongoid/extensions/boolean_spec.rb
1125
+ - spec/mongoid/extensions/stringified_symbol_spec.rb
1126
+ - spec/mongoid/extensions/symbol_spec.rb
1164
1127
  - spec/mongoid/extensions/integer_spec.rb
1165
- - spec/mongoid/extensions/float_spec.rb
1166
- - spec/mongoid/extensions/nil_class_spec.rb
1167
1128
  - spec/mongoid/extensions/true_class_spec.rb
1168
1129
  - spec/mongoid/extensions/object_id_spec.rb
1169
- - spec/mongoid/timestamps_spec.rb
1170
- - spec/mongoid/stateful_spec.rb
1171
- - spec/mongoid/attributes/readonly_spec.rb
1172
- - spec/mongoid/attributes/dynamic_spec.rb
1173
- - spec/mongoid/attributes/nested_spec.rb
1174
- - spec/mongoid/positional_spec.rb
1175
- - spec/mongoid/persistable_spec.rb
1176
- - spec/mongoid/serializable_spec.rb
1130
+ - spec/mongoid/extensions/range_spec.rb
1131
+ - spec/mongoid/extensions/hash_spec.rb
1132
+ - spec/mongoid/extensions/date_spec.rb
1133
+ - spec/mongoid/touchable_spec.rb
1134
+ - spec/mongoid/validatable_spec.rb
1135
+ - spec/mongoid/equality_spec.rb
1136
+ - spec/mongoid/criteria_spec.rb
1137
+ - spec/mongoid/persistable/pullable_spec.rb
1138
+ - spec/mongoid/persistable/settable_spec.rb
1139
+ - spec/mongoid/persistable/renamable_spec.rb
1177
1140
  - spec/mongoid/persistable/deletable_spec.rb
1178
1141
  - spec/mongoid/persistable/creatable_spec.rb
1179
- - spec/mongoid/persistable/updatable_spec.rb
1180
- - spec/mongoid/persistable/unsettable_spec.rb
1181
- - spec/mongoid/persistable/destroyable_spec.rb
1142
+ - spec/mongoid/persistable/poppable_spec.rb
1182
1143
  - spec/mongoid/persistable/pushable_spec.rb
1183
- - spec/mongoid/persistable/logical_spec.rb
1184
- - spec/mongoid/persistable/settable_spec.rb
1144
+ - spec/mongoid/persistable/destroyable_spec.rb
1145
+ - spec/mongoid/persistable/savable_spec.rb
1185
1146
  - spec/mongoid/persistable/incrementable_spec.rb
1147
+ - spec/mongoid/persistable/updatable_spec.rb
1186
1148
  - spec/mongoid/persistable/upsertable_spec.rb
1187
- - spec/mongoid/persistable/savable_spec.rb
1188
- - spec/mongoid/persistable/pullable_spec.rb
1189
- - spec/mongoid/persistable/renamable_spec.rb
1190
- - spec/mongoid/persistable/poppable_spec.rb
1191
- - spec/mongoid/reloadable_spec.rb
1192
- - spec/mongoid/threaded_spec.rb
1193
- - spec/mongoid/document_fields_spec.rb
1194
- - spec/mongoid/validatable_spec.rb
1149
+ - spec/mongoid/persistable/logical_spec.rb
1150
+ - spec/mongoid/persistable/unsettable_spec.rb
1151
+ - spec/mongoid/association_spec.rb
1152
+ - spec/mongoid/query_cache_middleware_spec.rb
1153
+ - spec/mongoid/clients/sessions_spec.rb
1154
+ - spec/mongoid/clients/factory_spec.rb
1155
+ - spec/mongoid/clients/transactions_spec.rb
1156
+ - spec/mongoid/clients/options_spec.rb
1157
+ - spec/mongoid/document_spec.rb
1158
+ - spec/mongoid/findable_spec.rb
1159
+ - spec/mongoid/copyable_spec_models.rb
1160
+ - spec/mongoid/interceptable_spec.rb
1161
+ - spec/mongoid/factory_spec.rb
1162
+ - spec/mongoid/inspectable_spec.rb
1163
+ - spec/mongoid/scopable_spec.rb
1195
1164
  - spec/mongoid/fields/standard_spec.rb
1196
1165
  - spec/mongoid/fields/localized_spec.rb
1197
1166
  - spec/mongoid/fields/foreign_key_spec.rb
1198
- - spec/mongoid/inspectable_spec.rb
1199
- - spec/mongoid/errors/invalid_options_spec.rb
1200
- - spec/mongoid/errors/mixed_relations_spec.rb
1201
- - spec/mongoid/errors/unsaved_document_spec.rb
1202
- - spec/mongoid/errors/invalid_index_spec.rb
1203
- - spec/mongoid/errors/invalid_scope_spec.rb
1204
- - spec/mongoid/errors/document_not_destroyed_spec.rb
1205
- - spec/mongoid/errors/invalid_storage_options_spec.rb
1206
- - spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
1207
- - spec/mongoid/errors/invalid_relation_spec.rb
1208
- - spec/mongoid/errors/scope_overwrite_spec.rb
1209
- - spec/mongoid/errors/invalid_collection_spec.rb
1210
- - spec/mongoid/errors/mongoid_error_spec.rb
1211
- - spec/mongoid/errors/invalid_path_spec.rb
1212
- - spec/mongoid/errors/invalid_config_option_spec.rb
1213
- - spec/mongoid/errors/unsupported_javascript_spec.rb
1214
- - spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
1215
- - spec/mongoid/errors/no_client_config_spec.rb
1216
- - spec/mongoid/errors/no_metadata_spec.rb
1217
- - spec/mongoid/errors/validations_spec.rb
1218
- - spec/mongoid/errors/no_clients_config_spec.rb
1167
+ - spec/mongoid/validatable/length_spec.rb
1168
+ - spec/mongoid/validatable/associated_spec.rb
1169
+ - spec/mongoid/validatable/format_spec.rb
1170
+ - spec/mongoid/validatable/presence_spec.rb
1171
+ - spec/mongoid/validatable/numericality_spec.rb
1172
+ - spec/mongoid/validatable/uniqueness_spec.rb
1173
+ - spec/mongoid/contextual/geo_near_spec.rb
1174
+ - spec/mongoid/contextual/mongo_spec.rb
1175
+ - spec/mongoid/contextual/memory_spec.rb
1176
+ - spec/mongoid/contextual/aggregable/mongo_spec.rb
1177
+ - spec/mongoid/contextual/aggregable/memory_spec.rb
1178
+ - spec/mongoid/contextual/atomic_spec.rb
1179
+ - spec/mongoid/contextual/none_spec.rb
1180
+ - spec/mongoid/contextual/map_reduce_spec.rb
1181
+ - spec/mongoid/clients_spec.rb
1182
+ - spec/mongoid/persistable_spec.rb
1183
+ - spec/mongoid/atomic/paths/root_spec.rb
1184
+ - spec/mongoid/atomic/paths/embedded/one_spec.rb
1185
+ - spec/mongoid/atomic/paths/embedded/many_spec.rb
1186
+ - spec/mongoid/atomic/modifiers_spec.rb
1187
+ - spec/mongoid/atomic/paths_spec.rb
1188
+ - spec/mongoid/shardable_models.rb
1189
+ - spec/mongoid/timestamps/updated_spec.rb
1190
+ - spec/mongoid/timestamps/created/short_spec.rb
1191
+ - spec/mongoid/timestamps/updated/short_spec.rb
1192
+ - spec/mongoid/timestamps/timeless_spec.rb
1193
+ - spec/mongoid/timestamps/created_spec.rb
1194
+ - spec/mongoid/document_fields_spec.rb
1195
+ - spec/mongoid/serializable_spec.rb
1196
+ - spec/mongoid/extensions_spec.rb
1197
+ - spec/mongoid/positional_spec.rb
1198
+ - spec/mongoid/config_spec.rb
1199
+ - spec/mongoid/cacheable_spec.rb
1200
+ - spec/mongoid/loggable_spec.rb
1201
+ - spec/mongoid/attributes_spec.rb
1202
+ - spec/mongoid/tasks/database_spec.rb
1203
+ - spec/mongoid/tasks/database_rake_spec.rb
1204
+ - spec/mongoid/errors/readonly_document_spec.rb
1205
+ - spec/mongoid/errors/mixed_relations_spec.rb
1206
+ - spec/mongoid/errors/no_metadata_spec.rb
1219
1207
  - spec/mongoid/errors/ambiguous_relationship_spec.rb
1220
- - spec/mongoid/errors/no_client_hosts_spec.rb
1221
- - spec/mongoid/errors/mixed_client_configuration_spec.rb
1222
- - spec/mongoid/errors/no_client_database_spec.rb
1223
- - spec/mongoid/errors/invalid_find_spec.rb
1208
+ - spec/mongoid/errors/invalid_collection_spec.rb
1209
+ - spec/mongoid/errors/invalid_field_spec.rb
1210
+ - spec/mongoid/errors/mongoid_error_spec.rb
1224
1211
  - spec/mongoid/errors/inverse_not_found_spec.rb
1212
+ - spec/mongoid/errors/invalid_index_spec.rb
1213
+ - spec/mongoid/errors/mixed_client_configuration_spec.rb
1214
+ - spec/mongoid/errors/invalid_options_spec.rb
1215
+ - spec/mongoid/errors/no_environment_spec.rb
1225
1216
  - spec/mongoid/errors/unknown_attribute_spec.rb
1226
- - spec/mongoid/errors/invalid_time_spec.rb
1227
- - spec/mongoid/errors/callback_spec.rb
1228
- - spec/mongoid/errors/no_parent_spec.rb
1217
+ - spec/mongoid/errors/readonly_attribute_spec.rb
1218
+ - spec/mongoid/errors/no_client_database_spec.rb
1229
1219
  - spec/mongoid/errors/no_map_reduce_output_spec.rb
1220
+ - spec/mongoid/errors/invalid_config_option_spec.rb
1221
+ - spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
1222
+ - spec/mongoid/errors/invalid_storage_options_spec.rb
1223
+ - spec/mongoid/errors/document_not_destroyed_spec.rb
1224
+ - spec/mongoid/errors/invalid_field_option_spec.rb
1225
+ - spec/mongoid/errors/invalid_relation_spec.rb
1226
+ - spec/mongoid/errors/invalid_find_spec.rb
1230
1227
  - spec/mongoid/errors/document_not_found_spec.rb
1231
- - spec/mongoid/errors/no_environment_spec.rb
1232
- - spec/mongoid/errors/delete_restriction_spec.rb
1233
- - spec/mongoid/errors/readonly_document_spec.rb
1228
+ - spec/mongoid/errors/unsupported_javascript_spec.rb
1234
1229
  - spec/mongoid/errors/invalid_includes_spec.rb
1235
- - spec/mongoid/errors/readonly_attribute_spec.rb
1236
- - spec/mongoid/errors/invalid_field_spec.rb
1237
- - spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
1230
+ - spec/mongoid/errors/invalid_scope_spec.rb
1231
+ - spec/mongoid/errors/callback_spec.rb
1232
+ - spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
1233
+ - spec/mongoid/errors/scope_overwrite_spec.rb
1238
1234
  - spec/mongoid/errors/eager_load_spec.rb
1239
- - spec/mongoid/errors/invalid_field_option_spec.rb
1240
- - spec/mongoid/equality_spec.rb
1241
- - spec/mongoid/association_spec.rb
1242
- - spec/mongoid/criteria/scopable_spec.rb
1243
- - spec/mongoid/criteria/modifiable_spec.rb
1244
- - spec/mongoid/criteria/findable_spec.rb
1245
- - spec/mongoid/criteria/options_spec.rb
1246
- - spec/mongoid/criteria/queryable/storable_spec.rb
1247
- - spec/mongoid/criteria/queryable/selectable_spec.rb
1235
+ - spec/mongoid/errors/invalid_time_spec.rb
1236
+ - spec/mongoid/errors/invalid_path_spec.rb
1237
+ - spec/mongoid/errors/unsaved_document_spec.rb
1238
+ - spec/mongoid/errors/no_parent_spec.rb
1239
+ - spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
1240
+ - spec/mongoid/errors/no_client_hosts_spec.rb
1241
+ - spec/mongoid/errors/no_clients_config_spec.rb
1242
+ - spec/mongoid/errors/validations_spec.rb
1243
+ - spec/mongoid/errors/no_client_config_spec.rb
1244
+ - spec/mongoid/errors/delete_restriction_spec.rb
1245
+ - spec/mongoid/matcher/extract_attribute_spec.rb
1246
+ - spec/mongoid/matcher/extract_attribute_data/traversal.yml
1247
+ - spec/mongoid/traversable_spec.rb
1248
+ - spec/mongoid/atomic_spec.rb
1249
+ - spec/mongoid/shardable_spec.rb
1248
1250
  - spec/mongoid/criteria/queryable/selector_spec.rb
1249
- - spec/mongoid/criteria/queryable/expandable_spec.rb
1250
- - spec/mongoid/criteria/queryable/selectable_logical_spec.rb
1251
- - spec/mongoid/criteria/queryable/options_spec.rb
1252
- - spec/mongoid/criteria/queryable/optional_spec.rb
1253
- - spec/mongoid/criteria/queryable/key_spec.rb
1254
- - spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
1255
- - spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
1256
- - spec/mongoid/criteria/queryable/extensions/time_spec.rb
1257
- - spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
1258
1251
  - spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
1259
- - spec/mongoid/criteria/queryable/extensions/object_spec.rb
1252
+ - spec/mongoid/criteria/queryable/extensions/time_spec.rb
1260
1253
  - spec/mongoid/criteria/queryable/extensions/array_spec.rb
1261
1254
  - spec/mongoid/criteria/queryable/extensions/set_spec.rb
1262
- - spec/mongoid/criteria/queryable/extensions/hash_spec.rb
1263
- - spec/mongoid/criteria/queryable/extensions/date_spec.rb
1264
- - spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
1265
1255
  - spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
1266
- - spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
1267
- - spec/mongoid/criteria/queryable/extensions/string_spec.rb
1268
- - spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
1269
- - spec/mongoid/criteria/queryable/extensions/range_spec.rb
1270
1256
  - spec/mongoid/criteria/queryable/extensions/numeric_spec.rb
1271
- - spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
1272
- - spec/mongoid/criteria/queryable/extensions/integer_spec.rb
1273
1257
  - spec/mongoid/criteria/queryable/extensions/float_spec.rb
1258
+ - spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
1274
1259
  - spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
1275
- - spec/mongoid/criteria/queryable/smash_spec.rb
1276
- - spec/mongoid/criteria/queryable/aggregable_spec.rb
1277
- - spec/mongoid/criteria/queryable/mergeable_spec.rb
1260
+ - spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
1261
+ - spec/mongoid/criteria/queryable/extensions/string_spec.rb
1262
+ - spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
1263
+ - spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
1264
+ - spec/mongoid/criteria/queryable/extensions/object_spec.rb
1265
+ - spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
1266
+ - spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
1267
+ - spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
1268
+ - spec/mongoid/criteria/queryable/extensions/integer_spec.rb
1269
+ - spec/mongoid/criteria/queryable/extensions/range_spec.rb
1270
+ - spec/mongoid/criteria/queryable/extensions/hash_spec.rb
1271
+ - spec/mongoid/criteria/queryable/extensions/date_spec.rb
1272
+ - spec/mongoid/criteria/queryable/storable_spec.rb
1278
1273
  - spec/mongoid/criteria/queryable/pipeline_spec.rb
1274
+ - spec/mongoid/criteria/queryable/selectable_logical_spec.rb
1275
+ - spec/mongoid/criteria/queryable/optional_spec.rb
1276
+ - spec/mongoid/criteria/queryable/mergeable_spec.rb
1279
1277
  - spec/mongoid/criteria/queryable/queryable_spec.rb
1278
+ - spec/mongoid/criteria/queryable/aggregable_spec.rb
1279
+ - spec/mongoid/criteria/queryable/expandable_spec.rb
1280
+ - spec/mongoid/criteria/queryable/smash_spec.rb
1281
+ - spec/mongoid/criteria/queryable/key_spec.rb
1282
+ - spec/mongoid/criteria/queryable/options_spec.rb
1283
+ - spec/mongoid/criteria/queryable/selectable_spec.rb
1280
1284
  - spec/mongoid/criteria/marshalable_spec.rb
1285
+ - spec/mongoid/criteria/findable_spec.rb
1281
1286
  - spec/mongoid/criteria/inspectable_spec.rb
1282
- - spec/mongoid/validatable/presence_spec.rb
1283
- - spec/mongoid/validatable/associated_spec.rb
1284
- - spec/mongoid/validatable/uniqueness_spec.rb
1285
- - spec/mongoid/validatable/format_spec.rb
1286
- - spec/mongoid/validatable/numericality_spec.rb
1287
- - spec/mongoid/validatable/length_spec.rb
1288
- - spec/mongoid/document_spec.rb
1287
+ - spec/mongoid/criteria/scopable_spec.rb
1288
+ - spec/mongoid/criteria/modifiable_spec.rb
1289
+ - spec/mongoid/criteria/options_spec.rb
1290
+ - spec/mongoid/persistence_context_spec.rb
1291
+ - spec/mongoid/relations/proxy_spec.rb
1292
+ - spec/mongoid/query_cache_spec.rb
1293
+ - spec/mongoid/timestamps_spec.rb
1294
+ - spec/mongoid/changeable_spec.rb
1295
+ - spec/mongoid/stateful_spec.rb
1296
+ - spec/mongoid/attributes/readonly_spec.rb
1297
+ - spec/mongoid/attributes/nested_spec.rb
1298
+ - spec/mongoid/attributes/dynamic_spec.rb
1289
1299
  - spec/mongoid/interceptable_spec_models.rb
1290
- - spec/mongoid/query_cache_middleware_spec.rb
1291
- - spec/mongoid/shardable_models.rb
1292
- - spec/mongoid/clients_spec.rb
1293
- - spec/spec_helper.rb
1294
- - spec/config/mongoid.yml
1295
- - spec/integration/matcher_spec.rb
1296
- - spec/integration/associations/has_one_spec.rb
1297
- - spec/integration/associations/nested_attributes_assignment_spec.rb
1298
- - spec/integration/associations/embedded_spec.rb
1299
- - spec/integration/associations/reverse_population_spec_models.rb
1300
- - spec/integration/associations/foreign_key_spec.rb
1301
- - spec/integration/associations/has_many_spec.rb
1302
- - spec/integration/associations/foreign_key_spec_models.rb
1303
- - spec/integration/associations/belongs_to_spec.rb
1304
- - spec/integration/associations/reverse_population_spec.rb
1305
- - spec/integration/shardable_spec.rb
1306
- - spec/integration/server_query_spec.rb
1307
- - spec/integration/discriminator_value_spec.rb
1308
- - spec/integration/atomic/modifiers_spec.rb
1309
- - spec/integration/discriminator_key_spec.rb
1310
- - spec/integration/matcher_examples_spec.rb
1311
- - spec/integration/bson_regexp_raw_spec.rb
1312
- - spec/integration/matcher_operator_data/nor.yml
1313
- - spec/integration/matcher_operator_data/exists.yml
1314
- - spec/integration/matcher_operator_data/or.yml
1315
- - spec/integration/matcher_operator_data/not.yml
1316
- - spec/integration/matcher_operator_data/invalid_syntax.yml
1317
- - spec/integration/matcher_operator_data/ne.yml
1318
- - spec/integration/matcher_operator_data/elem_match.yml
1319
- - spec/integration/matcher_operator_data/gte.yml
1320
- - spec/integration/matcher_operator_data/implicit_traversal.yml
1321
- - spec/integration/matcher_operator_data/elem_match_expr.yml
1322
- - spec/integration/matcher_operator_data/multiple.yml
1323
- - spec/integration/matcher_operator_data/generic_op.yml
1324
- - spec/integration/matcher_operator_data/eq.yml
1325
- - spec/integration/matcher_operator_data/all.yml
1326
- - spec/integration/matcher_operator_data/in.yml
1327
- - spec/integration/matcher_operator_data/and.yml
1328
- - spec/integration/matcher_operator_data/nin.yml
1329
- - spec/integration/matcher_operator_data/gt.yml
1330
- - spec/integration/matcher_operator_data/regex_options.yml
1331
- - spec/integration/matcher_operator_data/invalid_op.yml
1332
- - spec/integration/matcher_operator_data/lte.yml
1333
- - spec/integration/matcher_operator_data/implicit.yml
1334
- - spec/integration/matcher_operator_data/lt.yml
1335
- - spec/integration/matcher_operator_data/size.yml
1336
- - spec/integration/matcher_operator_data/regex.yml
1337
- - spec/integration/app_spec.rb
1338
- - spec/integration/criteria/date_field_spec.rb
1339
- - spec/integration/criteria/time_with_zone_spec.rb
1340
- - spec/integration/criteria/logical_spec.rb
1341
- - spec/integration/criteria/default_scope_spec.rb
1342
- - spec/integration/document_spec.rb
1343
- - spec/integration/matcher_operator_spec.rb
1344
- - spec/integration/i18n_fallbacks_spec.rb
1345
- - spec/mongoid_spec.rb
1346
- - spec/lite_spec_helper.rb
1300
+ - spec/mongoid/indexable_spec.rb
1301
+ - spec/mongoid/document_query_spec.rb
1302
+ - spec/mongoid/selectable_spec.rb
1303
+ - spec/mongoid/copyable_spec.rb
1304
+ - spec/mongoid/threaded_spec.rb
1305
+ - spec/shared/lib/mrss/constraints.rb
1306
+ - spec/shared/lib/mrss/lite_constraints.rb
1307
+ - spec/shared/lib/mrss/child_process_helper.rb
1308
+ - spec/shared/lib/mrss/spec_organizer.rb
1309
+ - spec/shared/LICENSE
1347
1310
  - spec/README.md
1348
- - spec/support/helpers.rb
1349
- - spec/support/session_registry.rb
1350
- - spec/support/child_process_helper.rb
1351
- - spec/support/constraints.rb
1352
- - spec/support/lite_constraints.rb
1353
- - spec/support/macros.rb
1354
- - spec/support/expectations.rb
1355
- - spec/support/shared/time.rb
1356
- - spec/support/models/draft.rb
1357
- - spec/support/models/fish.rb
1358
- - spec/support/models/word.rb
1359
- - spec/support/models/image.rb
1360
- - spec/support/models/short_agent.rb
1361
- - spec/support/models/courier_job.rb
1362
- - spec/support/models/eye_bowl.rb
1363
- - spec/support/models/song.rb
1364
- - spec/support/models/thing.rb
1365
- - spec/support/models/membership.rb
1366
- - spec/support/models/note.rb
1367
- - spec/support/models/shop.rb
1368
- - spec/support/models/tool.rb
1369
- - spec/support/models/doctor.rb
1370
- - spec/support/models/video.rb
1371
- - spec/support/models/title.rb
1372
- - spec/support/models/account.rb
1373
- - spec/support/models/other_owner_object.rb
1374
- - spec/support/models/learner.rb
1375
- - spec/support/models/face.rb
1376
- - spec/support/models/alert.rb
1377
- - spec/support/models/explosion.rb
1378
- - spec/support/models/article.rb
1379
- - spec/support/models/category.rb
1380
- - spec/support/models/acolyte.rb
1381
- - spec/support/models/tag.rb
1382
- - spec/support/models/override.rb
1383
- - spec/support/models/item.rb
1384
- - spec/support/models/odd.rb
1385
- - spec/support/models/canvas.rb
1386
- - spec/support/models/actress.rb
1387
- - spec/support/models/circus.rb
1388
- - spec/support/models/actor.rb
1389
- - spec/support/models/manufacturer.rb
1311
+ - spec/lite_spec_helper.rb
1312
+ - spec/support/authorization.rb
1390
1313
  - spec/support/models/contextable_item.rb
1391
- - spec/support/models/system_role.rb
1392
- - spec/support/models/login.rb
1393
- - spec/support/models/node.rb
1394
- - spec/support/models/shipping_container.rb
1395
- - spec/support/models/square.rb
1396
- - spec/support/models/audio.rb
1397
- - spec/support/models/piano.rb
1398
- - spec/support/models/publication/review.rb
1399
- - spec/support/models/publication/encyclopedia.rb
1400
- - spec/support/models/short_quiz.rb
1401
- - spec/support/models/scheduler.rb
1402
- - spec/support/models/exhibition.rb
1403
- - spec/support/models/pet_owner.rb
1404
- - spec/support/models/employer.rb
1405
- - spec/support/models/appointment.rb
1406
- - spec/support/models/driver.rb
1407
- - spec/support/models/simple.rb
1408
- - spec/support/models/toy.rb
1409
- - spec/support/models/ghost.rb
1410
- - spec/support/models/page_question.rb
1411
- - spec/support/models/bed.rb
1412
- - spec/support/models/instrument.rb
1413
- - spec/support/models/country_code.rb
1414
- - spec/support/models/name.rb
1415
- - spec/support/models/dictionary.rb
1416
- - spec/support/models/baby.rb
1417
- - spec/support/models/label.rb
1418
- - spec/support/models/entry.rb
1419
- - spec/support/models/language.rb
1314
+ - spec/support/models/alert.rb
1315
+ - spec/support/models/dragon.rb
1316
+ - spec/support/models/post.rb
1317
+ - spec/support/models/truck.rb
1318
+ - spec/support/models/slave.rb
1319
+ - spec/support/models/page.rb
1320
+ - spec/support/models/exhibitor.rb
1321
+ - spec/support/models/odd.rb
1322
+ - spec/support/models/building.rb
1323
+ - spec/support/models/armrest.rb
1324
+ - spec/support/models/line_item.rb
1325
+ - spec/support/models/jar.rb
1326
+ - spec/support/models/description.rb
1327
+ - spec/support/models/face.rb
1328
+ - spec/support/models/agent.rb
1329
+ - spec/support/models/quiz.rb
1330
+ - spec/support/models/circuit.rb
1331
+ - spec/support/models/message.rb
1332
+ - spec/support/models/ownable.rb
1333
+ - spec/support/models/shape.rb
1420
1334
  - spec/support/models/definition.rb
1335
+ - spec/support/models/pet.rb
1336
+ - spec/support/models/pdf_writer.rb
1337
+ - spec/support/models/pet_owner.rb
1338
+ - spec/support/models/courier_job.rb
1421
1339
  - spec/support/models/store_as_dup_test2.rb
1422
- - spec/support/models/agent.rb
1423
- - spec/support/models/publication.rb
1424
- - spec/support/models/shipment_address.rb
1425
- - spec/support/models/array_field.rb
1426
- - spec/support/models/kangaroo.rb
1427
- - spec/support/models/my_hash.rb
1428
- - spec/support/models/favorite.rb
1429
- - spec/support/models/ordered_preference.rb
1430
- - spec/support/models/translation.rb
1431
- - spec/support/models/breed.rb
1432
- - spec/support/models/email.rb
1433
- - spec/support/models/slave.rb
1434
- - spec/support/models/lat_lng.rb
1435
- - spec/support/models/child.rb
1436
- - spec/support/models/word_origin.rb
1340
+ - spec/support/models/powerup.rb
1341
+ - spec/support/models/role.rb
1342
+ - spec/support/models/eye.rb
1343
+ - spec/support/models/business.rb
1344
+ - spec/support/models/dungeon.rb
1345
+ - spec/support/models/author.rb
1346
+ - spec/support/models/address_component.rb
1437
1347
  - spec/support/models/guitar.rb
1438
- - spec/support/models/shape.rb
1439
- - spec/support/models/product.rb
1440
- - spec/support/models/writer.rb
1441
- - spec/support/models/book.rb
1442
- - spec/support/models/target.rb
1443
- - spec/support/models/crate.rb
1444
- - spec/support/models/dog.rb
1445
- - spec/support/models/record.rb
1348
+ - spec/support/models/item.rb
1349
+ - spec/support/models/code.rb
1350
+ - spec/support/models/account.rb
1351
+ - spec/support/models/store_as_dup_test1.rb
1352
+ - spec/support/models/entry.rb
1353
+ - spec/support/models/folder.rb
1354
+ - spec/support/models/contractor.rb
1355
+ - spec/support/models/seo.rb
1446
1356
  - spec/support/models/template.rb
1447
- - spec/support/models/bar.rb
1448
1357
  - spec/support/models/birthday.rb
1449
- - spec/support/models/powerup.rb
1450
- - spec/support/models/movie.rb
1451
- - spec/support/models/dokument.rb
1452
- - spec/support/models/fire_hydrant.rb
1358
+ - spec/support/models/pizza.rb
1359
+ - spec/support/models/short_quiz.rb
1360
+ - spec/support/models/cookie.rb
1361
+ - spec/support/models/doctor.rb
1362
+ - spec/support/models/word_origin.rb
1453
1363
  - spec/support/models/car.rb
1364
+ - spec/support/models/my_hash.rb
1365
+ - spec/support/models/bus.rb
1366
+ - spec/support/models/topping.rb
1367
+ - spec/support/models/id_key.rb
1368
+ - spec/support/models/override.rb
1369
+ - spec/support/models/parent_doc.rb
1370
+ - spec/support/models/scribe.rb
1371
+ - spec/support/models/band.rb
1372
+ - spec/support/models/address_number.rb
1373
+ - spec/support/models/html_writer.rb
1374
+ - spec/support/models/folder_item.rb
1375
+ - spec/support/models/game.rb
1376
+ - spec/support/models/short_agent.rb
1377
+ - spec/support/models/article.rb
1454
1378
  - spec/support/models/shipping_pack.rb
1379
+ - spec/support/models/employer.rb
1380
+ - spec/support/models/sound.rb
1381
+ - spec/support/models/scheduler.rb
1382
+ - spec/support/models/series.rb
1383
+ - spec/support/models/rating.rb
1384
+ - spec/support/models/manufacturer.rb
1385
+ - spec/support/models/purchase.rb
1386
+ - spec/support/models/fish.rb
1387
+ - spec/support/models/profile.rb
1388
+ - spec/support/models/dictionary.rb
1389
+ - spec/support/models/bomb.rb
1390
+ - spec/support/models/server.rb
1391
+ - spec/support/models/animal.rb
1392
+ - spec/support/models/lat_lng.rb
1393
+ - spec/support/models/other_owner_object.rb
1394
+ - spec/support/models/consumption_period.rb
1395
+ - spec/support/models/array_field.rb
1396
+ - spec/support/models/note.rb
1455
1397
  - spec/support/models/post_genre.rb
1456
- - spec/support/models/location.rb
1398
+ - spec/support/models/explosion.rb
1399
+ - spec/support/models/login.rb
1400
+ - spec/support/models/cat.rb
1401
+ - spec/support/models/word.rb
1402
+ - spec/support/models/tool.rb
1403
+ - spec/support/models/shipment_address.rb
1404
+ - spec/support/models/minim.rb
1405
+ - spec/support/models/big_palette.rb
1457
1406
  - spec/support/models/name_only.rb
1458
- - spec/support/models/eraser.rb
1459
- - spec/support/models/weapon.rb
1460
- - spec/support/models/album.rb
1461
- - spec/support/models/cookie.rb
1462
- - spec/support/models/browser.rb
1463
- - spec/support/models/artist.rb
1464
- - spec/support/models/business.rb
1465
- - spec/support/models/player.rb
1466
- - spec/support/models/store_as_dup_test3.rb
1467
- - spec/support/models/basic.rb
1468
- - spec/support/models/sub_item.rb
1469
- - spec/support/models/wiki_page.rb
1470
- - spec/support/models/fruits.rb
1471
- - spec/support/models/validation_callback.rb
1472
- - spec/support/models/bus.rb
1473
- - spec/support/models/mop.rb
1407
+ - spec/support/models/square.rb
1474
1408
  - spec/support/models/strategy.rb
1475
- - spec/support/models/page.rb
1409
+ - spec/support/models/preference.rb
1410
+ - spec/support/models/house.rb
1411
+ - spec/support/models/child.rb
1412
+ - spec/support/models/vet_visit.rb
1413
+ - spec/support/models/even.rb
1414
+ - spec/support/models/song.rb
1415
+ - spec/support/models/mop.rb
1416
+ - spec/support/models/page_question.rb
1417
+ - spec/support/models/parent.rb
1418
+ - spec/support/models/video.rb
1419
+ - spec/support/models/writer.rb
1420
+ - spec/support/models/pencil.rb
1421
+ - spec/support/models/idnodef.rb
1422
+ - spec/support/models/filesystem.rb
1423
+ - spec/support/models/country_code.rb
1424
+ - spec/support/models/crate.rb
1425
+ - spec/support/models/comment.rb
1426
+ - spec/support/models/princess.rb
1427
+ - spec/support/models/book.rb
1428
+ - spec/support/models/mixed_drink.rb
1429
+ - spec/support/models/user.rb
1430
+ - spec/support/models/drug.rb
1431
+ - spec/support/models/address.rb
1432
+ - spec/support/models/edit.rb
1433
+ - spec/support/models/kaleidoscope.rb
1434
+ - spec/support/models/target.rb
1435
+ - spec/support/models/kangaroo.rb
1436
+ - spec/support/models/dokument.rb
1437
+ - spec/support/models/person.rb
1438
+ - spec/support/models/publication/review.rb
1439
+ - spec/support/models/publication/encyclopedia.rb
1440
+ - spec/support/models/eye_bowl.rb
1441
+ - spec/support/models/meat.rb
1442
+ - spec/support/models/palette.rb
1443
+ - spec/support/models/language.rb
1444
+ - spec/support/models/eraser.rb
1445
+ - spec/support/models/actress.rb
1446
+ - spec/support/models/thing.rb
1476
1447
  - spec/support/models/church.rb
1448
+ - spec/support/models/league.rb
1449
+ - spec/support/models/toy.rb
1450
+ - spec/support/models/vehicle.rb
1451
+ - spec/support/models/seat.rb
1452
+ - spec/support/models/home.rb
1453
+ - spec/support/models/circus.rb
1454
+ - spec/support/models/callback_test.rb
1477
1455
  - spec/support/models/vertex.rb
1478
- - spec/support/models/message.rb
1479
- - spec/support/models/store_as_dup_test4.rb
1480
- - spec/support/models/sandwich.rb
1481
- - spec/support/models/edit.rb
1456
+ - spec/support/models/category.rb
1482
1457
  - spec/support/models/deed.rb
1483
- - spec/support/models/animal.rb
1484
- - spec/support/models/vehicle.rb
1485
- - spec/support/models/code.rb
1486
- - spec/support/models/drug.rb
1487
- - spec/support/models/series.rb
1488
- - spec/support/models/mixed_drink.rb
1489
- - spec/support/models/parent.rb
1490
- - spec/support/models/author.rb
1491
- - spec/support/models/question.rb
1458
+ - spec/support/models/image.rb
1492
1459
  - spec/support/models/implant.rb
1493
- - spec/support/models/id_key.rb
1460
+ - spec/support/models/augmentation.rb
1461
+ - spec/support/models/child_doc.rb
1462
+ - spec/support/models/store_as_dup_test3.rb
1463
+ - spec/support/models/record.rb
1464
+ - spec/support/models/building_address.rb
1465
+ - spec/support/models/label.rb
1466
+ - spec/support/models/track.rb
1467
+ - spec/support/models/validation_callback.rb
1468
+ - spec/support/models/ordered_preference.rb
1469
+ - spec/support/models/movie.rb
1470
+ - spec/support/models/tag.rb
1471
+ - spec/support/models/album.rb
1472
+ - spec/support/models/simple.rb
1473
+ - spec/support/models/ghost.rb
1474
+ - spec/support/models/name.rb
1475
+ - spec/support/models/fruits.rb
1494
1476
  - spec/support/models/delegating_patient.rb
1495
- - spec/support/models/palette.rb
1496
- - spec/support/models/owner.rb
1497
- - spec/support/models/address_component.rb
1498
- - spec/support/models/purchase.rb
1499
- - spec/support/models/truck.rb
1500
- - spec/support/models/role.rb
1501
- - spec/support/models/princess.rb
1502
- - spec/support/models/vet_visit.rb
1503
- - spec/support/models/cat.rb
1504
- - spec/support/models/folder.rb
1505
- - spec/support/models/league.rb
1506
- - spec/support/models/store_as_dup_test1.rb
1507
- - spec/support/models/scribe.rb
1508
- - spec/support/models/house.rb
1477
+ - spec/support/models/node.rb
1478
+ - spec/support/models/appointment.rb
1479
+ - spec/support/models/symptom.rb
1480
+ - spec/support/models/membership.rb
1481
+ - spec/support/models/tree.rb
1482
+ - spec/support/models/division.rb
1483
+ - spec/support/models/coding.rb
1484
+ - spec/support/models/sandwich.rb
1485
+ - spec/support/models/video_game.rb
1486
+ - spec/support/models/baby.rb
1487
+ - spec/support/models/question.rb
1488
+ - spec/support/models/email.rb
1509
1489
  - spec/support/models/patient.rb
1510
- - spec/support/models/rating.rb
1511
- - spec/support/models/track.rb
1512
- - spec/support/models/registry.rb
1513
- - spec/support/models/dragon.rb
1514
- - spec/support/models/building.rb
1515
- - spec/support/models/circle.rb
1516
- - spec/support/models/game.rb
1517
- - spec/support/models/meat.rb
1518
- - spec/support/models/idnodef.rb
1519
- - spec/support/models/oscar.rb
1520
- - spec/support/models/armrest.rb
1490
+ - spec/support/models/agency.rb
1491
+ - spec/support/models/wiki_page.rb
1492
+ - spec/support/models/publication.rb
1493
+ - spec/support/models/artwork.rb
1521
1494
  - spec/support/models/pub.rb
1522
- - spec/support/models/dungeon.rb
1523
- - spec/support/models/callback_test.rb
1524
- - spec/support/models/user_account.rb
1495
+ - spec/support/models/fire_hydrant.rb
1496
+ - spec/support/models/piano.rb
1497
+ - spec/support/models/shelf.rb
1498
+ - spec/support/models/browser.rb
1499
+ - spec/support/models/order.rb
1500
+ - spec/support/models/product.rb
1501
+ - spec/support/models/company.rb
1502
+ - spec/support/models/circle.rb
1503
+ - spec/support/models/survey.rb
1504
+ - spec/support/models/translation.rb
1505
+ - spec/support/models/driver.rb
1506
+ - spec/support/models/version.rb
1507
+ - spec/support/models/store_as_dup_test4.rb
1508
+ - spec/support/models/learner.rb
1509
+ - spec/support/models/bar.rb
1510
+ - spec/support/models/owner.rb
1511
+ - spec/support/models/sub_item.rb
1512
+ - spec/support/models/dog.rb
1513
+ - spec/support/models/service.rb
1514
+ - spec/support/models/shipping_container.rb
1515
+ - spec/support/models/root_category.rb
1525
1516
  - spec/support/models/ordered_post.rb
1526
- - spec/support/models/contractor.rb
1527
- - spec/support/models/eye.rb
1528
- - spec/support/models/filesystem.rb
1529
- - spec/support/models/profile.rb
1530
- - spec/support/models/pizza.rb
1531
- - spec/support/models/building_address.rb
1532
- - spec/support/models/augmentation.rb
1533
- - spec/support/models/answer.rb
1517
+ - spec/support/models/event.rb
1518
+ - spec/support/models/favorite.rb
1519
+ - spec/support/models/pack.rb
1520
+ - spec/support/models/instrument.rb
1521
+ - spec/support/models/user_account.rb
1522
+ - spec/support/models/actor.rb
1523
+ - spec/support/models/pronunciation.rb
1534
1524
  - spec/support/models/firefox.rb
1525
+ - spec/support/models/weapon.rb
1526
+ - spec/support/models/oscar.rb
1527
+ - spec/support/models/basic.rb
1528
+ - spec/support/models/exhibition.rb
1529
+ - spec/support/models/breed.rb
1530
+ - spec/support/models/bed.rb
1531
+ - spec/support/models/audio.rb
1532
+ - spec/support/models/shop.rb
1533
+ - spec/support/models/answer.rb
1534
+ - spec/support/models/acolyte.rb
1535
1535
  - spec/support/models/coding/pull_request.rb
1536
- - spec/support/models/pet.rb
1537
- - spec/support/models/parent_doc.rb
1538
- - spec/support/models/company.rb
1539
- - spec/support/models/version.rb
1540
- - spec/support/models/child_doc.rb
1541
- - spec/support/models/home.rb
1542
- - spec/support/models/staff.rb
1543
- - spec/support/models/even.rb
1544
- - spec/support/models/pdf_writer.rb
1545
- - spec/support/models/description.rb
1536
+ - spec/support/models/title.rb
1537
+ - spec/support/models/registry.rb
1538
+ - spec/support/models/phone.rb
1546
1539
  - spec/support/models/updatable.rb
1547
- - spec/support/models/comment.rb
1548
- - spec/support/models/video_game.rb
1549
- - spec/support/models/circuit.rb
1550
- - spec/support/models/minim.rb
1551
- - spec/support/models/person.rb
1540
+ - spec/support/models/staff.rb
1541
+ - spec/support/models/system_role.rb
1542
+ - spec/support/models/canvas.rb
1543
+ - spec/support/models/location.rb
1552
1544
  - spec/support/models/passport.rb
1553
- - spec/support/models/jar.rb
1554
- - spec/support/models/agency.rb
1555
- - spec/support/models/folder_item.rb
1556
- - spec/support/models/coding.rb
1545
+ - spec/support/models/player.rb
1546
+ - spec/support/models/draft.rb
1557
1547
  - spec/support/models/subscription.rb
1558
- - spec/support/models/seo.rb
1559
- - spec/support/models/pronunciation.rb
1560
- - spec/support/models/root_category.rb
1561
- - spec/support/models/seat.rb
1562
- - spec/support/models/exhibitor.rb
1563
- - spec/support/models/band.rb
1564
- - spec/support/models/pencil.rb
1565
- - spec/support/models/symptom.rb
1566
- - spec/support/models/survey.rb
1567
- - spec/support/models/consumption_period.rb
1568
- - spec/support/models/post.rb
1569
- - spec/support/models/address.rb
1570
- - spec/support/models/sound.rb
1571
- - spec/support/models/phone.rb
1572
- - spec/support/models/topping.rb
1573
- - spec/support/models/ownable.rb
1574
- - spec/support/models/line_item.rb
1575
- - spec/support/models/pack.rb
1576
- - spec/support/models/division.rb
1577
- - spec/support/models/bomb.rb
1578
- - spec/support/models/big_palette.rb
1579
- - spec/support/models/event.rb
1580
- - spec/support/models/shelf.rb
1581
- - spec/support/models/server.rb
1582
- - spec/support/models/html_writer.rb
1583
- - spec/support/models/quiz.rb
1584
- - spec/support/models/preference.rb
1585
- - spec/support/models/service.rb
1586
- - spec/support/models/user.rb
1587
- - spec/support/models/tree.rb
1588
- - spec/support/models/address_number.rb
1589
- - spec/support/models/kaleidoscope.rb
1590
- - spec/support/models/artwork.rb
1591
- - spec/support/authorization.rb
1592
- - spec/support/spec_config.rb
1548
+ - spec/support/models/artist.rb
1549
+ - spec/support/shared/time.rb
1550
+ - spec/support/session_registry.rb
1551
+ - spec/support/helpers.rb
1552
+ - spec/support/macros.rb
1553
+ - spec/support/expectations.rb
1554
+ - spec/support/constraints.rb
1593
1555
  - spec/support/cluster_config.rb
1594
- - spec/support/spec_organizer.rb
1556
+ - spec/support/spec_config.rb
1557
+ - spec/integration/bson_regexp_raw_spec.rb
1558
+ - spec/integration/document_spec.rb
1559
+ - spec/integration/i18n_fallbacks_spec.rb
1560
+ - spec/integration/atomic/modifiers_spec.rb
1561
+ - spec/integration/associations/embeds_one_spec.rb
1562
+ - spec/integration/associations/reverse_population_spec_models.rb
1563
+ - spec/integration/associations/embedded_spec.rb
1564
+ - spec/integration/associations/embeds_many_spec.rb
1565
+ - spec/integration/associations/reverse_population_spec.rb
1566
+ - spec/integration/associations/has_one_spec.rb
1567
+ - spec/integration/associations/foreign_key_spec_models.rb
1568
+ - spec/integration/associations/nested_attributes_assignment_spec.rb
1569
+ - spec/integration/associations/belongs_to_spec.rb
1570
+ - spec/integration/associations/foreign_key_spec.rb
1571
+ - spec/integration/associations/has_many_spec.rb
1572
+ - spec/integration/matcher_operator_data/elem_match_expr.yml
1573
+ - spec/integration/matcher_operator_data/eq.yml
1574
+ - spec/integration/matcher_operator_data/regex_options.yml
1575
+ - spec/integration/matcher_operator_data/exists.yml
1576
+ - spec/integration/matcher_operator_data/nor.yml
1577
+ - spec/integration/matcher_operator_data/multiple.yml
1578
+ - spec/integration/matcher_operator_data/lt.yml
1579
+ - spec/integration/matcher_operator_data/invalid_syntax.yml
1580
+ - spec/integration/matcher_operator_data/not.yml
1581
+ - spec/integration/matcher_operator_data/invalid_op.yml
1582
+ - spec/integration/matcher_operator_data/ne.yml
1583
+ - spec/integration/matcher_operator_data/size.yml
1584
+ - spec/integration/matcher_operator_data/or.yml
1585
+ - spec/integration/matcher_operator_data/gte.yml
1586
+ - spec/integration/matcher_operator_data/nin.yml
1587
+ - spec/integration/matcher_operator_data/in.yml
1588
+ - spec/integration/matcher_operator_data/all.yml
1589
+ - spec/integration/matcher_operator_data/lte.yml
1590
+ - spec/integration/matcher_operator_data/and.yml
1591
+ - spec/integration/matcher_operator_data/implicit_traversal.yml
1592
+ - spec/integration/matcher_operator_data/gt.yml
1593
+ - spec/integration/matcher_operator_data/regex.yml
1594
+ - spec/integration/matcher_operator_data/implicit.yml
1595
+ - spec/integration/matcher_operator_data/elem_match.yml
1596
+ - spec/integration/matcher_operator_data/generic_op.yml
1597
+ - spec/integration/matcher_spec.rb
1598
+ - spec/integration/shardable_spec.rb
1599
+ - spec/integration/criteria/default_scope_spec.rb
1600
+ - spec/integration/criteria/time_with_zone_spec.rb
1601
+ - spec/integration/criteria/logical_spec.rb
1602
+ - spec/integration/criteria/date_field_spec.rb
1603
+ - spec/integration/stringified_symbol_field_spec.rb
1604
+ - spec/integration/discriminator_key_spec.rb
1605
+ - spec/integration/app_spec.rb
1606
+ - spec/integration/discriminator_value_spec.rb
1607
+ - spec/integration/matcher_operator_spec.rb
1608
+ - spec/integration/matcher_examples_spec.rb
1609
+ - spec/integration/server_query_spec.rb
1595
1610
  - spec/rails/controller_extension/controller_runtime_spec.rb
1596
1611
  - spec/rails/mongoid_spec.rb
1612
+ - spec/mongoid_spec.rb