spree_exactor 1.1.5.20130731 → 1.1.6.20130802
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b7d02efd6cf0647d85d2582e1145043943e1a52
|
4
|
+
data.tar.gz: 836af1e82ca0b9b32a43d8faf25ee55442cbfd8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3d46bce1586f628d7d655fba1f1e1dd2b6b6bd4ba138e02d26c19896be2d27d4fb1caa3b02ed6fd7723cadc96cb54fc09c31ddaec430b3e0135fe74e87ab794
|
7
|
+
data.tar.gz: 449d613685ac9723791288065be49e8ca644e04966086861de146ecf6b0f5350ea47f74f0cae546a323eb12f7fbeba01a7da3f18887f0fd98b48ee987f1f4b82
|
data/Gemfile.lock
CHANGED
@@ -4,7 +4,7 @@ require 'bigdecimal/util'
|
|
4
4
|
|
5
5
|
module SpreeExactorConnector
|
6
6
|
class SpreeExactorConnector
|
7
|
-
PLUGIN_VERSION = "
|
7
|
+
PLUGIN_VERSION = "20130802"
|
8
8
|
TEST_TRANSACTION_NAME = "Spree Test Transaction"
|
9
9
|
TEST_ITEM_DESRIPTION = "Exactor Account Verification. Plug-in version:"
|
10
10
|
PLUGIN_NAME = "SpreeCommerce"
|
@@ -391,7 +391,7 @@ module SpreeExactorConnector
|
|
391
391
|
# @param [Spree::Shipment] shipment
|
392
392
|
def generate_shipment_key(shipment)
|
393
393
|
# using stock_location_id instead of shipment_id is a workaround. Spree recreates shipments on delivery page.
|
394
|
-
"#{shipment.stock_location_id}_#{shipment.shipping_method.id}"
|
394
|
+
"#{shipment.stock_location_id}_#{shipment.shipping_method.id}_#{shipment.cost}"
|
395
395
|
end
|
396
396
|
|
397
397
|
def add_free_shipping_lineitem(shipping_amount, stock = nil)
|
@@ -13,6 +13,7 @@ module SpreeExactor
|
|
13
13
|
supported_versions '1.1.3.20130726'=>['2.0.*']
|
14
14
|
supported_versions '1.1.4.20130729'=>['2.0.*']
|
15
15
|
supported_versions '1.1.5.20130731'=>['2.0.*']
|
16
|
+
supported_versions '1.1.6.20130802'=>['2.0.*']
|
16
17
|
unless @supported_versions.include? _plugin_version
|
17
18
|
puts "Unknown plug-in version. Try any of those: "+ @supported_versions.keys.to_s
|
18
19
|
exit(0)
|
data/spree_exactor.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_exactor'
|
5
|
-
s.version = '1.1.
|
5
|
+
s.version = '1.1.6.20130802'
|
6
6
|
s.summary = 'Exactor sales tax compliance module for SpreeCommerce'
|
7
7
|
s.description = 'Sales tax compliance module for (i) calculating sales tax with SpreeCommerce; and (ii) generating and filing sales tax returns in all US jurisdictions (state and local).'
|
8
8
|
s.required_ruby_version = '>= 2.0.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_exactor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6.20130802
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Exactor, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|