dynamini 1.4.5 → 1.4.6
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/dynamini/base.rb +4 -4
- 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: 16d544d4bb96d45d36f45ab56e69ca21bc24d665
|
|
4
|
+
data.tar.gz: 21b5b1546c6ab77a44c764a62ba04970b418fdab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e672cd11d37edd905b196c10ec7a5698eeecd3553d72ec14984d99225c8cbd127ea962c855a0cee92dbe0db3c092bd48bb2a7dff6e0447907bd2641ab848e47a
|
|
7
|
+
data.tar.gz: bd04876bd0e97aff1258ce91ff5407548d6e9248ae0676c7a6505f7d4ee1eb77dc8d46cef044707c203890e70df5a22c620e0e903263608b0c74c2dc8e995c29
|
data/lib/dynamini/base.rb
CHANGED
|
@@ -144,14 +144,14 @@ module Dynamini
|
|
|
144
144
|
nil
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
def update_attribute(key, value)
|
|
147
|
+
def update_attribute(key, value, options = {})
|
|
148
148
|
write_attribute(key, value)
|
|
149
|
-
save!
|
|
149
|
+
save!(options)
|
|
150
150
|
end
|
|
151
151
|
|
|
152
|
-
def update_attributes(attributes)
|
|
152
|
+
def update_attributes(attributes, options = {})
|
|
153
153
|
assign_attributes(attributes)
|
|
154
|
-
save!
|
|
154
|
+
save!(options)
|
|
155
155
|
end
|
|
156
156
|
|
|
157
157
|
def save(options = {})
|