slim_form_object 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: eead85525874b4ad6ac4fea0f9bdace9f2cc5f90
4
- data.tar.gz: e382a9c9eabfcdf5744647916a6f9d68dc1e06bd
3
+ metadata.gz: 9c5555a1feb3ac6c05f8694427e34b86a37489e3
4
+ data.tar.gz: d466979fd1fc33540f04439038423685bc4ef4f6
5
5
  SHA512:
6
- metadata.gz: 65fc388efca69511b521c7c4589fdf0828f3f8ef5a6e4f4693b8bb78fc53370752e1563f1ef2692066c38b34b15d5cce7bc184d28fb7b1c4fbd9a5c356908346
7
- data.tar.gz: c97e749fe60e6cf20a813aa9ff77ff24f68352122d863592c71d4a1cc96b06eb6eeb4146aa92353e9a7b8bb7801a7d66d50cbb4e9a8498ef7c2a8a96d9ec0203
6
+ metadata.gz: 275116ef1c081f8226114193c6dff71d92ef95e5eece3528c43e9dbc61505ed82ce7e7986b5744b3db9063bc69f5b953aa4c76a3ec64d019ed147a43e840004c
7
+ data.tar.gz: 6a7f43071d80515723f64753842a37a0be8a3b63eddd41c01fe5c1bb082c0651c27f6ed68f579cb1b99337593eee10cf4dc9fcb86722e4656bd27a9c340c7d1e
@@ -21,7 +21,7 @@ module SlimFormObject
21
21
 
22
22
  def not_save_this_model(*args)
23
23
  self.instance_eval do
24
- define_method(:not_validate_this_models) { args }
24
+ define_method(:not_save_this_model) { args }
25
25
  end
26
26
  end
27
27
 
@@ -92,7 +92,7 @@ module SlimFormObject
92
92
  end
93
93
 
94
94
  def check_array_settings_with_settings
95
- define_singleton_method(:not_save_this_model) { [] } unless respond_to?(:not_validate_this_model)
95
+ define_singleton_method(:not_save_this_model) { [] } unless respond_to?(:not_save_this_model)
96
96
  define_singleton_method(:force_save_if_all_attr_is_nil) { [] } unless respond_to?(:force_save_if_all_attr_is_nil)
97
97
  end
98
98
 
@@ -1,3 +1,3 @@
1
1
  module SlimFormObject
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slim_form_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - woodcrust