effective_orders 4.5.9 → 4.5.10

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: 59043240411738af58cfc47af461408a055e6c5b14cb972bfe2813e6406ff33f
4
- data.tar.gz: 2984831a23addc106308001ebd736ddc549575b9af42062d2328633050e9a9c3
3
+ metadata.gz: fedc9964ed35e8479f4c5d663fe37c7f76f1ebebd3a6852f880be58aa9ada488
4
+ data.tar.gz: 0b6e195ea558eec5b0bb5b5be2f7dd17fe769233b039c475c6c24f1136d5b144
5
5
  SHA512:
6
- metadata.gz: 65434ddd798e864809733e292b6dddd6bf57b20d0c336d44558e1dd80c5c2b9893d3c1e797c54cbbf6f8583188022c75c1c1e5baff7f7c2ee5e4fca150bb2d81
7
- data.tar.gz: '0939ceffcb5d665ef932ce414c425c11b8e10f697abdce2bbd5c24335c1b438c3753a8c2a5223060f81872d8402f77f48a7178c492501b7a286f30893a71bb31'
6
+ metadata.gz: 92930b78d50b28a14afbb274fe01c9a8677541955084b19b3d3e17440dacdb00299e7462a9db6921074736e903123bee09ba5ffc2483271a89aa088ebd637285
7
+ data.tar.gz: c0966358967695aa5df3c62ed423123640e91e4b816e607b5e153a6a3cced73c7228d7b133e4d10e25e4243bc9470e55e35a898b24c5e41a3466cecb3f1d8b1e
@@ -204,7 +204,7 @@ module EffectiveOrders
204
204
  currency: plan.currency,
205
205
  interval: plan.interval,
206
206
  interval_count: plan.interval_count,
207
- trial_period_days: plan.trial_period_days
207
+ trial_period_days: (plan.trial_period_days if plan.respond_to?(:trial_period_days))
208
208
  }
209
209
  end.sort do |x, y|
210
210
  val ||= (x[:interval] <=> y[:interval])
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '4.5.9'.freeze
2
+ VERSION = '4.5.10'.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.5.9
4
+ version: 4.5.10
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: 2020-08-24 00:00:00.000000000 Z
11
+ date: 2020-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails