kasket 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kasket/reload_association_mixin.rb +1 -1
- data/lib/kasket/version.rb +1 -1
- metadata +3 -3
@@ -5,7 +5,7 @@ module Kasket
|
|
5
5
|
if loaded?
|
6
6
|
Kasket.clear_local if target.class.include?(WriteMixin)
|
7
7
|
else
|
8
|
-
refl =
|
8
|
+
refl = ActiveRecord::VERSION::MAJOR == 3 ? reflection : proxy_reflection
|
9
9
|
target_class = (refl.options[:polymorphic] ? (respond_to?(:klass) ? klass : association_class) : refl.klass)
|
10
10
|
Kasket.clear_local if target_class && target_class.include?(WriteMixin)
|
11
11
|
end
|
data/lib/kasket/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kasket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -183,7 +183,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
segments:
|
185
185
|
- 0
|
186
|
-
hash:
|
186
|
+
hash: 1246401071380098852
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
188
|
none: false
|
189
189
|
requirements:
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
version: '0'
|
193
193
|
segments:
|
194
194
|
- 0
|
195
|
-
hash:
|
195
|
+
hash: 1246401071380098852
|
196
196
|
requirements: []
|
197
197
|
rubyforge_project:
|
198
198
|
rubygems_version: 1.8.24
|