consistency_fail 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/consistency_fail/models.rb +1 -1
- data/lib/consistency_fail/version.rb +1 -1
- data/spec/models_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d760c4a8390a6a7077a2e5a4cf309ae4673b1f3
|
4
|
+
data.tar.gz: 8e7ba2c8d15c98d9d2b7a645f060a9a62c97c908
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9aa9493151ec9c92fd26dd4b2446af019bf6b654bb6ea6dbf42b613586b74853af3622034684774e398acf01623b6a88b836adec08831b5130337461daa39d5c
|
7
|
+
data.tar.gz: 14e9c24ff5f07b12b5e345decf0ce635e4c19c31297311ab014dec61eed14c0fb00060677666762c7dd4d782881a39b0ff6b74d3ea4660a891997a187960ce4a
|
data/spec/models_spec.rb
CHANGED
@@ -28,9 +28,9 @@ describe ConsistencyFail::Models do
|
|
28
28
|
with(File.join("some/other/models", "**", "*.rb")).
|
29
29
|
and_return(["some/other/models/foo.rb"])
|
30
30
|
|
31
|
-
expect(Kernel).to receive(:
|
32
|
-
expect(Kernel).to receive(:
|
33
|
-
expect(Kernel).to receive(:
|
31
|
+
expect(Kernel).to receive(:require_dependency).with("app/models/user.rb")
|
32
|
+
expect(Kernel).to receive(:require_dependency).with("app/models/address.rb")
|
33
|
+
expect(Kernel).to receive(:require_dependency).with("some/other/models/foo.rb")
|
34
34
|
|
35
35
|
models.preload_all
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consistency_fail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin Jones
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|