effective_orders 5.2.7 → 5.2.8

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: 419b2992feb9ade2fb499b58fc73083cd8a4f1079fb1e355477bf32c0f75a3f4
4
- data.tar.gz: f31d171a1fd01cdf25dc897080e61797f9d7f2c98b769bde536e59046bee8761
3
+ metadata.gz: 7850176b4c32949c586aa453834799cb0063919a1eb7437e5111f2a280e19fc0
4
+ data.tar.gz: e5753a21c4ba634a779bce34c0dafae0d94492db53f51bbb89720f860ea17985
5
5
  SHA512:
6
- metadata.gz: d8c6d641ed49d7560d37351dea431f39252cd9e29a0a523c3f4173b9bb72a61315c1ed332a9979938626a80ced4235baafd5c7f753ca6a37c3d1ac97cb4ef3a8
7
- data.tar.gz: 6624bddc0a1e3c51b8f13cb3bb3f61830831ec7207233cc420187af0e5dc5cee5a49466fe5ea0896d58caff8980d5c4c1b3a3111ad7e603632ce0b535c5e8ea2
6
+ metadata.gz: 6251dfd17f63fce47aa1484d26bfb68afaa24f080819f8f8a00ffc21e280e36396c0d25ee6d0fc400af01120539d39f71aaef91bdb8770d9f28a87dd5198b4d6
7
+ data.tar.gz: 65a6ad794d855f8057f5e14051ec1d0b7099e21e54b864238f61b5a020f17f0f1a93042a30c74dcd0b5b581385ac1e466eb075344054958506a9ee2ad7e7605a
@@ -103,7 +103,7 @@ module Effective
103
103
  end
104
104
 
105
105
  # User validations -- An admin skips these when working in the admin/ namespace
106
- with_options unless: -> { pending? || skip_buyer_validations? } do
106
+ with_options unless: -> { pending? || skip_buyer_validations? || purchased? } do
107
107
  validates :tax_rate, presence: { message: "can't be determined based on billing address" }
108
108
  validates :tax, presence: true
109
109
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '5.2.7'.freeze
2
+ VERSION = '5.2.8'.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.2.7
4
+ version: 5.2.8
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: 2021-12-20 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails