slim_form_object 3.3.7 → 3.3.8
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/slim_form_object/processing.rb +1 -1
- data/lib/slim_form_object/saver.rb +0 -1
- data/lib/slim_form_object/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00ef2937f4fd17d277cc5c329b1a68d6bf28cf272bd4a90aa44142f0a8cc1fd0
|
4
|
+
data.tar.gz: 4abbd83df6b3523126dfc19a2de0d2820d26547bc36431f40c5b4c0db3ed0b70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cde07e75464e1845bef44de45f8cdd646cc33a66de0c350ff6e8b87340d566689cc5cf34546bc1246817213aae39281d52aba2f37021a35bcf866ac83e994bab
|
7
|
+
data.tar.gz: 6d4e5b1ac2c412f880230739b0d89ea21ba5d7028b9043dfa763d2dbf60137550abcc4f9324bdbcfcd84d5cc2a46153056917a12259ef67c4d3e9769bf399802
|
@@ -143,7 +143,7 @@ module SlimFormObject
|
|
143
143
|
define_singleton_method(:allow_to_validate_object_block) { Proc.new { true } } unless respond_to?(:allow_to_validate_object_block)
|
144
144
|
|
145
145
|
define_singleton_method(:allow_to_save_object_block) do
|
146
|
-
Proc.new { |object|
|
146
|
+
Proc.new { |object| object.changed? }
|
147
147
|
end unless respond_to?(:allow_to_save_object_block)
|
148
148
|
|
149
149
|
define_singleton_method(:allow_object_processing_block) do
|