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: a0f00d92c091463778e6980f170f498afefc09e4
4
- data.tar.gz: 357356a22904958b90db1590392cac48f651aecc
3
+ metadata.gz: 9b7d02efd6cf0647d85d2582e1145043943e1a52
4
+ data.tar.gz: 836af1e82ca0b9b32a43d8faf25ee55442cbfd8b
5
5
  SHA512:
6
- metadata.gz: effe15c9dea6eac0de075d1584084450db437a45be19be2979dc844a58f05ba1b1193a875a3c973878eedad7f508c115767219ea67cd9fc7563637ab7b41c1ff
7
- data.tar.gz: 360f65ff9dbedb539a3bae5a471010aad150d66221a1b98f3494037196ed0b3cdcc0abdcd1707e989f5a7c08c81d12aac5fa7b455a1ed59581118a13293372c4
6
+ metadata.gz: a3d46bce1586f628d7d655fba1f1e1dd2b6b6bd4ba138e02d26c19896be2d27d4fb1caa3b02ed6fd7723cadc96cb54fc09c31ddaec430b3e0135fe74e87ab794
7
+ data.tar.gz: 449d613685ac9723791288065be49e8ca644e04966086861de146ecf6b0f5350ea47f74f0cae546a323eb12f7fbeba01a7da3f18887f0fd98b48ee987f1f4b82
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spree_exactor (1.1.5.20130731)
4
+ spree_exactor (1.1.6.20130802)
5
5
  rspec
6
6
  spree_core (>= 2.0.0)
7
7
  sqlite3
@@ -4,7 +4,7 @@ require 'bigdecimal/util'
4
4
 
5
5
  module SpreeExactorConnector
6
6
  class SpreeExactorConnector
7
- PLUGIN_VERSION = "20130731"
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)
@@ -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.20130731'
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.5.20130731
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-07-31 00:00:00.000000000 Z
11
+ date: 2013-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core