effective_orders 4.1.3 → 4.1.4

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: b0138f12b6cd08d275d70c37e1b9a04c6fb54b10
4
- data.tar.gz: 857afa9059a486f0b8d2c50e5c8ee51c9b5a5577
3
+ metadata.gz: b5b81ba8454b65573aabec1b8bc29c1d58139f66
4
+ data.tar.gz: 2272dc61ccd18b05bdab9c6801524140c1a24b62
5
5
  SHA512:
6
- metadata.gz: a18411c2278e6b93222a77e962fb85ec58f34d217c7394a05f28c9309b6c8afa4954c4d7d22e1bda654a7e5a50d1baaf84d04a531b970f5e3a558f1fa2d87db7
7
- data.tar.gz: 6a5f4bc9942d336ba1f0f885b5d9df3fc2326e13a84d1b2ca35d6453c04972c24ca3622620e76db4a41207a5c5df473f22a9663b2904835b53455b352d8038f3
6
+ metadata.gz: b1ba3a1cd9ec8a98d85bcdc18343c341f562b7cd5ecb29b3f2f86e6c68684663b1b197173109ecf2d840fb9b0df62e41d3b5bc0ee263f71ea651d674f74730e1
7
+ data.tar.gz: 9ecbb1e9fdbb4e8c993b35269abf44ff35d25271ffd3ad678338b42aea8e15de609ca16345f3e93ba019f8062947388aa5efe39a1fc7ca620b7e988d66f35f46
@@ -24,7 +24,7 @@ module Effective
24
24
  self.description = plan[:description]
25
25
  end
26
26
 
27
- after_save(on: [:create, :update]) do
27
+ after_save do
28
28
  subscribable.subscription_name = name if subscribable.respond_to?(:subscription_name=)
29
29
  subscribable.subscription_description = description if subscribable.respond_to?(:subscription_description=)
30
30
  subscribable.subscription_interval = interval if subscribable.respond_to?(:subscription_interval=)
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '4.1.3'.freeze
2
+ VERSION = '4.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.3
4
+ version: 4.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-30 00:00:00.000000000 Z
11
+ date: 2019-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails