slim_form_object 3.3.6 → 3.3.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: 0e28a5f35839e3cdf3ffecc09e1b84ab18fd063b2e5ccbff30bdf61031a73370
4
- data.tar.gz: 4dc6ddc2a54768d01d1ee4d277d527e060e082542a98d662c87df05758a4bf51
3
+ metadata.gz: 974cf3e55e6ae42a83d809ccb764c913fdb8fdf33676f4996524d86a23c2ac72
4
+ data.tar.gz: a17ebbbb591015f8c05b5f669ca31dfe560adaf1f58ff12a014824d83797894a
5
5
  SHA512:
6
- metadata.gz: 4d882607bbc784ce9883e0ba7383aa6ae9b4926b16d5675d8fcaef9a72e075fde8df82578bd761dce4debac5178b4957d07ac7ee61177337f81197e2d6f7490c
7
- data.tar.gz: 3e7c6fca7f7c6b5cabae4074fa04ed27da1dc13b70f3eaefd1526fb372bffb8f53ae628f95c9baadaab29cb259fb5ddfe5d3636f70a61c51ba3e8539da9dbc3c
6
+ metadata.gz: 78455549dd43e89428adfd8647db17d3465c0c102f4bac343362c661e575eb1b5f73170a1e198480972714cced8a686848d17f397d0d7e7189b80eeb3de720a1
7
+ data.tar.gz: a093241ea60edad95f271a731d106f0dd4665e8947c887c67a48c97d42e20aaba2714351712bd3eac3574f3afc81134bb080eda791461890a8b2927c3162b03b
@@ -22,10 +22,8 @@ module SlimFormObject
22
22
  end
23
23
 
24
24
  def save!
25
- if form_object.valid?
26
- _save
27
- end
28
- true
25
+ form_object.validate
26
+ _save
29
27
  end
30
28
 
31
29
  private
@@ -1,3 +1,3 @@
1
1
  module SlimFormObject
2
- VERSION = "3.3.6"
2
+ VERSION = "3.3.7"
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.6
4
+ version: 3.3.7
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-22 00:00:00.000000000 Z
11
+ date: 2019-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  requirements: []
190
- rubygems_version: 3.0.3
190
+ rubygems_version: 3.0.4
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: This is form object