slim_form_object 3.3.11 → 3.3.12

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: 367ef2213236c2663155001694b1cfc8812e66740c913e78166f2645404bf979
4
- data.tar.gz: 13c40580c128bda93253fc3c625cf47da3fa27480d0660b522c18f899686e7d8
3
+ metadata.gz: 76b135f3de879f5c651c0a14b0a94de0c6f86510f4407bfb3f7fdf0938ae15aa
4
+ data.tar.gz: 5eb62c96a99cf4da353514bfe1a9d03a1034c7671b41b87476489ced74561608
5
5
  SHA512:
6
- metadata.gz: 0275aa92051bea45f495e901fe6676ef48017a3f32e7619f1793af8220dd0ea7c11fd1d5e814c9ce526b0c967930ca4c0879686f6c9fd4b107e45f67d47a2319
7
- data.tar.gz: 892113034acb5bf8862deddf742d0d31ffadf2a8a42c755c3cca96f66f191cac17aba2315cfc37c87dcf76f011762b0688988be4de81deed349558f2919acd05
6
+ metadata.gz: dfa469e54cc8aa1813ac9a6eeaa738243ee8772ba9415b8ad884579284682293ed5cc9508ed43ca8a51d5f33ea68a533fd16eab6c65da106c4b13db5152cd1e9
7
+ data.tar.gz: 277bacc06051955fc32550a2b4d512a7359b6a8f8ad6b16b2ed92bf705a76deafb2480c88900fc4fc8bb49e6d79834a8845c9b5a8360d17185aa05aa2804628d
@@ -14,8 +14,8 @@ module SlimFormObject
14
14
  form_object.after_validation_form_block.call(form_object)
15
15
  end
16
16
 
17
- def allow_to_save_object?(object)
18
- form_object.allow_to_save_object_block.call(object)
17
+ def allow_to_save_object?(object, form_object)
18
+ form_object.allow_to_save_object_block.call(object, form_object)
19
19
  end
20
20
 
21
21
  def allow_to_validate_object?(data_object)
@@ -1,3 +1,3 @@
1
1
  module SlimFormObject
2
- VERSION = "3.3.11"
2
+ VERSION = "3.3.12"
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: 3.3.11
4
+ version: 3.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - nerzh