activerecord-redundancy 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redundancy/utils.rb +1 -1
- data/lib/redundancy/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eaba9fab04a65cac33da01f3c7ad54f5865e2a2c
|
4
|
+
data.tar.gz: 048c7a2d1e9dbdacfecba9fd2ba39de4a4b08864
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 259c64cfef4a3356294e964b661607f615d7c02ba1ef66943003d61cbe9d11603cd15cc1112ed4a4405fe35d837aaca4f8d6ab965cdb44c08e4445637c0593f8
|
7
|
+
data.tar.gz: 90ec954829fd633d61f8224179528f55e77bf12340c2723cfd7564aeb356e546e570a9919ca6387dfc05b1cd7bff23afe07bfe74fda94e779d2c8b0fe7b923c4
|
data/lib/redundancy/utils.rb
CHANGED
@@ -92,7 +92,7 @@ module Redundancy
|
|
92
92
|
reflection_klass.reflect_on_association(inverse_association)
|
93
93
|
end
|
94
94
|
|
95
|
-
raise ArgumentError, "Could not find the inverse association for #{
|
95
|
+
raise ArgumentError, "Could not find the inverse association for #{model_name} (#{inverse_associations.inspect} in #{reflection_klass})" unless inverse_association
|
96
96
|
inverse_association
|
97
97
|
end
|
98
98
|
|
data/lib/redundancy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-redundancy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Theo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -155,3 +155,4 @@ test_files:
|
|
155
155
|
- test/support/models/post.rb
|
156
156
|
- test/support/models/user.rb
|
157
157
|
- test/test_helper.rb
|
158
|
+
has_rdoc:
|