active_form_objects 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/handlers/savings.rb +0 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3adbc64ad3aaec9bd9588470a8ad973daa6b1549389f52dc24c043b52ec4bea7
4
- data.tar.gz: 9fac6d32d71260879886077db2a154cb00cb57793dcbda2cf1683944199c2e9d
3
+ metadata.gz: 2a70dfc174a853aae73e05bc4c478a407c8404766608d7fc469e6cc117a7626f
4
+ data.tar.gz: cc29b0f3a8a4ecc43a72cc5c90d3c34a55781b2ca954f8808dd2b0e0b295a356
5
5
  SHA512:
6
- metadata.gz: dc9193a4a1643092fff0a893fa0f33659be98cfd1b5188919d91ef45f6fbb4a0c4999c95a50ba249ce07c460b00c0816f05501f891ea5ed701ae386200e75cc6
7
- data.tar.gz: 11b5bd0d920cac545ddbe4cb202641f0851923329ef7a18ced74e4ae528af8be68245a654ccd6c5be2257476b6e9e263f1f34f2249b5defac09430214f18c118
6
+ metadata.gz: b552bf24d0695fa51609f7d394146ea1a4052742a1dd2107b14146067b281cac4c939b716ca6e4f665802716174a3b84ff9fadbfeb39f9d800321ec21d689dba
7
+ data.tar.gz: 2c90ab97f4001b459bfb8f814e116bfa922ee51e985bac6b69eb18b626c12411e5a45f3c5e287c5e24a52a76efa601185bc629ad73256ffd8a522273b2b58dfa
@@ -28,8 +28,6 @@ module Handlers
28
28
 
29
29
  def save_with_block!(block)
30
30
  @klass.instance_eval(&block)
31
- @resource = @klass.instance_variable_get(:@resource)
32
- @resource.try(:save!)
33
31
  end
34
32
 
35
33
  def save_without_block!
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_form_objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michaël Villeneuve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-26 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport