hstorly 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/hstorly/active_record_extensions.rb +1 -1
- data/lib/hstorly/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49e78f2ad73e498d1ddfa10fc098789d2d558680
|
|
4
|
+
data.tar.gz: 2e1ea65d75bd2e55b63cac691a18b9751aeb4b05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e312a4c80366882291c1951790c9386a89d5d4742c8d32d366f4f41012b11846a74daa66012ba458002e56f026e235e54a8477981edb6f9c2d483b856d8111d0
|
|
7
|
+
data.tar.gz: cad22851fc00c78fe5709f77d16c63f368bed439f6ea8674266bc5bc5639d4968ccfc32230fbc474cb251bf46f8542d4759f5f89e17a6898f3e002a903fbb7f1
|
|
@@ -22,7 +22,7 @@ module Hstorly
|
|
|
22
22
|
if value.is_a?(Hash)
|
|
23
23
|
write_attribute attribute, value
|
|
24
24
|
elsif self[attribute].present?
|
|
25
|
-
write_attribute attribute,
|
|
25
|
+
write_attribute attribute, self[attribute].merge({I18n.locale => value })
|
|
26
26
|
value
|
|
27
27
|
else
|
|
28
28
|
write_attribute attribute, {I18n.locale => value }
|
data/lib/hstorly/version.rb
CHANGED