slim_form_object 3.3.10 → 3.3.11

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: 06b26771870efd16c68abf63cfb90816df5670725dd0d9645a19ba26b2a3b211
4
- data.tar.gz: 821b09ff19d512bb520a6fb79afc1e2417bfc40377c21015c441d46c0e7de3f6
3
+ metadata.gz: 367ef2213236c2663155001694b1cfc8812e66740c913e78166f2645404bf979
4
+ data.tar.gz: 13c40580c128bda93253fc3c625cf47da3fa27480d0660b522c18f899686e7d8
5
5
  SHA512:
6
- metadata.gz: cf3c22063e79755223e46b742b85f97ef76d101e38937fc97e09e1a0cf59a8a15049672fb27694922156b896381c3faa6531fa97b3eea767a9ca77029be09406
7
- data.tar.gz: 98bf0b3aa2ffef8636b96a3d361cfbfd0a617fb4cfcf81c26352b928082dde872812d7d4ed56d2c221853cb4a0a0331a4f142f723b7ee4e3fd549a5321266e67
6
+ metadata.gz: 0275aa92051bea45f495e901fe6676ef48017a3f32e7619f1793af8220dd0ea7c11fd1d5e814c9ce526b0c967930ca4c0879686f6c9fd4b107e45f67d47a2319
7
+ data.tar.gz: 892113034acb5bf8862deddf742d0d31ffadf2a8a42c755c3cca96f66f191cac17aba2315cfc37c87dcf76f011762b0688988be4de81deed349558f2919acd05
@@ -89,7 +89,7 @@ module SlimFormObject
89
89
  end
90
90
 
91
91
  def save_object(object_of_model)
92
- if validator.allow_to_save_object?(object_of_model)
92
+ if validator.allow_to_save_object?(object_of_model, form_object)
93
93
  object_of_model.save!
94
94
  end
95
95
  end
@@ -1,3 +1,3 @@
1
1
  module SlimFormObject
2
- VERSION = "3.3.10"
2
+ VERSION = "3.3.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slim_form_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.10
4
+ version: 3.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - nerzh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-31 00:00:00.000000000 Z
11
+ date: 2019-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel