mongoid 6.4.2 → 6.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/mongoid/criteria/queryable/selectable.rb +33 -6
- data/lib/mongoid/document.rb +4 -4
- data/lib/mongoid/extensions/big_decimal.rb +1 -1
- data/lib/mongoid/extensions/regexp.rb +1 -0
- data/lib/mongoid/railtie.rb +17 -0
- data/lib/mongoid/railties/controller_runtime.rb +86 -0
- data/lib/mongoid/scopable.rb +3 -3
- data/lib/mongoid/threaded.rb +36 -0
- data/lib/mongoid/version.rb +1 -1
- data/spec/mongoid/contextual/mongo_spec.rb +1 -1
- data/spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb +3 -3
- data/spec/mongoid/criteria/queryable/selectable_spec.rb +42 -3
- data/spec/mongoid/criteria/queryable/selector_spec.rb +2 -2
- data/spec/mongoid/criteria/scopable_spec.rb +81 -0
- data/spec/mongoid/criteria_spec.rb +1 -1
- data/spec/mongoid/document_spec.rb +54 -0
- data/spec/mongoid/extensions/big_decimal_spec.rb +9 -9
- data/spec/mongoid/extensions/regexp_spec.rb +23 -0
- data/spec/mongoid/fields_spec.rb +1 -1
- data/spec/mongoid/persistable/incrementable_spec.rb +6 -6
- data/spec/mongoid/scopable_spec.rb +13 -0
- data/spec/mongoid/threaded_spec.rb +68 -0
- data/spec/rails/controller_extension/controller_runtime_spec.rb +110 -0
- metadata +466 -465
- metadata.gz.sig +0 -0
@@ -433,6 +433,60 @@ describe Mongoid::Document do
|
|
433
433
|
end
|
434
434
|
end
|
435
435
|
end
|
436
|
+
|
437
|
+
context ':compact option' do
|
438
|
+
|
439
|
+
before do
|
440
|
+
# These tests require a specific set of defined attributes
|
441
|
+
# on the model
|
442
|
+
expect(church.as_json.keys.sort).to eq(%w(_id location name))
|
443
|
+
end
|
444
|
+
|
445
|
+
context 'there is a nil valued attribute' do
|
446
|
+
let(:church) do
|
447
|
+
Church.create!(name: 'St. Basil')
|
448
|
+
end
|
449
|
+
|
450
|
+
it 'returns non-nil fields and _id only' do
|
451
|
+
actual = church.as_json(compact: true)
|
452
|
+
expect(actual).to eq('_id' => church.id, 'name' => 'St. Basil')
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
context 'all attrbutes are nil valued' do
|
457
|
+
let(:church) do
|
458
|
+
Church.create!
|
459
|
+
end
|
460
|
+
|
461
|
+
it 'returns a hash with _id only' do
|
462
|
+
actual = church.as_json(compact: true)
|
463
|
+
expect(actual).to eq('_id' => church.id)
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
context 'there are no nil valued attributes' do
|
468
|
+
let(:church) do
|
469
|
+
Church.create!(name: 'St. Basil', location: {})
|
470
|
+
end
|
471
|
+
|
472
|
+
it 'returns all fields and _id' do
|
473
|
+
actual = church.as_json(compact: true)
|
474
|
+
expect(actual).to eq('_id' => church.id, 'name' => 'St. Basil',
|
475
|
+
'location' => {})
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
context 'when option is specified as a truthy value' do
|
480
|
+
let(:church) do
|
481
|
+
Church.create!(name: 'St. Basil')
|
482
|
+
end
|
483
|
+
|
484
|
+
it 'returns non-nil fields and _id only' do
|
485
|
+
actual = church.as_json(compact: 1)
|
486
|
+
expect(actual).to eq('_id' => church.id, 'name' => 'St. Basil')
|
487
|
+
end
|
488
|
+
end
|
489
|
+
end
|
436
490
|
end
|
437
491
|
|
438
492
|
describe "#as_document" do
|
@@ -3,7 +3,7 @@ require "spec_helper"
|
|
3
3
|
describe Mongoid::Extensions::BigDecimal do
|
4
4
|
|
5
5
|
let(:big_decimal) do
|
6
|
-
BigDecimal
|
6
|
+
BigDecimal("123456.789")
|
7
7
|
end
|
8
8
|
|
9
9
|
describe ".demongoize" do
|
@@ -26,7 +26,7 @@ describe Mongoid::Extensions::BigDecimal do
|
|
26
26
|
end
|
27
27
|
|
28
28
|
it "returns a BigDecimal" do
|
29
|
-
expect(BigDecimal.demongoize(string)).to eq(BigDecimal
|
29
|
+
expect(BigDecimal.demongoize(string)).to eq(BigDecimal(string))
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -37,7 +37,7 @@ describe Mongoid::Extensions::BigDecimal do
|
|
37
37
|
end
|
38
38
|
|
39
39
|
it "returns a BigDecimal" do
|
40
|
-
expect(BigDecimal.demongoize(string)).to eq(BigDecimal
|
40
|
+
expect(BigDecimal.demongoize(string)).to eq(BigDecimal(string))
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
@@ -48,7 +48,7 @@ describe Mongoid::Extensions::BigDecimal do
|
|
48
48
|
end
|
49
49
|
|
50
50
|
it "returns a BigDecimal" do
|
51
|
-
expect(BigDecimal.demongoize(string)).to eq(BigDecimal
|
51
|
+
expect(BigDecimal.demongoize(string)).to eq(BigDecimal(string))
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
@@ -184,7 +184,7 @@ describe Mongoid::Extensions::BigDecimal do
|
|
184
184
|
context "when the value is the BigDecimal zero" do
|
185
185
|
|
186
186
|
let(:big_decimal) do
|
187
|
-
BigDecimal
|
187
|
+
BigDecimal("0.0")
|
188
188
|
end
|
189
189
|
|
190
190
|
it "returns a BigDecimal" do
|
@@ -195,7 +195,7 @@ describe Mongoid::Extensions::BigDecimal do
|
|
195
195
|
context "when the value is the BigDecimal negative zero" do
|
196
196
|
|
197
197
|
let(:big_decimal) do
|
198
|
-
BigDecimal
|
198
|
+
BigDecimal("-0.0")
|
199
199
|
end
|
200
200
|
|
201
201
|
it "returns a BigDecimal" do
|
@@ -326,7 +326,7 @@ describe Mongoid::Extensions::BigDecimal do
|
|
326
326
|
context "when the value is BigDecimal NaN" do
|
327
327
|
|
328
328
|
let(:nan) do
|
329
|
-
BigDecimal
|
329
|
+
BigDecimal("NaN")
|
330
330
|
end
|
331
331
|
|
332
332
|
it "returns a String" do
|
@@ -337,7 +337,7 @@ describe Mongoid::Extensions::BigDecimal do
|
|
337
337
|
context "when the value is BigDecimal Infinity" do
|
338
338
|
|
339
339
|
let(:infinity) do
|
340
|
-
BigDecimal
|
340
|
+
BigDecimal("Infinity")
|
341
341
|
end
|
342
342
|
|
343
343
|
it "returns a String" do
|
@@ -348,7 +348,7 @@ describe Mongoid::Extensions::BigDecimal do
|
|
348
348
|
context "when the value is BigDecimal negative Infinity" do
|
349
349
|
|
350
350
|
let(:neg_infinity) do
|
351
|
-
BigDecimal
|
351
|
+
BigDecimal("-Infinity")
|
352
352
|
end
|
353
353
|
|
354
354
|
it "returns a String" do
|
@@ -35,6 +35,29 @@ describe Mongoid::Extensions::Regexp do
|
|
35
35
|
it "returns the provided value as a regex" do
|
36
36
|
expect(value).to eq(/[^abc]/)
|
37
37
|
end
|
38
|
+
|
39
|
+
|
40
|
+
context "when the string is empty" do
|
41
|
+
|
42
|
+
let(:value) do
|
43
|
+
Regexp.mongoize("")
|
44
|
+
end
|
45
|
+
|
46
|
+
it "returns an empty regex" do
|
47
|
+
expect(value).to eq(//)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
context "when the value is nil" do
|
53
|
+
|
54
|
+
let(:value) do
|
55
|
+
Regexp.mongoize(nil)
|
56
|
+
end
|
57
|
+
|
58
|
+
it "returns the nil" do
|
59
|
+
expect(value).to be_nil
|
60
|
+
end
|
38
61
|
end
|
39
62
|
end
|
40
63
|
|
data/spec/mongoid/fields_spec.rb
CHANGED
@@ -66,15 +66,15 @@ describe Mongoid::Persistable::Incrementable do
|
|
66
66
|
context "when providing big decimal values" do
|
67
67
|
|
68
68
|
let(:five) do
|
69
|
-
BigDecimal
|
69
|
+
BigDecimal("5.0")
|
70
70
|
end
|
71
71
|
|
72
72
|
let(:neg_ten) do
|
73
|
-
BigDecimal
|
73
|
+
BigDecimal("-10.0")
|
74
74
|
end
|
75
75
|
|
76
76
|
let(:thirty) do
|
77
|
-
BigDecimal
|
77
|
+
BigDecimal("30.0")
|
78
78
|
end
|
79
79
|
|
80
80
|
let!(:inc) do
|
@@ -151,15 +151,15 @@ describe Mongoid::Persistable::Incrementable do
|
|
151
151
|
context "when providing big decimal values" do
|
152
152
|
|
153
153
|
let(:five) do
|
154
|
-
BigDecimal
|
154
|
+
BigDecimal("5.0")
|
155
155
|
end
|
156
156
|
|
157
157
|
let(:neg_ten) do
|
158
|
-
BigDecimal
|
158
|
+
BigDecimal("-10.0")
|
159
159
|
end
|
160
160
|
|
161
161
|
let(:thirty) do
|
162
|
-
BigDecimal
|
162
|
+
BigDecimal("30.0")
|
163
163
|
end
|
164
164
|
|
165
165
|
let!(:inc) do
|
@@ -1130,6 +1130,19 @@ describe Mongoid::Scopable do
|
|
1130
1130
|
it "sets the threading options" do
|
1131
1131
|
Band.without_default_scope do
|
1132
1132
|
expect(Mongoid::Threaded).to be_executing(:without_default_scope)
|
1133
|
+
expect(Mongoid::Threaded.without_default_scope?(Band)).to be(true)
|
1134
|
+
end
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
it "suppresses default scope on the given model within the given block" do
|
1138
|
+
Appointment.without_default_scope do
|
1139
|
+
expect(Appointment.all.selector).to be_empty
|
1140
|
+
end
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
it "does not affect other models' default scopes within the given block" do
|
1144
|
+
Appointment.without_default_scope do
|
1145
|
+
expect(Audio.all.selector).not_to be_empty
|
1133
1146
|
end
|
1134
1147
|
end
|
1135
1148
|
end
|
@@ -233,4 +233,72 @@ describe Mongoid::Threaded do
|
|
233
233
|
end
|
234
234
|
end
|
235
235
|
end
|
236
|
+
|
237
|
+
describe "#begin_without_default_scope" do
|
238
|
+
|
239
|
+
let(:klass) do
|
240
|
+
Appointment
|
241
|
+
end
|
242
|
+
|
243
|
+
after do
|
244
|
+
described_class.exit_without_default_scope(klass)
|
245
|
+
end
|
246
|
+
|
247
|
+
it "adds the given class to the without_default_scope stack" do
|
248
|
+
described_class.begin_without_default_scope(klass)
|
249
|
+
|
250
|
+
expect(described_class.stack(:without_default_scope)).to include(klass)
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
describe "#exit_without_default_scope" do
|
255
|
+
|
256
|
+
let(:klass) do
|
257
|
+
Appointment
|
258
|
+
end
|
259
|
+
|
260
|
+
before do
|
261
|
+
described_class.begin_without_default_scope(klass)
|
262
|
+
end
|
263
|
+
|
264
|
+
it "removes the given class from the without_default_scope stack" do
|
265
|
+
described_class.exit_without_default_scope(klass)
|
266
|
+
|
267
|
+
expect(described_class.stack(:without_default_scope)).not_to include(klass)
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
describe "#without_default_scope?" do
|
272
|
+
|
273
|
+
let(:klass) do
|
274
|
+
Appointment
|
275
|
+
end
|
276
|
+
|
277
|
+
context "when klass has begun without_default_scope" do
|
278
|
+
|
279
|
+
before do
|
280
|
+
described_class.begin_without_default_scope(klass)
|
281
|
+
end
|
282
|
+
|
283
|
+
after do
|
284
|
+
described_class.exit_without_default_scope(klass)
|
285
|
+
end
|
286
|
+
|
287
|
+
it "returns true" do
|
288
|
+
expect(described_class.without_default_scope?(klass)).to be(true)
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
context "when klass has exited without_default_scope" do
|
293
|
+
|
294
|
+
before do
|
295
|
+
described_class.begin_without_default_scope(klass)
|
296
|
+
described_class.exit_without_default_scope(klass)
|
297
|
+
end
|
298
|
+
|
299
|
+
it "returns false" do
|
300
|
+
expect(described_class.without_default_scope?(klass)).to be(false)
|
301
|
+
end
|
302
|
+
end
|
303
|
+
end
|
236
304
|
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
require "mongoid/railties/controller_runtime"
|
3
|
+
|
4
|
+
describe "Mongoid::Railties::ControllerRuntime" do
|
5
|
+
controller_runtime = Mongoid::Railties::ControllerRuntime
|
6
|
+
collector = controller_runtime::Collector
|
7
|
+
|
8
|
+
def set_metric value
|
9
|
+
Thread.current["Mongoid.controller_runtime"] = value
|
10
|
+
end
|
11
|
+
|
12
|
+
def clear_metric!
|
13
|
+
set_metric 0
|
14
|
+
end
|
15
|
+
|
16
|
+
describe "Collector" do
|
17
|
+
|
18
|
+
it "stores the metric in thread-safe manner" do
|
19
|
+
clear_metric!
|
20
|
+
expect(collector.runtime).to eq(0)
|
21
|
+
set_metric 42
|
22
|
+
expect(collector.runtime).to eq(42)
|
23
|
+
end
|
24
|
+
|
25
|
+
it "sets metric on both succeeded and failed" do
|
26
|
+
instance = collector.new
|
27
|
+
event_payload = OpenStruct.new duration: 42
|
28
|
+
|
29
|
+
clear_metric!
|
30
|
+
instance.succeeded event_payload
|
31
|
+
expect(collector.runtime).to eq(42)
|
32
|
+
|
33
|
+
clear_metric!
|
34
|
+
instance.failed event_payload
|
35
|
+
expect(collector.runtime).to eq(42)
|
36
|
+
end
|
37
|
+
|
38
|
+
it "resets the metric and returns the value" do
|
39
|
+
clear_metric!
|
40
|
+
expect(collector.reset_runtime).to eq(0)
|
41
|
+
set_metric 42
|
42
|
+
expect(collector.reset_runtime).to eq(42)
|
43
|
+
expect(collector.runtime).to eq(0)
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
|
48
|
+
reference_controller_class = Class.new do
|
49
|
+
def process_action *_
|
50
|
+
@process_action = true
|
51
|
+
end
|
52
|
+
|
53
|
+
def cleanup_view_runtime *_
|
54
|
+
@cleanup_view_runtime.call
|
55
|
+
end
|
56
|
+
|
57
|
+
def append_info_to_payload *_
|
58
|
+
@append_info_to_payload = true
|
59
|
+
end
|
60
|
+
|
61
|
+
def self.log_process_action *_
|
62
|
+
@log_process_action.call
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
controller_class = Class.new reference_controller_class do
|
67
|
+
include controller_runtime::ControllerExtension
|
68
|
+
end
|
69
|
+
|
70
|
+
let(:controller){ controller_class.new }
|
71
|
+
|
72
|
+
it "resets the metric before each action" do
|
73
|
+
set_metric 42
|
74
|
+
controller.send(:process_action, 'foo')
|
75
|
+
expect(collector.runtime).to be(0)
|
76
|
+
expect(controller.instance_variable_get "@process_action").to be(true)
|
77
|
+
end
|
78
|
+
|
79
|
+
it "strips the metric of other sources of the runtime" do
|
80
|
+
set_metric 1
|
81
|
+
controller.instance_variable_set "@cleanup_view_runtime", ->{
|
82
|
+
controller.instance_variable_set "@cleanup_view_runtime", true
|
83
|
+
set_metric 13
|
84
|
+
42
|
85
|
+
}
|
86
|
+
returned = controller.send :cleanup_view_runtime
|
87
|
+
expect(controller.instance_variable_get "@cleanup_view_runtime").to be(true)
|
88
|
+
expect(controller.mongoid_runtime).to eq(14)
|
89
|
+
expect(returned).to be(29)
|
90
|
+
end
|
91
|
+
|
92
|
+
it "appends the metric to payload" do
|
93
|
+
payload = {}
|
94
|
+
set_metric 42
|
95
|
+
controller.send :append_info_to_payload, payload
|
96
|
+
expect(controller.instance_variable_get "@append_info_to_payload").to be(true)
|
97
|
+
expect(payload[:mongoid_runtime]).to eq(42)
|
98
|
+
end
|
99
|
+
|
100
|
+
it "adds metric to log message" do
|
101
|
+
controller_class.instance_variable_set "@log_process_action", ->{
|
102
|
+
controller_class.instance_variable_set "@log_process_action", true
|
103
|
+
[]
|
104
|
+
}
|
105
|
+
messages = controller_class.log_process_action mongoid_runtime: 42.101
|
106
|
+
expect(controller_class.instance_variable_get "@log_process_action").to be(true)
|
107
|
+
expect(messages).to eq(["MongoDB: 42.1ms"])
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
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: 6.4.
|
4
|
+
version: 6.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Durran Jordan
|
@@ -10,27 +10,26 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
/
|
30
|
-
|
31
|
-
fqd6ctFDOqcJmOYdlSRgb9g8zm4BiNgFWPBSk8NsP7c=
|
13
|
+
MIIDRDCCAiygAwIBAgIBATANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtkcml2
|
14
|
+
ZXItcnVieS9EQz0xMGdlbi9EQz1jb20wHhcNMTkwMTE3MjIzMDE1WhcNMjAwMTE3
|
15
|
+
MjIzMDE1WjAmMSQwIgYDVQQDDBtkcml2ZXItcnVieS9EQz0xMGdlbi9EQz1jb20w
|
16
|
+
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDRXUgGvH0ZtWwDPc2umdHw
|
17
|
+
B+INNm6jNTRp8PMyUKxPzxaxX2OiBQk9gLC3zsK9ZmlZu4lNfpHVSCEPoiP/fhPg
|
18
|
+
Kyfq2xld3Qz0Pki5d5i0/r14343MTKiNiFulLlbbdlN0cXeEFNJHUycZnD2LOXwz
|
19
|
+
egYGHOl14FI8t5visIWtqRnLXXIlDsBHzmeEZjUZRGSgjC0R3RT/I+Fk5yUhn1w4
|
20
|
+
rqFyAiW+cjjzmT7mmqT0jV6fd0JFHbKnSgt9iPijKSimBgUOsorHwOTMlTzwsy0d
|
21
|
+
ZT+al1RiT5zqlAJLxFHwmoYOxD/bSNtKsYl60ek0hK2mISBVy9BBmLvCgHDx5uSp
|
22
|
+
AgMBAAGjfTB7MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBRbd1mx
|
23
|
+
fvSaVIwKI+tnEAYDW/B81zAgBgNVHREEGTAXgRVkcml2ZXItcnVieUAxMGdlbi5j
|
24
|
+
b20wIAYDVR0SBBkwF4EVZHJpdmVyLXJ1YnlAMTBnZW4uY29tMA0GCSqGSIb3DQEB
|
25
|
+
CwUAA4IBAQBtXpljL+EXFgH2YRSkYTNn9WKurclJKqaMTJvJoEm2mX1IbAg+BX+i
|
26
|
+
Eb+rKelkjezRqVkurzRjif8RI9aGBpAyfobQfHHJNzHQzSFwhEmwlGDQRgQzrDhN
|
27
|
+
cbkRB2wDgGJNjnjMKLXfeZX+SjWAsHDrOc+Ue9nHs2AdJxCTDgB1MMNGZ1UjLL9/
|
28
|
+
HhO93otEnxwCVijD9ruORb0bT9LlNKosQQEzrhXtOtNK9k7s7G6Gi0BFMOIJDVyq
|
29
|
+
bMYVwXXhV8czdzgkQB/ZPWHSbEWXnmkze1mzvqWBCPOVXYrcnL9cnEl/RoxtS1hr
|
30
|
+
Db6Ac6mCUSYfYHBWpWqxjc45n70i5Xi1
|
32
31
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
32
|
+
date: 2019-05-24 00:00:00.000000000 Z
|
34
33
|
dependencies:
|
35
34
|
- !ruby/object:Gem::Dependency
|
36
35
|
name: activemodel
|
@@ -288,6 +287,7 @@ files:
|
|
288
287
|
- lib/mongoid/positional.rb
|
289
288
|
- lib/mongoid/query_cache.rb
|
290
289
|
- lib/mongoid/railtie.rb
|
290
|
+
- lib/mongoid/railties/controller_runtime.rb
|
291
291
|
- lib/mongoid/railties/database.rake
|
292
292
|
- lib/mongoid/relations.rb
|
293
293
|
- lib/mongoid/relations/accessors.rb
|
@@ -851,6 +851,7 @@ files:
|
|
851
851
|
- spec/mongoid/validatable/uniqueness_spec.rb
|
852
852
|
- spec/mongoid/validatable_spec.rb
|
853
853
|
- spec/mongoid_spec.rb
|
854
|
+
- spec/rails/controller_extension/controller_runtime_spec.rb
|
854
855
|
- spec/rails/mongoid_spec.rb
|
855
856
|
- spec/spec_helper.rb
|
856
857
|
- spec/support/authorization.rb
|
@@ -874,480 +875,480 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
874
875
|
- !ruby/object:Gem::Version
|
875
876
|
version: 1.3.6
|
876
877
|
requirements: []
|
877
|
-
|
878
|
-
rubygems_version: 2.7.7
|
878
|
+
rubygems_version: 3.0.1
|
879
879
|
signing_key:
|
880
880
|
specification_version: 4
|
881
881
|
summary: Elegant Persistence in Ruby for MongoDB.
|
882
882
|
test_files:
|
883
|
-
- spec/
|
884
|
-
- spec/
|
885
|
-
- spec/
|
886
|
-
- spec/
|
887
|
-
- spec/
|
888
|
-
- spec/
|
889
|
-
- spec/
|
890
|
-
- spec/
|
891
|
-
- spec/
|
892
|
-
- spec/
|
893
|
-
- spec/app/models/album.rb
|
894
|
-
- spec/app/models/alert.rb
|
895
|
-
- spec/app/models/animal.rb
|
896
|
-
- spec/app/models/answer.rb
|
897
|
-
- spec/app/models/appointment.rb
|
898
|
-
- spec/app/models/article.rb
|
899
|
-
- spec/app/models/artist.rb
|
900
|
-
- spec/app/models/artwork.rb
|
901
|
-
- spec/app/models/audio.rb
|
902
|
-
- spec/app/models/augmentation.rb
|
903
|
-
- spec/app/models/author.rb
|
904
|
-
- spec/app/models/baby.rb
|
905
|
-
- spec/app/models/band.rb
|
906
|
-
- spec/app/models/bar.rb
|
907
|
-
- spec/app/models/basic.rb
|
908
|
-
- spec/app/models/bed.rb
|
909
|
-
- spec/app/models/big_palette.rb
|
910
|
-
- spec/app/models/birthday.rb
|
911
|
-
- spec/app/models/bomb.rb
|
912
|
-
- spec/app/models/book.rb
|
913
|
-
- spec/app/models/breed.rb
|
914
|
-
- spec/app/models/browser.rb
|
915
|
-
- spec/app/models/building.rb
|
916
|
-
- spec/app/models/building_address.rb
|
917
|
-
- spec/app/models/bus.rb
|
918
|
-
- spec/app/models/business.rb
|
919
|
-
- spec/app/models/callback_test.rb
|
920
|
-
- spec/app/models/canvas.rb
|
921
|
-
- spec/app/models/car.rb
|
922
|
-
- spec/app/models/cat.rb
|
923
|
-
- spec/app/models/category.rb
|
924
|
-
- spec/app/models/child.rb
|
925
|
-
- spec/app/models/child_doc.rb
|
926
|
-
- spec/app/models/church.rb
|
927
|
-
- spec/app/models/circle.rb
|
928
|
-
- spec/app/models/circuit.rb
|
929
|
-
- spec/app/models/circus.rb
|
930
|
-
- spec/app/models/code.rb
|
931
|
-
- spec/app/models/comment.rb
|
932
|
-
- spec/app/models/company.rb
|
933
|
-
- spec/app/models/consumption_period.rb
|
934
|
-
- spec/app/models/contextable_item.rb
|
935
|
-
- spec/app/models/contractor.rb
|
936
|
-
- spec/app/models/cookie.rb
|
937
|
-
- spec/app/models/country_code.rb
|
938
|
-
- spec/app/models/courier_job.rb
|
939
|
-
- spec/app/models/definition.rb
|
940
|
-
- spec/app/models/description.rb
|
941
|
-
- spec/app/models/dictionary.rb
|
942
|
-
- spec/app/models/division.rb
|
943
|
-
- spec/app/models/doctor.rb
|
944
|
-
- spec/app/models/dog.rb
|
945
|
-
- spec/app/models/dokument.rb
|
946
|
-
- spec/app/models/draft.rb
|
947
|
-
- spec/app/models/dragon.rb
|
948
|
-
- spec/app/models/driver.rb
|
949
|
-
- spec/app/models/drug.rb
|
950
|
-
- spec/app/models/dungeon.rb
|
951
|
-
- spec/app/models/edit.rb
|
952
|
-
- spec/app/models/email.rb
|
953
|
-
- spec/app/models/employer.rb
|
954
|
-
- spec/app/models/entry.rb
|
955
|
-
- spec/app/models/eraser.rb
|
956
|
-
- spec/app/models/even.rb
|
957
|
-
- spec/app/models/event.rb
|
958
|
-
- spec/app/models/exhibition.rb
|
959
|
-
- spec/app/models/exhibitor.rb
|
960
|
-
- spec/app/models/explosion.rb
|
961
|
-
- spec/app/models/eye.rb
|
962
|
-
- spec/app/models/eye_bowl.rb
|
963
|
-
- spec/app/models/face.rb
|
964
|
-
- spec/app/models/favorite.rb
|
965
|
-
- spec/app/models/filesystem.rb
|
966
|
-
- spec/app/models/fire_hydrant.rb
|
967
|
-
- spec/app/models/firefox.rb
|
968
|
-
- spec/app/models/fish.rb
|
969
|
-
- spec/app/models/folder.rb
|
970
|
-
- spec/app/models/folder_item.rb
|
971
|
-
- spec/app/models/fruits.rb
|
972
|
-
- spec/app/models/game.rb
|
973
|
-
- spec/app/models/ghost.rb
|
974
|
-
- spec/app/models/home.rb
|
975
|
-
- spec/app/models/house.rb
|
976
|
-
- spec/app/models/html_writer.rb
|
977
|
-
- spec/app/models/id_key.rb
|
978
|
-
- spec/app/models/image.rb
|
979
|
-
- spec/app/models/implant.rb
|
980
|
-
- spec/app/models/item.rb
|
981
|
-
- spec/app/models/jar.rb
|
982
|
-
- spec/app/models/kaleidoscope.rb
|
983
|
-
- spec/app/models/kangaroo.rb
|
984
|
-
- spec/app/models/label.rb
|
985
|
-
- spec/app/models/language.rb
|
986
|
-
- spec/app/models/lat_lng.rb
|
987
|
-
- spec/app/models/league.rb
|
988
|
-
- spec/app/models/learner.rb
|
989
|
-
- spec/app/models/line_item.rb
|
990
|
-
- spec/app/models/location.rb
|
991
|
-
- spec/app/models/login.rb
|
992
|
-
- spec/app/models/manufacturer.rb
|
993
|
-
- spec/app/models/meat.rb
|
994
|
-
- spec/app/models/membership.rb
|
995
|
-
- spec/app/models/message.rb
|
996
|
-
- spec/app/models/mixed_drink.rb
|
997
|
-
- spec/app/models/movie.rb
|
998
|
-
- spec/app/models/my_hash.rb
|
999
|
-
- spec/app/models/name.rb
|
1000
|
-
- spec/app/models/node.rb
|
1001
|
-
- spec/app/models/note.rb
|
1002
|
-
- spec/app/models/odd.rb
|
1003
|
-
- spec/app/models/ordered_post.rb
|
1004
|
-
- spec/app/models/ordered_preference.rb
|
1005
|
-
- spec/app/models/oscar.rb
|
1006
|
-
- spec/app/models/override.rb
|
1007
|
-
- spec/app/models/ownable.rb
|
1008
|
-
- spec/app/models/owner.rb
|
1009
|
-
- spec/app/models/pack.rb
|
1010
|
-
- spec/app/models/page.rb
|
1011
|
-
- spec/app/models/page_question.rb
|
1012
|
-
- spec/app/models/palette.rb
|
1013
|
-
- spec/app/models/parent.rb
|
1014
|
-
- spec/app/models/parent_doc.rb
|
1015
|
-
- spec/app/models/passport.rb
|
1016
|
-
- spec/app/models/patient.rb
|
1017
|
-
- spec/app/models/pdf_writer.rb
|
1018
|
-
- spec/app/models/pencil.rb
|
1019
|
-
- spec/app/models/person.rb
|
1020
|
-
- spec/app/models/pet.rb
|
1021
|
-
- spec/app/models/pet_owner.rb
|
1022
|
-
- spec/app/models/phone.rb
|
1023
|
-
- spec/app/models/pizza.rb
|
1024
|
-
- spec/app/models/player.rb
|
1025
|
-
- spec/app/models/post.rb
|
1026
|
-
- spec/app/models/post_genre.rb
|
1027
|
-
- spec/app/models/powerup.rb
|
1028
|
-
- spec/app/models/preference.rb
|
1029
|
-
- spec/app/models/princess.rb
|
1030
|
-
- spec/app/models/product.rb
|
1031
|
-
- spec/app/models/profile.rb
|
1032
|
-
- spec/app/models/pronunciation.rb
|
1033
|
-
- spec/app/models/pub.rb
|
1034
|
-
- spec/app/models/purchase.rb
|
1035
|
-
- spec/app/models/question.rb
|
1036
|
-
- spec/app/models/quiz.rb
|
1037
|
-
- spec/app/models/rating.rb
|
1038
|
-
- spec/app/models/record.rb
|
1039
|
-
- spec/app/models/registry.rb
|
1040
|
-
- spec/app/models/role.rb
|
1041
|
-
- spec/app/models/root_category.rb
|
1042
|
-
- spec/app/models/sandwich.rb
|
1043
|
-
- spec/app/models/scheduler.rb
|
1044
|
-
- spec/app/models/seo.rb
|
1045
|
-
- spec/app/models/series.rb
|
1046
|
-
- spec/app/models/server.rb
|
1047
|
-
- spec/app/models/service.rb
|
1048
|
-
- spec/app/models/shape.rb
|
1049
|
-
- spec/app/models/shelf.rb
|
1050
|
-
- spec/app/models/shipment_address.rb
|
1051
|
-
- spec/app/models/shipping_container.rb
|
1052
|
-
- spec/app/models/shipping_pack.rb
|
1053
|
-
- spec/app/models/shop.rb
|
1054
|
-
- spec/app/models/short_agent.rb
|
1055
|
-
- spec/app/models/short_quiz.rb
|
1056
|
-
- spec/app/models/simple.rb
|
1057
|
-
- spec/app/models/slave.rb
|
1058
|
-
- spec/app/models/song.rb
|
1059
|
-
- spec/app/models/sound.rb
|
1060
|
-
- spec/app/models/square.rb
|
1061
|
-
- spec/app/models/staff.rb
|
1062
|
-
- spec/app/models/store_as_dup_test1.rb
|
1063
|
-
- spec/app/models/store_as_dup_test2.rb
|
1064
|
-
- spec/app/models/strategy.rb
|
1065
|
-
- spec/app/models/sub_item.rb
|
1066
|
-
- spec/app/models/subscription.rb
|
1067
|
-
- spec/app/models/survey.rb
|
1068
|
-
- spec/app/models/symptom.rb
|
1069
|
-
- spec/app/models/tag.rb
|
1070
|
-
- spec/app/models/target.rb
|
1071
|
-
- spec/app/models/template.rb
|
1072
|
-
- spec/app/models/thing.rb
|
1073
|
-
- spec/app/models/title.rb
|
1074
|
-
- spec/app/models/tool.rb
|
1075
|
-
- spec/app/models/topping.rb
|
1076
|
-
- spec/app/models/track.rb
|
1077
|
-
- spec/app/models/translation.rb
|
1078
|
-
- spec/app/models/tree.rb
|
1079
|
-
- spec/app/models/truck.rb
|
1080
|
-
- spec/app/models/user.rb
|
1081
|
-
- spec/app/models/user_account.rb
|
1082
|
-
- spec/app/models/validation_callback.rb
|
1083
|
-
- spec/app/models/vehicle.rb
|
1084
|
-
- spec/app/models/version.rb
|
1085
|
-
- spec/app/models/vet_visit.rb
|
1086
|
-
- spec/app/models/video.rb
|
1087
|
-
- spec/app/models/video_game.rb
|
1088
|
-
- spec/app/models/weapon.rb
|
1089
|
-
- spec/app/models/wiki_page.rb
|
1090
|
-
- spec/app/models/word.rb
|
1091
|
-
- spec/app/models/word_origin.rb
|
1092
|
-
- spec/app/models/writer.rb
|
1093
|
-
- spec/config/mongoid.yml
|
1094
|
-
- spec/mongoid/atomic/paths/embedded/many_spec.rb
|
1095
|
-
- spec/mongoid/atomic/paths/embedded/one_spec.rb
|
1096
|
-
- spec/mongoid/atomic/paths/root_spec.rb
|
1097
|
-
- spec/mongoid/atomic/modifiers_spec.rb
|
1098
|
-
- spec/mongoid/atomic/paths_spec.rb
|
883
|
+
- spec/support/expectations.rb
|
884
|
+
- spec/support/authorization.rb
|
885
|
+
- spec/mongoid_spec.rb
|
886
|
+
- spec/mongoid/extensions_spec.rb
|
887
|
+
- spec/mongoid/loggable_spec.rb
|
888
|
+
- spec/mongoid/indexable_spec.rb
|
889
|
+
- spec/mongoid/criteria_spec.rb
|
890
|
+
- spec/mongoid/copyable_spec.rb
|
891
|
+
- spec/mongoid/clients_spec.rb
|
892
|
+
- spec/mongoid/changeable_spec.rb
|
1099
893
|
- spec/mongoid/attributes/nested_spec.rb
|
1100
894
|
- spec/mongoid/attributes/readonly_spec.rb
|
1101
|
-
- spec/mongoid/
|
1102
|
-
- spec/mongoid/
|
1103
|
-
- spec/mongoid/
|
1104
|
-
- spec/mongoid/
|
1105
|
-
- spec/mongoid/
|
1106
|
-
- spec/mongoid/
|
1107
|
-
- spec/mongoid/
|
1108
|
-
- spec/mongoid/
|
1109
|
-
- spec/mongoid/
|
1110
|
-
- spec/mongoid/
|
1111
|
-
- spec/mongoid/
|
1112
|
-
- spec/mongoid/
|
1113
|
-
- spec/mongoid/
|
1114
|
-
- spec/mongoid/
|
1115
|
-
- spec/mongoid/
|
1116
|
-
- spec/mongoid/
|
1117
|
-
- spec/mongoid/
|
895
|
+
- spec/mongoid/config_spec.rb
|
896
|
+
- spec/mongoid/relations/auto_save_spec.rb
|
897
|
+
- spec/mongoid/relations/targets/enumerable_spec.rb
|
898
|
+
- spec/mongoid/relations/synchronization_spec.rb
|
899
|
+
- spec/mongoid/relations/constraint_spec.rb
|
900
|
+
- spec/mongoid/relations/embedded/in_spec.rb
|
901
|
+
- spec/mongoid/relations/embedded/many_spec.rb
|
902
|
+
- spec/mongoid/relations/embedded/one_spec.rb
|
903
|
+
- spec/mongoid/relations/embedded/dirty_spec.rb
|
904
|
+
- spec/mongoid/relations/cascading_spec.rb
|
905
|
+
- spec/mongoid/relations/cyclic_spec.rb
|
906
|
+
- spec/mongoid/relations/accessors_spec.rb
|
907
|
+
- spec/mongoid/relations/touchable_spec.rb
|
908
|
+
- spec/mongoid/relations/proxy_spec.rb
|
909
|
+
- spec/mongoid/relations/eager/belongs_to_spec.rb
|
910
|
+
- spec/mongoid/relations/eager/has_many_spec.rb
|
911
|
+
- spec/mongoid/relations/eager/has_and_belongs_to_many_spec.rb
|
912
|
+
- spec/mongoid/relations/eager/has_one_spec.rb
|
913
|
+
- spec/mongoid/relations/options_spec.rb
|
914
|
+
- spec/mongoid/relations/counter_cache_spec.rb
|
915
|
+
- spec/mongoid/relations/metadata_spec.rb
|
916
|
+
- spec/mongoid/relations/referenced/many_to_many_spec.rb
|
917
|
+
- spec/mongoid/relations/referenced/in_spec.rb
|
918
|
+
- spec/mongoid/relations/referenced/many_spec.rb
|
919
|
+
- spec/mongoid/relations/referenced/one_spec.rb
|
920
|
+
- spec/mongoid/relations/eager_spec.rb
|
921
|
+
- spec/mongoid/relations/macros_spec.rb
|
922
|
+
- spec/mongoid/relations/bindings/embedded/in_spec.rb
|
923
|
+
- spec/mongoid/relations/bindings/embedded/many_spec.rb
|
924
|
+
- spec/mongoid/relations/bindings/embedded/one_spec.rb
|
925
|
+
- spec/mongoid/relations/bindings/referenced/many_to_many_spec.rb
|
926
|
+
- spec/mongoid/relations/bindings/referenced/in_spec.rb
|
927
|
+
- spec/mongoid/relations/bindings/referenced/many_spec.rb
|
928
|
+
- spec/mongoid/relations/bindings/referenced/one_spec.rb
|
929
|
+
- spec/mongoid/relations/conversions_spec.rb
|
930
|
+
- spec/mongoid/relations/reflections_spec.rb
|
931
|
+
- spec/mongoid/relations/polymorphic_spec.rb
|
932
|
+
- spec/mongoid/relations/builders_spec.rb
|
933
|
+
- spec/mongoid/relations/cascading/destroy_spec.rb
|
934
|
+
- spec/mongoid/relations/cascading/delete_spec.rb
|
935
|
+
- spec/mongoid/relations/cascading/nullify_spec.rb
|
936
|
+
- spec/mongoid/relations/cascading/restrict_spec.rb
|
937
|
+
- spec/mongoid/relations/builders/nested_attributes/many_spec.rb
|
938
|
+
- spec/mongoid/relations/builders/nested_attributes/one_spec.rb
|
939
|
+
- spec/mongoid/relations/builders/embedded/in_spec.rb
|
940
|
+
- spec/mongoid/relations/builders/embedded/many_spec.rb
|
941
|
+
- spec/mongoid/relations/builders/embedded/one_spec.rb
|
942
|
+
- spec/mongoid/relations/builders/referenced/many_to_many_spec.rb
|
943
|
+
- spec/mongoid/relations/builders/referenced/in_spec.rb
|
944
|
+
- spec/mongoid/relations/builders/referenced/many_spec.rb
|
945
|
+
- spec/mongoid/relations/builders/referenced/one_spec.rb
|
946
|
+
- spec/mongoid/matchable/elem_match_spec.rb
|
947
|
+
- spec/mongoid/matchable/nor_spec.rb
|
948
|
+
- spec/mongoid/matchable/all_spec.rb
|
949
|
+
- spec/mongoid/matchable/ne_spec.rb
|
950
|
+
- spec/mongoid/matchable/in_spec.rb
|
951
|
+
- spec/mongoid/matchable/regexp_spec.rb
|
952
|
+
- spec/mongoid/matchable/lte_spec.rb
|
953
|
+
- spec/mongoid/matchable/lt_spec.rb
|
954
|
+
- spec/mongoid/matchable/size_spec.rb
|
955
|
+
- spec/mongoid/matchable/default_spec.rb
|
956
|
+
- spec/mongoid/matchable/exists_spec.rb
|
957
|
+
- spec/mongoid/matchable/and_spec.rb
|
958
|
+
- spec/mongoid/matchable/gt_spec.rb
|
959
|
+
- spec/mongoid/matchable/gte_spec.rb
|
960
|
+
- spec/mongoid/matchable/nin_spec.rb
|
961
|
+
- spec/mongoid/matchable/or_spec.rb
|
962
|
+
- spec/mongoid/attributes_spec.rb
|
963
|
+
- spec/mongoid/threaded_spec.rb
|
964
|
+
- spec/mongoid/scopable_spec.rb
|
965
|
+
- spec/mongoid/query_cache_spec.rb
|
966
|
+
- spec/mongoid/errors/no_client_config_spec.rb
|
967
|
+
- spec/mongoid/errors/no_metadata_spec.rb
|
968
|
+
- spec/mongoid/errors/invalid_time_spec.rb
|
969
|
+
- spec/mongoid/errors/unsupported_javascript_spec.rb
|
970
|
+
- spec/mongoid/errors/invalid_field_spec.rb
|
971
|
+
- spec/mongoid/errors/unsaved_document_spec.rb
|
972
|
+
- spec/mongoid/errors/readonly_attribute_spec.rb
|
973
|
+
- spec/mongoid/errors/invalid_relation_spec.rb
|
974
|
+
- spec/mongoid/errors/mixed_client_configuration_spec.rb
|
975
|
+
- spec/mongoid/errors/validations_spec.rb
|
976
|
+
- spec/mongoid/errors/invalid_storage_options_spec.rb
|
977
|
+
- spec/mongoid/errors/document_not_found_spec.rb
|
978
|
+
- spec/mongoid/errors/readonly_document_spec.rb
|
979
|
+
- spec/mongoid/errors/invalid_path_spec.rb
|
980
|
+
- spec/mongoid/errors/no_clients_config_spec.rb
|
981
|
+
- spec/mongoid/errors/no_client_hosts_spec.rb
|
982
|
+
- spec/mongoid/errors/ambiguous_relationship_spec.rb
|
983
|
+
- spec/mongoid/errors/scope_overwrite_spec.rb
|
984
|
+
- spec/mongoid/errors/invalid_scope_spec.rb
|
985
|
+
- spec/mongoid/errors/invalid_options_spec.rb
|
986
|
+
- spec/mongoid/errors/mixed_relations_spec.rb
|
987
|
+
- spec/mongoid/errors/eager_load_spec.rb
|
988
|
+
- spec/mongoid/errors/no_environment_spec.rb
|
989
|
+
- spec/mongoid/errors/mongoid_error_spec.rb
|
990
|
+
- spec/mongoid/errors/no_map_reduce_output_spec.rb
|
991
|
+
- spec/mongoid/errors/invalid_field_option_spec.rb
|
992
|
+
- spec/mongoid/errors/invalid_config_option_spec.rb
|
993
|
+
- spec/mongoid/errors/invalid_includes_spec.rb
|
994
|
+
- spec/mongoid/errors/delete_restriction_spec.rb
|
995
|
+
- spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
|
996
|
+
- spec/mongoid/errors/document_not_destroyed_spec.rb
|
997
|
+
- spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
|
998
|
+
- spec/mongoid/errors/invalid_collection_spec.rb
|
999
|
+
- spec/mongoid/errors/no_parent_spec.rb
|
1000
|
+
- spec/mongoid/errors/invalid_index_spec.rb
|
1001
|
+
- spec/mongoid/errors/invalid_find_spec.rb
|
1002
|
+
- spec/mongoid/errors/unknown_attribute_spec.rb
|
1003
|
+
- spec/mongoid/errors/inverse_not_found_spec.rb
|
1004
|
+
- spec/mongoid/errors/no_client_database_spec.rb
|
1005
|
+
- spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
|
1006
|
+
- spec/mongoid/errors/callback_spec.rb
|
1007
|
+
- spec/mongoid/persistence_context_spec.rb
|
1008
|
+
- spec/mongoid/inspectable_spec.rb
|
1009
|
+
- spec/mongoid/selectable_spec.rb
|
1010
|
+
- spec/mongoid/criteria/scopable_spec.rb
|
1011
|
+
- spec/mongoid/criteria/inspectable_spec.rb
|
1012
|
+
- spec/mongoid/criteria/queryable/aggregable_spec.rb
|
1013
|
+
- spec/mongoid/criteria/queryable/key_spec.rb
|
1014
|
+
- spec/mongoid/criteria/queryable/smash_spec.rb
|
1015
|
+
- spec/mongoid/criteria/queryable/forwardable_spec.rb
|
1016
|
+
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
1017
|
+
- spec/mongoid/criteria/queryable/mergeable_spec.rb
|
1118
1018
|
- spec/mongoid/criteria/queryable/extensions/date_spec.rb
|
1019
|
+
- spec/mongoid/criteria/queryable/extensions/big_decimal_spec.rb
|
1020
|
+
- spec/mongoid/criteria/queryable/extensions/object_spec.rb
|
1119
1021
|
- spec/mongoid/criteria/queryable/extensions/date_time_spec.rb
|
1120
|
-
- spec/mongoid/criteria/queryable/extensions/
|
1121
|
-
- spec/mongoid/criteria/queryable/extensions/
|
1022
|
+
- spec/mongoid/criteria/queryable/extensions/time_with_zone_spec.rb
|
1023
|
+
- spec/mongoid/criteria/queryable/extensions/time_spec.rb
|
1122
1024
|
- spec/mongoid/criteria/queryable/extensions/hash_spec.rb
|
1123
|
-
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
1124
|
-
- spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
|
1125
|
-
- spec/mongoid/criteria/queryable/extensions/object_spec.rb
|
1126
1025
|
- spec/mongoid/criteria/queryable/extensions/range_spec.rb
|
1127
|
-
- spec/mongoid/criteria/queryable/extensions/
|
1026
|
+
- spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb
|
1128
1027
|
- spec/mongoid/criteria/queryable/extensions/regexp_spec.rb
|
1129
|
-
- spec/mongoid/criteria/queryable/extensions/set_spec.rb
|
1130
|
-
- spec/mongoid/criteria/queryable/extensions/string_spec.rb
|
1131
1028
|
- spec/mongoid/criteria/queryable/extensions/symbol_spec.rb
|
1132
|
-
- spec/mongoid/criteria/queryable/extensions/
|
1133
|
-
- spec/mongoid/criteria/queryable/extensions/
|
1134
|
-
- spec/mongoid/criteria/queryable/
|
1135
|
-
- spec/mongoid/criteria/queryable/
|
1136
|
-
- spec/mongoid/criteria/queryable/
|
1137
|
-
- spec/mongoid/criteria/queryable/
|
1138
|
-
- spec/mongoid/criteria/queryable/
|
1029
|
+
- spec/mongoid/criteria/queryable/extensions/string_spec.rb
|
1030
|
+
- spec/mongoid/criteria/queryable/extensions/boolean_spec.rb
|
1031
|
+
- spec/mongoid/criteria/queryable/extensions/bignum_spec.rb
|
1032
|
+
- spec/mongoid/criteria/queryable/extensions/array_spec.rb
|
1033
|
+
- spec/mongoid/criteria/queryable/extensions/nil_class_spec.rb
|
1034
|
+
- spec/mongoid/criteria/queryable/extensions/set_spec.rb
|
1035
|
+
- spec/mongoid/criteria/queryable/extensions/integer_spec.rb
|
1036
|
+
- spec/mongoid/criteria/queryable/extensions/regexp_raw_spec.rb
|
1037
|
+
- spec/mongoid/criteria/queryable/extensions/float_spec.rb
|
1038
|
+
- spec/mongoid/criteria/queryable/selector_spec.rb
|
1139
1039
|
- spec/mongoid/criteria/queryable/options_spec.rb
|
1140
1040
|
- spec/mongoid/criteria/queryable/pipeline_spec.rb
|
1041
|
+
- spec/mongoid/criteria/queryable/optional_spec.rb
|
1141
1042
|
- spec/mongoid/criteria/queryable/queryable_spec.rb
|
1142
|
-
- spec/mongoid/criteria/queryable/selectable_spec.rb
|
1143
|
-
- spec/mongoid/criteria/queryable/selector_spec.rb
|
1144
|
-
- spec/mongoid/criteria/queryable/smash_spec.rb
|
1145
1043
|
- spec/mongoid/criteria/findable_spec.rb
|
1146
|
-
- spec/mongoid/criteria/inspectable_spec.rb
|
1147
|
-
- spec/mongoid/criteria/marshalable_spec.rb
|
1148
|
-
- spec/mongoid/criteria/modifiable_spec.rb
|
1149
1044
|
- spec/mongoid/criteria/options_spec.rb
|
1150
|
-
- spec/mongoid/criteria/
|
1151
|
-
- spec/mongoid/
|
1152
|
-
- spec/mongoid/
|
1153
|
-
- spec/mongoid/
|
1154
|
-
- spec/mongoid/errors/document_not_destroyed_spec.rb
|
1155
|
-
- spec/mongoid/errors/document_not_found_spec.rb
|
1156
|
-
- spec/mongoid/errors/eager_load_spec.rb
|
1157
|
-
- spec/mongoid/errors/invalid_collection_spec.rb
|
1158
|
-
- spec/mongoid/errors/invalid_config_option_spec.rb
|
1159
|
-
- spec/mongoid/errors/invalid_field_option_spec.rb
|
1160
|
-
- spec/mongoid/errors/invalid_field_spec.rb
|
1161
|
-
- spec/mongoid/errors/invalid_find_spec.rb
|
1162
|
-
- spec/mongoid/errors/invalid_includes_spec.rb
|
1163
|
-
- spec/mongoid/errors/invalid_index_spec.rb
|
1164
|
-
- spec/mongoid/errors/invalid_options_spec.rb
|
1165
|
-
- spec/mongoid/errors/invalid_path_spec.rb
|
1166
|
-
- spec/mongoid/errors/invalid_relation_spec.rb
|
1167
|
-
- spec/mongoid/errors/invalid_scope_spec.rb
|
1168
|
-
- spec/mongoid/errors/invalid_set_polymorphic_relation_spec.rb
|
1169
|
-
- spec/mongoid/errors/invalid_storage_options_spec.rb
|
1170
|
-
- spec/mongoid/errors/invalid_time_spec.rb
|
1171
|
-
- spec/mongoid/errors/inverse_not_found_spec.rb
|
1172
|
-
- spec/mongoid/errors/mixed_client_configuration_spec.rb
|
1173
|
-
- spec/mongoid/errors/mixed_relations_spec.rb
|
1174
|
-
- spec/mongoid/errors/mongoid_error_spec.rb
|
1175
|
-
- spec/mongoid/errors/nested_attributes_metadata_not_found_spec.rb
|
1176
|
-
- spec/mongoid/errors/no_client_config_spec.rb
|
1177
|
-
- spec/mongoid/errors/no_client_database_spec.rb
|
1178
|
-
- spec/mongoid/errors/no_client_hosts_spec.rb
|
1179
|
-
- spec/mongoid/errors/no_clients_config_spec.rb
|
1180
|
-
- spec/mongoid/errors/no_environment_spec.rb
|
1181
|
-
- spec/mongoid/errors/no_map_reduce_output_spec.rb
|
1182
|
-
- spec/mongoid/errors/no_metadata_spec.rb
|
1183
|
-
- spec/mongoid/errors/no_parent_spec.rb
|
1184
|
-
- spec/mongoid/errors/readonly_attribute_spec.rb
|
1185
|
-
- spec/mongoid/errors/readonly_document_spec.rb
|
1186
|
-
- spec/mongoid/errors/scope_overwrite_spec.rb
|
1187
|
-
- spec/mongoid/errors/too_many_nested_attribute_records_spec.rb
|
1188
|
-
- spec/mongoid/errors/unknown_attribute_spec.rb
|
1189
|
-
- spec/mongoid/errors/unsaved_document_spec.rb
|
1190
|
-
- spec/mongoid/errors/unsupported_javascript_spec.rb
|
1191
|
-
- spec/mongoid/errors/validations_spec.rb
|
1192
|
-
- spec/mongoid/extensions/array_spec.rb
|
1193
|
-
- spec/mongoid/extensions/big_decimal_spec.rb
|
1194
|
-
- spec/mongoid/extensions/binary_spec.rb
|
1195
|
-
- spec/mongoid/extensions/boolean_spec.rb
|
1045
|
+
- spec/mongoid/criteria/modifiable_spec.rb
|
1046
|
+
- spec/mongoid/criteria/marshalable_spec.rb
|
1047
|
+
- spec/mongoid/relations_spec.rb
|
1048
|
+
- spec/mongoid/findable_spec.rb
|
1196
1049
|
- spec/mongoid/extensions/date_spec.rb
|
1050
|
+
- spec/mongoid/extensions/big_decimal_spec.rb
|
1051
|
+
- spec/mongoid/extensions/object_spec.rb
|
1197
1052
|
- spec/mongoid/extensions/date_time_spec.rb
|
1198
|
-
- spec/mongoid/extensions/
|
1199
|
-
- spec/mongoid/extensions/
|
1200
|
-
- spec/mongoid/extensions/float_spec.rb
|
1053
|
+
- spec/mongoid/extensions/time_with_zone_spec.rb
|
1054
|
+
- spec/mongoid/extensions/time_spec.rb
|
1201
1055
|
- spec/mongoid/extensions/hash_spec.rb
|
1202
|
-
- spec/mongoid/extensions/integer_spec.rb
|
1203
|
-
- spec/mongoid/extensions/module_spec.rb
|
1204
|
-
- spec/mongoid/extensions/nil_class_spec.rb
|
1205
|
-
- spec/mongoid/extensions/object_id_spec.rb
|
1206
|
-
- spec/mongoid/extensions/object_spec.rb
|
1207
1056
|
- spec/mongoid/extensions/range_spec.rb
|
1208
1057
|
- spec/mongoid/extensions/regexp_spec.rb
|
1209
|
-
- spec/mongoid/extensions/set_spec.rb
|
1210
|
-
- spec/mongoid/extensions/string_spec.rb
|
1211
1058
|
- spec/mongoid/extensions/symbol_spec.rb
|
1212
|
-
- spec/mongoid/extensions/
|
1213
|
-
- spec/mongoid/extensions/
|
1059
|
+
- spec/mongoid/extensions/string_spec.rb
|
1060
|
+
- spec/mongoid/extensions/boolean_spec.rb
|
1061
|
+
- spec/mongoid/extensions/decimal128_spec.rb
|
1062
|
+
- spec/mongoid/extensions/array_spec.rb
|
1063
|
+
- spec/mongoid/extensions/module_spec.rb
|
1064
|
+
- spec/mongoid/extensions/false_class_spec.rb
|
1214
1065
|
- spec/mongoid/extensions/true_class_spec.rb
|
1215
|
-
- spec/mongoid/
|
1216
|
-
- spec/mongoid/
|
1217
|
-
- spec/mongoid/
|
1218
|
-
- spec/mongoid/
|
1219
|
-
- spec/mongoid/
|
1220
|
-
- spec/mongoid/
|
1221
|
-
- spec/mongoid/
|
1222
|
-
- spec/mongoid/
|
1223
|
-
- spec/mongoid/
|
1224
|
-
- spec/mongoid/
|
1225
|
-
- spec/mongoid/
|
1226
|
-
- spec/mongoid/
|
1227
|
-
- spec/mongoid/
|
1228
|
-
- spec/mongoid/
|
1229
|
-
- spec/mongoid/
|
1230
|
-
- spec/mongoid/
|
1231
|
-
- spec/mongoid/
|
1232
|
-
- spec/mongoid/
|
1233
|
-
- spec/mongoid/
|
1234
|
-
- spec/mongoid/matchable/or_spec.rb
|
1235
|
-
- spec/mongoid/matchable/regexp_spec.rb
|
1236
|
-
- spec/mongoid/matchable/size_spec.rb
|
1237
|
-
- spec/mongoid/persistable/creatable_spec.rb
|
1238
|
-
- spec/mongoid/persistable/deletable_spec.rb
|
1066
|
+
- spec/mongoid/extensions/binary_spec.rb
|
1067
|
+
- spec/mongoid/extensions/object_id_spec.rb
|
1068
|
+
- spec/mongoid/extensions/nil_class_spec.rb
|
1069
|
+
- spec/mongoid/extensions/set_spec.rb
|
1070
|
+
- spec/mongoid/extensions/integer_spec.rb
|
1071
|
+
- spec/mongoid/extensions/float_spec.rb
|
1072
|
+
- spec/mongoid/composable_spec.rb
|
1073
|
+
- spec/mongoid/atomic_spec.rb
|
1074
|
+
- spec/mongoid/atomic/paths/embedded/many_spec.rb
|
1075
|
+
- spec/mongoid/atomic/paths/embedded/one_spec.rb
|
1076
|
+
- spec/mongoid/atomic/paths/root_spec.rb
|
1077
|
+
- spec/mongoid/atomic/paths_spec.rb
|
1078
|
+
- spec/mongoid/atomic/modifiers_spec.rb
|
1079
|
+
- spec/mongoid/serializable_spec.rb
|
1080
|
+
- spec/mongoid/cacheable_spec.rb
|
1081
|
+
- spec/mongoid/traversable_spec.rb
|
1082
|
+
- spec/mongoid/validatable_spec.rb
|
1083
|
+
- spec/mongoid/reloadable_spec.rb
|
1084
|
+
- spec/mongoid/persistable/settable_spec.rb
|
1239
1085
|
- spec/mongoid/persistable/destroyable_spec.rb
|
1240
|
-
- spec/mongoid/persistable/
|
1086
|
+
- spec/mongoid/persistable/upsertable_spec.rb
|
1087
|
+
- spec/mongoid/persistable/savable_spec.rb
|
1241
1088
|
- spec/mongoid/persistable/logical_spec.rb
|
1242
|
-
- spec/mongoid/persistable/poppable_spec.rb
|
1243
1089
|
- spec/mongoid/persistable/pullable_spec.rb
|
1244
|
-
- spec/mongoid/persistable/
|
1245
|
-
- spec/mongoid/persistable/
|
1246
|
-
- spec/mongoid/persistable/savable_spec.rb
|
1247
|
-
- spec/mongoid/persistable/settable_spec.rb
|
1248
|
-
- spec/mongoid/persistable/unsettable_spec.rb
|
1090
|
+
- spec/mongoid/persistable/poppable_spec.rb
|
1091
|
+
- spec/mongoid/persistable/incrementable_spec.rb
|
1249
1092
|
- spec/mongoid/persistable/updatable_spec.rb
|
1250
|
-
- spec/mongoid/persistable/
|
1251
|
-
- spec/mongoid/
|
1252
|
-
- spec/mongoid/
|
1253
|
-
- spec/mongoid/
|
1254
|
-
- spec/mongoid/
|
1255
|
-
- spec/mongoid/
|
1256
|
-
- spec/mongoid/
|
1257
|
-
- spec/mongoid/relations/bindings/referenced/many_spec.rb
|
1258
|
-
- spec/mongoid/relations/bindings/referenced/many_to_many_spec.rb
|
1259
|
-
- spec/mongoid/relations/bindings/referenced/one_spec.rb
|
1260
|
-
- spec/mongoid/relations/builders/embedded/in_spec.rb
|
1261
|
-
- spec/mongoid/relations/builders/embedded/many_spec.rb
|
1262
|
-
- spec/mongoid/relations/builders/embedded/one_spec.rb
|
1263
|
-
- spec/mongoid/relations/builders/nested_attributes/many_spec.rb
|
1264
|
-
- spec/mongoid/relations/builders/nested_attributes/one_spec.rb
|
1265
|
-
- spec/mongoid/relations/builders/referenced/in_spec.rb
|
1266
|
-
- spec/mongoid/relations/builders/referenced/many_spec.rb
|
1267
|
-
- spec/mongoid/relations/builders/referenced/many_to_many_spec.rb
|
1268
|
-
- spec/mongoid/relations/builders/referenced/one_spec.rb
|
1269
|
-
- spec/mongoid/relations/builders_spec.rb
|
1270
|
-
- spec/mongoid/relations/cascading/delete_spec.rb
|
1271
|
-
- spec/mongoid/relations/cascading/destroy_spec.rb
|
1272
|
-
- spec/mongoid/relations/cascading/nullify_spec.rb
|
1273
|
-
- spec/mongoid/relations/cascading/restrict_spec.rb
|
1274
|
-
- spec/mongoid/relations/cascading_spec.rb
|
1275
|
-
- spec/mongoid/relations/constraint_spec.rb
|
1276
|
-
- spec/mongoid/relations/conversions_spec.rb
|
1277
|
-
- spec/mongoid/relations/counter_cache_spec.rb
|
1278
|
-
- spec/mongoid/relations/cyclic_spec.rb
|
1279
|
-
- spec/mongoid/relations/eager/belongs_to_spec.rb
|
1280
|
-
- spec/mongoid/relations/eager/has_and_belongs_to_many_spec.rb
|
1281
|
-
- spec/mongoid/relations/eager/has_many_spec.rb
|
1282
|
-
- spec/mongoid/relations/eager/has_one_spec.rb
|
1283
|
-
- spec/mongoid/relations/eager_spec.rb
|
1284
|
-
- spec/mongoid/relations/embedded/dirty_spec.rb
|
1285
|
-
- spec/mongoid/relations/embedded/in_spec.rb
|
1286
|
-
- spec/mongoid/relations/embedded/many_spec.rb
|
1287
|
-
- spec/mongoid/relations/embedded/one_spec.rb
|
1288
|
-
- spec/mongoid/relations/macros_spec.rb
|
1289
|
-
- spec/mongoid/relations/metadata_spec.rb
|
1290
|
-
- spec/mongoid/relations/options_spec.rb
|
1291
|
-
- spec/mongoid/relations/polymorphic_spec.rb
|
1292
|
-
- spec/mongoid/relations/proxy_spec.rb
|
1293
|
-
- spec/mongoid/relations/referenced/in_spec.rb
|
1294
|
-
- spec/mongoid/relations/referenced/many_spec.rb
|
1295
|
-
- spec/mongoid/relations/referenced/many_to_many_spec.rb
|
1296
|
-
- spec/mongoid/relations/referenced/one_spec.rb
|
1297
|
-
- spec/mongoid/relations/reflections_spec.rb
|
1298
|
-
- spec/mongoid/relations/synchronization_spec.rb
|
1299
|
-
- spec/mongoid/relations/targets/enumerable_spec.rb
|
1300
|
-
- spec/mongoid/relations/touchable_spec.rb
|
1301
|
-
- spec/mongoid/tasks/database_rake_spec.rb
|
1302
|
-
- spec/mongoid/tasks/database_spec.rb
|
1303
|
-
- spec/mongoid/timestamps/created/short_spec.rb
|
1304
|
-
- spec/mongoid/timestamps/updated/short_spec.rb
|
1305
|
-
- spec/mongoid/timestamps/created_spec.rb
|
1306
|
-
- spec/mongoid/timestamps/timeless_spec.rb
|
1307
|
-
- spec/mongoid/timestamps/updated_spec.rb
|
1308
|
-
- spec/mongoid/validatable/associated_spec.rb
|
1309
|
-
- spec/mongoid/validatable/format_spec.rb
|
1310
|
-
- spec/mongoid/validatable/length_spec.rb
|
1311
|
-
- spec/mongoid/validatable/numericality_spec.rb
|
1312
|
-
- spec/mongoid/validatable/presence_spec.rb
|
1313
|
-
- spec/mongoid/validatable/uniqueness_spec.rb
|
1314
|
-
- spec/mongoid/atomic_spec.rb
|
1315
|
-
- spec/mongoid/attributes_spec.rb
|
1316
|
-
- spec/mongoid/cacheable_spec.rb
|
1317
|
-
- spec/mongoid/changeable_spec.rb
|
1318
|
-
- spec/mongoid/clients_spec.rb
|
1319
|
-
- spec/mongoid/composable_spec.rb
|
1320
|
-
- spec/mongoid/config_spec.rb
|
1321
|
-
- spec/mongoid/copyable_spec.rb
|
1322
|
-
- spec/mongoid/criteria_spec.rb
|
1323
|
-
- spec/mongoid/document_spec.rb
|
1324
|
-
- spec/mongoid/equality_spec.rb
|
1325
|
-
- spec/mongoid/extensions_spec.rb
|
1093
|
+
- spec/mongoid/persistable/unsettable_spec.rb
|
1094
|
+
- spec/mongoid/persistable/renamable_spec.rb
|
1095
|
+
- spec/mongoid/persistable/deletable_spec.rb
|
1096
|
+
- spec/mongoid/persistable/creatable_spec.rb
|
1097
|
+
- spec/mongoid/persistable/pushable_spec.rb
|
1098
|
+
- spec/mongoid/config/environment_spec.rb
|
1099
|
+
- spec/mongoid/config/options_spec.rb
|
1326
1100
|
- spec/mongoid/factory_spec.rb
|
1327
|
-
- spec/mongoid/
|
1328
|
-
- spec/mongoid/
|
1329
|
-
- spec/mongoid/
|
1330
|
-
- spec/mongoid/
|
1331
|
-
- spec/mongoid/
|
1332
|
-
- spec/mongoid/
|
1333
|
-
- spec/mongoid/
|
1334
|
-
- spec/mongoid/
|
1335
|
-
- spec/mongoid/
|
1336
|
-
- spec/mongoid/
|
1337
|
-
- spec/mongoid/
|
1338
|
-
- spec/mongoid/
|
1339
|
-
- spec/mongoid/
|
1340
|
-
- spec/mongoid/
|
1341
|
-
- spec/mongoid/
|
1342
|
-
- spec/mongoid/
|
1101
|
+
- spec/mongoid/clients/sessions_spec.rb
|
1102
|
+
- spec/mongoid/clients/options_spec.rb
|
1103
|
+
- spec/mongoid/clients/factory_spec.rb
|
1104
|
+
- spec/mongoid/persistable_spec.rb
|
1105
|
+
- spec/mongoid/matchable_spec.rb
|
1106
|
+
- spec/mongoid/timestamps/created_spec.rb
|
1107
|
+
- spec/mongoid/timestamps/created/short_spec.rb
|
1108
|
+
- spec/mongoid/timestamps/timeless_spec.rb
|
1109
|
+
- spec/mongoid/timestamps/updated_spec.rb
|
1110
|
+
- spec/mongoid/timestamps/updated/short_spec.rb
|
1111
|
+
- spec/mongoid/validatable/presence_spec.rb
|
1112
|
+
- spec/mongoid/validatable/format_spec.rb
|
1113
|
+
- spec/mongoid/validatable/numericality_spec.rb
|
1114
|
+
- spec/mongoid/validatable/associated_spec.rb
|
1115
|
+
- spec/mongoid/validatable/uniqueness_spec.rb
|
1116
|
+
- spec/mongoid/validatable/length_spec.rb
|
1343
1117
|
- spec/mongoid/shardable_spec.rb
|
1118
|
+
- spec/mongoid/interceptable_spec.rb
|
1119
|
+
- spec/mongoid/fields/localized_spec.rb
|
1120
|
+
- spec/mongoid/fields/standard_spec.rb
|
1121
|
+
- spec/mongoid/fields/internal/foreign_keys/object_spec.rb
|
1122
|
+
- spec/mongoid/fields/internal/foreign_keys/array_spec.rb
|
1123
|
+
- spec/mongoid/fields/foreign_key_spec.rb
|
1124
|
+
- spec/mongoid/equality_spec.rb
|
1344
1125
|
- spec/mongoid/stateful_spec.rb
|
1345
|
-
- spec/mongoid/threaded_spec.rb
|
1346
1126
|
- spec/mongoid/timestamps_spec.rb
|
1347
|
-
- spec/mongoid/
|
1348
|
-
- spec/mongoid/
|
1349
|
-
- spec/
|
1350
|
-
- spec/
|
1351
|
-
- spec/
|
1352
|
-
- spec/
|
1127
|
+
- spec/mongoid/fields_spec.rb
|
1128
|
+
- spec/mongoid/document_spec.rb
|
1129
|
+
- spec/mongoid/contextual/map_reduce_spec.rb
|
1130
|
+
- spec/mongoid/contextual/aggregable/memory_spec.rb
|
1131
|
+
- spec/mongoid/contextual/aggregable/mongo_spec.rb
|
1132
|
+
- spec/mongoid/contextual/geo_near_spec.rb
|
1133
|
+
- spec/mongoid/contextual/memory_spec.rb
|
1134
|
+
- spec/mongoid/contextual/atomic_spec.rb
|
1135
|
+
- spec/mongoid/contextual/none_spec.rb
|
1136
|
+
- spec/mongoid/contextual/mongo_spec.rb
|
1137
|
+
- spec/mongoid/indexable/specification_spec.rb
|
1138
|
+
- spec/mongoid/positional_spec.rb
|
1139
|
+
- spec/mongoid/tasks/database_rake_spec.rb
|
1140
|
+
- spec/mongoid/tasks/database_spec.rb
|
1141
|
+
- spec/config/mongoid.yml
|
1353
1142
|
- spec/spec_helper.rb
|
1143
|
+
- spec/app/models/browser.rb
|
1144
|
+
- spec/app/models/exhibitor.rb
|
1145
|
+
- spec/app/models/simple.rb
|
1146
|
+
- spec/app/models/shipment_address.rb
|
1147
|
+
- spec/app/models/odd.rb
|
1148
|
+
- spec/app/models/palette.rb
|
1149
|
+
- spec/app/models/circle.rb
|
1150
|
+
- spec/app/models/membership.rb
|
1151
|
+
- spec/app/models/driver.rb
|
1152
|
+
- spec/app/models/root_category.rb
|
1153
|
+
- spec/app/models/company.rb
|
1154
|
+
- spec/app/models/validation_callback.rb
|
1155
|
+
- spec/app/models/event.rb
|
1156
|
+
- spec/app/models/user.rb
|
1157
|
+
- spec/app/models/symptom.rb
|
1158
|
+
- spec/app/models/label.rb
|
1159
|
+
- spec/app/models/cat.rb
|
1160
|
+
- spec/app/models/email.rb
|
1161
|
+
- spec/app/models/alert.rb
|
1162
|
+
- spec/app/models/tree.rb
|
1163
|
+
- spec/app/models/princess.rb
|
1164
|
+
- spec/app/models/big_palette.rb
|
1165
|
+
- spec/app/models/augmentation.rb
|
1166
|
+
- spec/app/models/dungeon.rb
|
1167
|
+
- spec/app/models/author.rb
|
1168
|
+
- spec/app/models/appointment.rb
|
1169
|
+
- spec/app/models/game.rb
|
1170
|
+
- spec/app/models/ghost.rb
|
1171
|
+
- spec/app/models/line_item.rb
|
1172
|
+
- spec/app/models/question.rb
|
1173
|
+
- spec/app/models/church.rb
|
1174
|
+
- spec/app/models/short_quiz.rb
|
1175
|
+
- spec/app/models/division.rb
|
1176
|
+
- spec/app/models/sub_item.rb
|
1177
|
+
- spec/app/models/subscription.rb
|
1178
|
+
- spec/app/models/word.rb
|
1179
|
+
- spec/app/models/kangaroo.rb
|
1180
|
+
- spec/app/models/parent.rb
|
1181
|
+
- spec/app/models/profile.rb
|
1182
|
+
- spec/app/models/basic.rb
|
1183
|
+
- spec/app/models/registry.rb
|
1184
|
+
- spec/app/models/node.rb
|
1185
|
+
- spec/app/models/id_key.rb
|
1186
|
+
- spec/app/models/child_doc.rb
|
1187
|
+
- spec/app/models/ownable.rb
|
1188
|
+
- spec/app/models/pet.rb
|
1189
|
+
- spec/app/models/preference.rb
|
1190
|
+
- spec/app/models/artist.rb
|
1191
|
+
- spec/app/models/my_hash.rb
|
1192
|
+
- spec/app/models/post.rb
|
1193
|
+
- spec/app/models/track.rb
|
1194
|
+
- spec/app/models/tool.rb
|
1195
|
+
- spec/app/models/movie.rb
|
1196
|
+
- spec/app/models/truck.rb
|
1197
|
+
- spec/app/models/child.rb
|
1198
|
+
- spec/app/models/exhibition.rb
|
1199
|
+
- spec/app/models/building.rb
|
1200
|
+
- spec/app/models/pronunciation.rb
|
1201
|
+
- spec/app/models/oscar.rb
|
1202
|
+
- spec/app/models/player.rb
|
1203
|
+
- spec/app/models/draft.rb
|
1204
|
+
- spec/app/models/store_as_dup_test1.rb
|
1205
|
+
- spec/app/models/fruits.rb
|
1206
|
+
- spec/app/models/circuit.rb
|
1207
|
+
- spec/app/models/owner.rb
|
1208
|
+
- spec/app/models/bar.rb
|
1209
|
+
- spec/app/models/answer.rb
|
1210
|
+
- spec/app/models/mixed_drink.rb
|
1211
|
+
- spec/app/models/filesystem.rb
|
1212
|
+
- spec/app/models/entry.rb
|
1213
|
+
- spec/app/models/service.rb
|
1214
|
+
- spec/app/models/video_game.rb
|
1215
|
+
- spec/app/models/category.rb
|
1216
|
+
- spec/app/models/doctor.rb
|
1217
|
+
- spec/app/models/shipping_pack.rb
|
1218
|
+
- spec/app/models/language.rb
|
1219
|
+
- spec/app/models/shop.rb
|
1220
|
+
- spec/app/models/slave.rb
|
1221
|
+
- spec/app/models/location.rb
|
1222
|
+
- spec/app/models/firefox.rb
|
1223
|
+
- spec/app/models/actor.rb
|
1224
|
+
- spec/app/models/folder_item.rb
|
1225
|
+
- spec/app/models/explosion.rb
|
1226
|
+
- spec/app/models/page.rb
|
1227
|
+
- spec/app/models/callback_test.rb
|
1228
|
+
- spec/app/models/staff.rb
|
1229
|
+
- spec/app/models/folder.rb
|
1230
|
+
- spec/app/models/title.rb
|
1231
|
+
- spec/app/models/lat_lng.rb
|
1232
|
+
- spec/app/models/business.rb
|
1233
|
+
- spec/app/models/artwork.rb
|
1234
|
+
- spec/app/models/song.rb
|
1235
|
+
- spec/app/models/record.rb
|
1236
|
+
- spec/app/models/server.rb
|
1237
|
+
- spec/app/models/drug.rb
|
1238
|
+
- spec/app/models/quiz.rb
|
1239
|
+
- spec/app/models/edit.rb
|
1240
|
+
- spec/app/models/baby.rb
|
1241
|
+
- spec/app/models/template.rb
|
1242
|
+
- spec/app/models/band.rb
|
1243
|
+
- spec/app/models/ordered_preference.rb
|
1244
|
+
- spec/app/models/dog.rb
|
1245
|
+
- spec/app/models/target.rb
|
1246
|
+
- spec/app/models/fire_hydrant.rb
|
1247
|
+
- spec/app/models/pub.rb
|
1248
|
+
- spec/app/models/description.rb
|
1249
|
+
- spec/app/models/eye_bowl.rb
|
1250
|
+
- spec/app/models/bed.rb
|
1251
|
+
- spec/app/models/shelf.rb
|
1252
|
+
- spec/app/models/image.rb
|
1253
|
+
- spec/app/models/shape.rb
|
1254
|
+
- spec/app/models/dokument.rb
|
1255
|
+
- spec/app/models/translation.rb
|
1256
|
+
- spec/app/models/writer.rb
|
1257
|
+
- spec/app/models/meat.rb
|
1258
|
+
- spec/app/models/weapon.rb
|
1259
|
+
- spec/app/models/sound.rb
|
1260
|
+
- spec/app/models/rating.rb
|
1261
|
+
- spec/app/models/consumption_period.rb
|
1262
|
+
- spec/app/models/store_as_dup_test2.rb
|
1263
|
+
- spec/app/models/tag.rb
|
1264
|
+
- spec/app/models/manufacturer.rb
|
1265
|
+
- spec/app/models/courier_job.rb
|
1266
|
+
- spec/app/models/canvas.rb
|
1267
|
+
- spec/app/models/strategy.rb
|
1268
|
+
- spec/app/models/series.rb
|
1269
|
+
- spec/app/models/building_address.rb
|
1270
|
+
- spec/app/models/code.rb
|
1271
|
+
- spec/app/models/thing.rb
|
1272
|
+
- spec/app/models/dragon.rb
|
1273
|
+
- spec/app/models/learner.rb
|
1274
|
+
- spec/app/models/contextable_item.rb
|
1275
|
+
- spec/app/models/circus.rb
|
1276
|
+
- spec/app/models/role.rb
|
1277
|
+
- spec/app/models/topping.rb
|
1278
|
+
- spec/app/models/html_writer.rb
|
1279
|
+
- spec/app/models/ordered_post.rb
|
1280
|
+
- spec/app/models/parent_doc.rb
|
1281
|
+
- spec/app/models/acolyte.rb
|
1282
|
+
- spec/app/models/array_field.rb
|
1283
|
+
- spec/app/models/product.rb
|
1284
|
+
- spec/app/models/contractor.rb
|
1285
|
+
- spec/app/models/purchase.rb
|
1286
|
+
- spec/app/models/actress.rb
|
1287
|
+
- spec/app/models/address.rb
|
1288
|
+
- spec/app/models/pizza.rb
|
1289
|
+
- spec/app/models/bomb.rb
|
1290
|
+
- spec/app/models/house.rb
|
1291
|
+
- spec/app/models/version.rb
|
1292
|
+
- spec/app/models/definition.rb
|
1293
|
+
- spec/app/models/sandwich.rb
|
1294
|
+
- spec/app/models/user_account.rb
|
1295
|
+
- spec/app/models/breed.rb
|
1296
|
+
- spec/app/models/pdf_writer.rb
|
1297
|
+
- spec/app/models/car.rb
|
1298
|
+
- spec/app/models/implant.rb
|
1299
|
+
- spec/app/models/pet_owner.rb
|
1300
|
+
- spec/app/models/animal.rb
|
1301
|
+
- spec/app/models/birthday.rb
|
1302
|
+
- spec/app/models/agency.rb
|
1303
|
+
- spec/app/models/scheduler.rb
|
1304
|
+
- spec/app/models/face.rb
|
1305
|
+
- spec/app/models/vet_visit.rb
|
1306
|
+
- spec/app/models/dictionary.rb
|
1307
|
+
- spec/app/models/seo.rb
|
1308
|
+
- spec/app/models/word_origin.rb
|
1309
|
+
- spec/app/models/book.rb
|
1310
|
+
- spec/app/models/favorite.rb
|
1311
|
+
- spec/app/models/name.rb
|
1312
|
+
- spec/app/models/fish.rb
|
1313
|
+
- spec/app/models/shipping_container.rb
|
1314
|
+
- spec/app/models/vehicle.rb
|
1315
|
+
- spec/app/models/override.rb
|
1316
|
+
- spec/app/models/powerup.rb
|
1317
|
+
- spec/app/models/cookie.rb
|
1318
|
+
- spec/app/models/bus.rb
|
1319
|
+
- spec/app/models/agent.rb
|
1320
|
+
- spec/app/models/note.rb
|
1321
|
+
- spec/app/models/eye.rb
|
1322
|
+
- spec/app/models/passport.rb
|
1323
|
+
- spec/app/models/video.rb
|
1324
|
+
- spec/app/models/account.rb
|
1325
|
+
- spec/app/models/pencil.rb
|
1326
|
+
- spec/app/models/short_agent.rb
|
1327
|
+
- spec/app/models/employer.rb
|
1328
|
+
- spec/app/models/person.rb
|
1329
|
+
- spec/app/models/jar.rb
|
1330
|
+
- spec/app/models/login.rb
|
1331
|
+
- spec/app/models/audio.rb
|
1332
|
+
- spec/app/models/kaleidoscope.rb
|
1333
|
+
- spec/app/models/pack.rb
|
1334
|
+
- spec/app/models/page_question.rb
|
1335
|
+
- spec/app/models/patient.rb
|
1336
|
+
- spec/app/models/post_genre.rb
|
1337
|
+
- spec/app/models/message.rb
|
1338
|
+
- spec/app/models/address_number.rb
|
1339
|
+
- spec/app/models/album.rb
|
1340
|
+
- spec/app/models/survey.rb
|
1341
|
+
- spec/app/models/item.rb
|
1342
|
+
- spec/app/models/eraser.rb
|
1343
|
+
- spec/app/models/home.rb
|
1344
|
+
- spec/app/models/address_component.rb
|
1345
|
+
- spec/app/models/wiki_page.rb
|
1346
|
+
- spec/app/models/square.rb
|
1347
|
+
- spec/app/models/article.rb
|
1348
|
+
- spec/app/models/comment.rb
|
1349
|
+
- spec/app/models/even.rb
|
1350
|
+
- spec/app/models/phone.rb
|
1351
|
+
- spec/app/models/country_code.rb
|
1352
|
+
- spec/app/models/league.rb
|
1353
|
+
- spec/rails/controller_extension/controller_runtime_spec.rb
|
1354
|
+
- spec/rails/mongoid_spec.rb
|