effective_orders 5.8.0 → 5.8.1

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: 7ef5017c01d659fbcc95d0f7b69568175c7bbe76540b2d57ec6f0ea6ac87d44d
4
- data.tar.gz: 570d1894364ff47516f213d9fa29b139597c8f702de4da8277857eac9fe8140a
3
+ metadata.gz: 90e5e07bb9f141ffa7bfc4b43417e8cb1aedc08768e02c9b5dafb63d1434a40e
4
+ data.tar.gz: aa819e0ad7f7d949abe6510b74c8a614f0639e9a2f3727c18f8350b264b6bc86
5
5
  SHA512:
6
- metadata.gz: 66297faebffcc406116d3bb394a5572e5127796bd34bbaabb7832785061280bd0e6fd4e06b3509013ab98f6c3a88a47c36eec27e12f20b6859970d5f7dc18a55
7
- data.tar.gz: 92dc17259f946aa1ff2d49521e40ab2db17f0d6888f52ff6d7567ded95f6d022532f13959b408bbe9ccfb905066fe05adcee2919e2063684da43ce3fe2965233
6
+ metadata.gz: b93e4a1ec80c04b9e507157feb1a92c6443b22d5729800cffca1bcf2f2c52aab4a484e667e31798b8a3d165462bff4454a3099c81818b015b546f708bd5fc3ad
7
+ data.tar.gz: cd59f3b82d0bc1500ab9b64bf2a0e8789d0dda0bc12cc6f9f068e15e071881b3b61fca7f2f32c954d63e764b68ea6649f14418a2de35d9bfa4cb3a7970139840
@@ -65,6 +65,8 @@ module ActsAsPurchasable
65
65
  super
66
66
  elsif value.kind_of?(String) && !value.include?('.') # Looks like an integer
67
67
  super
68
+ elsif value.blank?
69
+ super
68
70
  else
69
71
  raise 'expected price to be an Integer representing the number of cents.'
70
72
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '5.8.0'.freeze
2
+ VERSION = '5.8.1'.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: 5.8.0
4
+ version: 5.8.1
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: 2022-09-13 00:00:00.000000000 Z
11
+ date: 2022-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails