storext 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/storext/instance_methods.rb +8 -1
- data/lib/storext/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7310847392f00a725727524f18b60aa786ae711
|
4
|
+
data.tar.gz: 4f97657ecfce3c723c778d4828ccd0c9caa06263
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 599218af628381c3a34b06fb973c7446edad2ac643f5ac42835c7dd50b49578077002314f554377c02c9ef3488f58f5f6b263bd279835d0d5d42cc6181b56714
|
7
|
+
data.tar.gz: 5d1ccd6f7668b46d939cd5243ab4e52af15e1042face666ec356fa311f18d7c9875340ac7f21d1ca7541b2feca53b0193332bd0b80c773546c8ed565f5578571
|
@@ -7,6 +7,8 @@ module Storext
|
|
7
7
|
new_value = send(column).dup
|
8
8
|
end
|
9
9
|
new_value.delete(attr.to_s)
|
10
|
+
storext_cast_proxy.reset_attribute(attr)
|
11
|
+
|
10
12
|
send("#{column}=", new_value)
|
11
13
|
end
|
12
14
|
|
@@ -15,7 +17,12 @@ module Storext
|
|
15
17
|
if Rails.gem_version < Gem::Version.new("4.2.0")
|
16
18
|
new_value = send(column).dup
|
17
19
|
end
|
18
|
-
|
20
|
+
|
21
|
+
attrs.each do |a|
|
22
|
+
new_value.delete(a.to_s)
|
23
|
+
storext_cast_proxy.reset_attribute(a)
|
24
|
+
end
|
25
|
+
|
19
26
|
send("#{column}=", new_value)
|
20
27
|
end
|
21
28
|
|
data/lib/storext/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: storext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- G5
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-12-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -130,4 +130,3 @@ signing_key:
|
|
130
130
|
specification_version: 4
|
131
131
|
summary: Extends ActiveRecord::Store.store_accessor
|
132
132
|
test_files: []
|
133
|
-
has_rdoc:
|