super_good-solidus_taxjar 0.1.1 → 0.1.2

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: ea1603239468467b7ec07bd237fe2c0a3925fa92
4
- data.tar.gz: e7adee5f6cb56983e4a0ad595ee67e7e25c60f0b
3
+ metadata.gz: c94c89aed7fedb7bf993044795baf0f4961660ec
4
+ data.tar.gz: c3ad014b0c820991a5f867e4fc2e81a1f6968da2
5
5
  SHA512:
6
- metadata.gz: 9a6bb08cedfc231be13091de7bd75ff4d6770ee5c5f8a190fc4c8b09b3ea7df319b529324bcc178c7c92602c7c405fba12e0ba2fc1182a1960ca587583336391
7
- data.tar.gz: d74e280e27705339476b625bf36ecec42a84c102ce2a4f5e22ce347ee32bca4b4e2a69da185c394752c20b71a36a0728b29295f9084264c3237f3cbb1a8ad3f9
6
+ metadata.gz: 6a4834ef76e50add7b9492a6530febdd040e7814754b40c9365a05d51416492dc1d44c0b3eb8c7e161583c085361743a3793208fbca2c06ffb54234c5e576e75
7
+ data.tar.gz: a75020c9c7635163bd1ca5ddadc5ac094cbbd43f5a616a8ebf7928cb7608f5f22b39c98bc5141334737c678aba3d63d354b5df08289869d9feb0e86ce206fa0f
@@ -37,7 +37,7 @@ module SuperGood
37
37
  id: line_item.id,
38
38
  quantity: line_item.quantity,
39
39
  unit_price: line_item.price,
40
- discount: -line_item.adjustment_total,
40
+ discount: -line_item.promo_total,
41
41
  product_tax_code: line_item.tax_category&.tax_code
42
42
  }
43
43
  end
@@ -1,5 +1,5 @@
1
1
  module SuperGood
2
2
  module SolidusTaxJar
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: super_good-solidus_taxjar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Norman