setsuzoku 0.11.6 → 0.11.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0ab91eaa6a9400d9a0647b05050f9c36dfce42b98615e759dbeed9d57c1c386
|
4
|
+
data.tar.gz: b7ec53469c182c7defc53af1f4f0aff7a2cf2ee6fba52a78bdd9ee2d8f6364c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10f9cc0590cd0cb0a02fe4cb03eb59eaba92dabc3534253a91fbbd5d37689b31a3b2c916ddc5c4c589a7a12bc4f3471059c5b3fb9ed40c80ed69bc34e95d735f
|
7
|
+
data.tar.gz: 40672dbe7dba68c32013e4052febb2cd1a9988083a36132b9b54f16b7077a17d65c2276a8893229f12c6f0a7babb7e852021f7f4fd36cb15f2a836569efcb740
|
data/Gemfile.lock
CHANGED
@@ -129,8 +129,13 @@ module Setsuzoku
|
|
129
129
|
|
130
130
|
# Only save Setsuzoku known fields, and any additional attributes the plugin specifies
|
131
131
|
# in credential_fields_to_update.
|
132
|
-
if self.credential.respond_to?(:"
|
133
|
-
|
132
|
+
if self.credential.respond_to?(:"update_columns")
|
133
|
+
# we issue an update_columns instead of a save/update_attributes
|
134
|
+
# so as to only mutate these attributes
|
135
|
+
# and not any other fields that may have been set for the credential
|
136
|
+
save = self.credential.update_columns(attrs)
|
137
|
+
self.credential.touch if save && self.credential.respond_to?(:"touch")
|
138
|
+
save && resp.success
|
134
139
|
else
|
135
140
|
resp.success
|
136
141
|
end
|
data/lib/setsuzoku/version.rb
CHANGED