strikeiron 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,9 +23,7 @@ module Strikeiron
23
23
 
24
24
  # Singleton Savon client
25
25
  def client
26
- @@client ||= Savon::Client.new do
27
- wsdl.document = WSDL
28
- end
26
+ @@client ||= Savon::Client.new(WSDL)
29
27
  end
30
28
 
31
29
  # Get the calculated online sales tax for a product or service
@@ -18,13 +18,24 @@ module Strikeiron #:nodoc:
18
18
  # Convert the object from the Strikeiron response
19
19
  def from_soap(response)
20
20
  tax_values = []
21
- response[:results][:tax_value_record].each do |record|
21
+
22
+ if response[:results][:tax_value_record].is_a?(Hash)
23
+ record = response[:results][:tax_value_record]
22
24
  tax_values << TaxValue.new(
23
25
  :category => record[:category],
24
26
  :category_id => record[:category_id],
25
27
  :tax_amount => record[:sales_tax_amount].to_f,
26
28
  :jurisdictions => record[:jurisdictions][:sales_tax_value_jurisdiction].map { |j| Jurisdiction.new(:fips => j[:fips], :name => j[:name], :tax_amount => j[:sales_tax_amount].to_f) }
27
29
  )
30
+ else
31
+ response[:results][:tax_value_record].each do |record|
32
+ tax_values << TaxValue.new(
33
+ :category => record[:category],
34
+ :category_id => record[:category_id],
35
+ :tax_amount => record[:sales_tax_amount].to_f,
36
+ :jurisdictions => record[:jurisdictions][:sales_tax_value_jurisdiction].map { |j| Jurisdiction.new(:fips => j[:fips], :name => j[:name], :tax_amount => j[:sales_tax_amount].to_f) }
37
+ )
38
+ end
28
39
  end
29
40
 
30
41
  new(
@@ -1,3 +1,3 @@
1
1
  module Strikeiron
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Thu, 03 May 2012 14:28:00 GMT
20
+ - Fri, 31 Aug 2012 16:13:23 GMT
21
21
  Server:
22
22
  - Microsoft-IIS/6.0
23
23
  X-Powered-By:
@@ -30,6 +30,8 @@ http_interactions:
30
30
  - text/xml; charset=utf-8
31
31
  Content-Length:
32
32
  - '19714'
33
+ Set-Cookie:
34
+ - BIGipServerws.strikeiron.com=3257998296.20480.0000; path=/
33
35
  body:
34
36
  encoding: US-ASCII
35
37
  string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\"
@@ -283,6 +285,6 @@ http_interactions:
283
285
  \ <wsdl:port name=\"SpeedTaxSoap\" binding=\"tns:SpeedTaxSoap\">\r\n <soap:address
284
286
  location=\"http://wsparam.strikeiron.com/StrikeIron/SpeedTaxSalesTax3/SpeedTax\"
285
287
  />\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
286
- http_version:
287
- recorded_at: Thu, 03 May 2012 14:28:00 GMT
288
- recorded_with: VCR 2.1.1
288
+ http_version:
289
+ recorded_at: Fri, 31 Aug 2012 16:13:23 GMT
290
+ recorded_with: VCR 2.2.4
@@ -6,15 +6,15 @@ http_interactions:
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://www.strikeiron.com/"
10
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://www.strikeiron.com/"><env:Body><GetRemainingHits><wsdl:UserID>user_id</wsdl:UserID><wsdl:Password>password</wsdl:Password></GetRemainingHits></env:Body></env:Envelope>
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.strikeiron.com/"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://www.strikeiron.com/"><env:Body><ins0:SILicenseInfo><ins0:UserID>user_id</ins0:UserID><ins0:Password>password</ins0:Password></ins0:SILicenseInfo></env:Body></env:Envelope>
11
11
  headers:
12
12
  Soapaction:
13
13
  - ! '"http://wsparam.strikeiron.com/StrikeIron/SpeedTaxSalesTax3/SpeedTax/GetRemainingHits"'
14
14
  Content-Type:
15
15
  - text/xml;charset=UTF-8
16
16
  Content-Length:
17
- - '450'
17
+ - '453'
18
18
  Accept:
19
19
  - ! '*/*'
20
20
  User-Agent:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Thu, 03 May 2012 16:28:46 GMT
28
+ - Fri, 31 Aug 2012 16:13:25 GMT
29
29
  Server:
30
30
  - Microsoft-IIS/6.0
31
31
  X-Powered-By:
@@ -37,7 +37,7 @@ http_interactions:
37
37
  Content-Type:
38
38
  - text/xml; charset=utf-8
39
39
  Content-Length:
40
- - '642'
40
+ - '641'
41
41
  body:
42
42
  encoding: US-ASCII
43
43
  string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
@@ -45,8 +45,8 @@ http_interactions:
45
45
  \ <soap:Header />\r\n <soap:Body>\r\n <SISubscriptionInfo xmlns=\"http://www.strikeiron.com/\">\r\n
46
46
  \ <LicenseStatusCode>0</LicenseStatusCode>\r\n <LicenseStatus>Valid
47
47
  license key</LicenseStatus>\r\n <LicenseActionCode>5</LicenseActionCode>\r\n
48
- \ <LicenseAction>Get remaining hits</LicenseAction>\r\n <RemainingHits>100</RemainingHits>\r\n
48
+ \ <LicenseAction>Get remaining hits</LicenseAction>\r\n <RemainingHits>83</RemainingHits>\r\n
49
49
  \ <Amount>0</Amount>\r\n </SISubscriptionInfo>\r\n </soap:Body>\r\n</soap:Envelope>"
50
- http_version:
51
- recorded_at: Thu, 03 May 2012 16:28:46 GMT
52
- recorded_with: VCR 2.1.1
50
+ http_version:
51
+ recorded_at: Fri, 31 Aug 2012 16:13:25 GMT
52
+ recorded_with: VCR 2.2.4
@@ -6,17 +6,17 @@ http_interactions:
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://www.strikeiron.com/"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.strikeiron.com/"
10
10
  xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://www.strikeiron.com/"><env:Body><ins0:GetSalesTaxValue><ins0:UserID>user_id</ins0:UserID><ins0:Password>password</ins0:Password><ins0:ShipFrom><ins0:StreetAddress>One
11
11
  Microsoft Way</ins0:StreetAddress><ins0:City>Redmond</ins0:City><ins0:State>WA</ins0:State><ins0:ZIPCode>98052</ins0:ZIPCode></ins0:ShipFrom><ins0:ShipTo><ins0:StreetAddress>902
12
- Broadway</ins0:StreetAddress><ins0:City>New York</ins0:City><ins0:State>NY</ins0:State><ins0:ZIPCode>10010</ins0:ZIPCode></ins0:ShipTo><ins0:TaxValueRequests><ins0:TaxValueRequest><wsdl:SalesTaxCategoryOrCategoryID>01151605</wsdl:SalesTaxCategoryOrCategoryID><wsdl:Amount>239.41</wsdl:Amount></ins0:TaxValueRequest><ins0:TaxValueRequest><wsdl:SalesTaxCategoryOrCategoryID>01151605</wsdl:SalesTaxCategoryOrCategoryID><wsdl:Amount>239.41</wsdl:Amount></ins0:TaxValueRequest></ins0:TaxValueRequests></ins0:GetSalesTaxValue></env:Body></env:Envelope>
12
+ Broadway</ins0:StreetAddress><ins0:City>New York</ins0:City><ins0:State>NY</ins0:State><ins0:ZIPCode>10010</ins0:ZIPCode></ins0:ShipTo><ins0:TaxValueRequests><ins0:TaxValueRequest><tns:SalesTaxCategoryOrCategoryID>01151605</tns:SalesTaxCategoryOrCategoryID><tns:Amount>239.41</tns:Amount></ins0:TaxValueRequest><ins0:TaxValueRequest><tns:SalesTaxCategoryOrCategoryID>01151605</tns:SalesTaxCategoryOrCategoryID><tns:Amount>239.41</tns:Amount></ins0:TaxValueRequest></ins0:TaxValueRequests></ins0:GetSalesTaxValue></env:Body></env:Envelope>
13
13
  headers:
14
14
  Soapaction:
15
15
  - ! '"http://www.strikeiron.com/GetSalesTaxValue"'
16
16
  Content-Type:
17
17
  - text/xml;charset=UTF-8
18
18
  Content-Length:
19
- - '1173'
19
+ - '1164'
20
20
  Accept:
21
21
  - ! '*/*'
22
22
  User-Agent:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  message: OK
28
28
  headers:
29
29
  Date:
30
- - Thu, 03 May 2012 17:13:19 GMT
30
+ - Fri, 31 Aug 2012 16:13:24 GMT
31
31
  Server:
32
32
  - Microsoft-IIS/6.0
33
33
  X-Powered-By:
@@ -85,9 +85,9 @@ http_interactions:
85
85
  \ </ServiceResult>\r\n </GetSalesTaxValueResult>\r\n <SISubscriptionInfo>\r\n
86
86
  \ <LicenseStatusCode>0</LicenseStatusCode>\r\n <LicenseStatus>Valid
87
87
  license key</LicenseStatus>\r\n <LicenseActionCode>0</LicenseActionCode>\r\n
88
- \ <LicenseAction>Decremented hit count</LicenseAction>\r\n <RemainingHits>97</RemainingHits>\r\n
88
+ \ <LicenseAction>Decremented hit count</LicenseAction>\r\n <RemainingHits>83</RemainingHits>\r\n
89
89
  \ <Amount>0</Amount>\r\n </SISubscriptionInfo>\r\n </GetSalesTaxValueResponse>\r\n
90
90
  \ </soap:Body>\r\n</soap:Envelope>"
91
- http_version:
92
- recorded_at: Thu, 03 May 2012 17:13:19 GMT
93
- recorded_with: VCR 2.1.1
91
+ http_version:
92
+ recorded_at: Fri, 31 Aug 2012 16:13:24 GMT
93
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,79 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://wsparam.strikeiron.com/StrikeIron/SpeedTaxSalesTax3/SpeedTax
6
+ body:
7
+ encoding: US-ASCII
8
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.strikeiron.com/"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://www.strikeiron.com/"><env:Body><ins0:GetSalesTaxValue><ins0:UserID>user_id</ins0:UserID><ins0:Password>password</ins0:Password><ins0:ShipFrom><ins0:StreetAddress>One
11
+ Microsoft Way</ins0:StreetAddress><ins0:City>Redmond</ins0:City><ins0:State>WA</ins0:State><ins0:ZIPCode>98052</ins0:ZIPCode></ins0:ShipFrom><ins0:ShipTo><ins0:StreetAddress>902
12
+ Broadway</ins0:StreetAddress><ins0:City>New York</ins0:City><ins0:State>NY</ins0:State><ins0:ZIPCode>10010</ins0:ZIPCode></ins0:ShipTo><ins0:TaxValueRequests><ins0:TaxValueRequest><tns:SalesTaxCategoryOrCategoryID>01151605</tns:SalesTaxCategoryOrCategoryID><tns:Amount>239.41</tns:Amount></ins0:TaxValueRequest></ins0:TaxValueRequests></ins0:GetSalesTaxValue></env:Body></env:Envelope>
13
+ headers:
14
+ Soapaction:
15
+ - ! '"http://www.strikeiron.com/GetSalesTaxValue"'
16
+ Content-Type:
17
+ - text/xml;charset=UTF-8
18
+ Content-Length:
19
+ - '1011'
20
+ Accept:
21
+ - ! '*/*'
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Fri, 31 Aug 2012 16:16:25 GMT
31
+ Server:
32
+ - Microsoft-IIS/6.0
33
+ X-Powered-By:
34
+ - ASP.NET
35
+ X-Aspnet-Version:
36
+ - 4.0.30319
37
+ Cache-Control:
38
+ - private
39
+ Content-Type:
40
+ - text/xml; charset=utf-8
41
+ Content-Length:
42
+ - '2763'
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
46
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n
47
+ \ <soap:Body>\r\n <GetSalesTaxValueResponse xmlns=\"http://www.strikeiron.com/\">\r\n
48
+ \ <GetSalesTaxValueResult>\r\n <ServiceStatus>\r\n <StatusNbr>201</StatusNbr>\r\n
49
+ \ <StatusDescription>Successful (No Geopoint for From Address)</StatusDescription>\r\n
50
+ \ </ServiceStatus>\r\n <ServiceResult>\r\n <Results>\r\n
51
+ \ <TaxValueRecord>\r\n <ItemStatus>\r\n <StatusNbr>200</StatusNbr>\r\n
52
+ \ <StatusDescription>Found</StatusDescription>\r\n </ItemStatus>\r\n
53
+ \ <Category>Computer Software (both prewritten and non-prewritten)
54
+ delivered electronically</Category>\r\n <CategoryID>01151605</CategoryID>\r\n
55
+ \ <SalesTaxAmount>21.25</SalesTaxAmount>\r\n <Jurisdictions>\r\n
56
+ \ <SalesTaxValueJurisdiction>\r\n <FIPS>36</FIPS>\r\n
57
+ \ <Name>New York</Name>\r\n <SalesTaxAmount>9.57</SalesTaxAmount>\r\n
58
+ \ </SalesTaxValueJurisdiction>\r\n <SalesTaxValueJurisdiction>\r\n
59
+ \ <FIPS>CTD51000</FIPS>\r\n <Name>METRO COMMUTER
60
+ TRANS. DISTRICT</Name>\r\n <SalesTaxAmount>0.89</SalesTaxAmount>\r\n
61
+ \ </SalesTaxValueJurisdiction>\r\n <SalesTaxValueJurisdiction>\r\n
62
+ \ <FIPS>061</FIPS>\r\n <Name>NEW YORK</Name>\r\n
63
+ \ <SalesTaxAmount>10.77</SalesTaxAmount>\r\n </SalesTaxValueJurisdiction>\r\n
64
+ \ </Jurisdictions>\r\n </TaxValueRecord>\r\n </Results>\r\n
65
+ \ <ResolvedFromAddress>\r\n <StreetAddress>ONE MICROSOFT
66
+ WAY</StreetAddress>\r\n <City>REDMOND</City>\r\n <State>WA</State>\r\n
67
+ \ <ZIPCode>98052</ZIPCode>\r\n </ResolvedFromAddress>\r\n
68
+ \ <ResolvedToAddress>\r\n <StreetAddress>902 BROADWAY</StreetAddress>\r\n
69
+ \ <City>NEW YORK</City>\r\n <State>NY</State>\r\n <ZIPCode>10010-6041</ZIPCode>\r\n
70
+ \ </ResolvedToAddress>\r\n <SalesTaxTotal>21.25</SalesTaxTotal>\r\n
71
+ \ </ServiceResult>\r\n </GetSalesTaxValueResult>\r\n <SISubscriptionInfo>\r\n
72
+ \ <LicenseStatusCode>0</LicenseStatusCode>\r\n <LicenseStatus>Valid
73
+ license key</LicenseStatus>\r\n <LicenseActionCode>0</LicenseActionCode>\r\n
74
+ \ <LicenseAction>Decremented hit count</LicenseAction>\r\n <RemainingHits>82</RemainingHits>\r\n
75
+ \ <Amount>0</Amount>\r\n </SISubscriptionInfo>\r\n </GetSalesTaxValueResponse>\r\n
76
+ \ </soap:Body>\r\n</soap:Envelope>"
77
+ http_version:
78
+ recorded_at: Fri, 31 Aug 2012 16:16:25 GMT
79
+ recorded_with: VCR 2.2.4
@@ -6,7 +6,7 @@ http_interactions:
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://www.strikeiron.com/"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.strikeiron.com/"
10
10
  xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://www.strikeiron.com/"><env:Body><ins0:GetSalesTaxCategories><ins0:UserID>user_id</ins0:UserID><ins0:Password>password</ins0:Password></ins0:GetSalesTaxCategories></env:Body></env:Envelope>
11
11
  headers:
12
12
  Soapaction:
@@ -14,7 +14,7 @@ http_interactions:
14
14
  Content-Type:
15
15
  - text/xml;charset=UTF-8
16
16
  Content-Length:
17
- - '470'
17
+ - '469'
18
18
  Accept:
19
19
  - ! '*/*'
20
20
  User-Agent:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Thu, 03 May 2012 15:21:36 GMT
28
+ - Fri, 31 Aug 2012 16:13:25 GMT
29
29
  Server:
30
30
  - Microsoft-IIS/6.0
31
31
  X-Powered-By:
@@ -37,7 +37,7 @@ http_interactions:
37
37
  Content-Type:
38
38
  - text/xml; charset=utf-8
39
39
  Content-Length:
40
- - '31966'
40
+ - '31965'
41
41
  body:
42
42
  encoding: US-ASCII
43
43
  string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
@@ -401,8 +401,8 @@ http_interactions:
401
401
  \ <SISubscriptionInfo>\r\n <LicenseStatusCode>0</LicenseStatusCode>\r\n
402
402
  \ <LicenseStatus>Valid license key</LicenseStatus>\r\n <LicenseActionCode>7</LicenseActionCode>\r\n
403
403
  \ <LicenseAction>No hit deduction for invocation</LicenseAction>\r\n
404
- \ <RemainingHits>100</RemainingHits>\r\n <Amount>0</Amount>\r\n
404
+ \ <RemainingHits>83</RemainingHits>\r\n <Amount>0</Amount>\r\n
405
405
  \ </SISubscriptionInfo>\r\n </GetSalesTaxCategoriesResponse>\r\n </soap:Body>\r\n</soap:Envelope>"
406
- http_version:
407
- recorded_at: Thu, 03 May 2012 15:21:36 GMT
408
- recorded_with: VCR 2.1.1
406
+ http_version:
407
+ recorded_at: Fri, 31 Aug 2012 16:13:26 GMT
408
+ recorded_with: VCR 2.2.4
@@ -5,8 +5,8 @@ require 'vcr'
5
5
  class Test::Unit::TestCase
6
6
  def setup
7
7
  Strikeiron.configure do |config|
8
- config.user_id = 'youruserid'
9
- config.password = 'yourpassword'
8
+ config.user_id = 'user_id'
9
+ config.password = 'password'
10
10
  end
11
11
  end
12
12
  end
@@ -20,6 +20,5 @@ end
20
20
 
21
21
  # Disable Savon logging to get a cleaner test output
22
22
  Savon.configure do |config|
23
- config.log = false
24
- config.soap_version = 2 # use SOAP 1.2
23
+ config.log = false
25
24
  end
@@ -33,6 +33,36 @@ class TestRequests < Test::Unit::TestCase
33
33
  end
34
34
  end
35
35
 
36
+ def test_sales_tax_for_single_tax_value
37
+ from = Strikeiron::Address.new(
38
+ :street_address => 'One Microsoft Way',
39
+ :city => 'Redmond',
40
+ :state => 'WA',
41
+ :zip_code => '98052'
42
+ )
43
+
44
+ to = Strikeiron::Address.new(
45
+ :street_address => '902 Broadway',
46
+ :city => 'New York',
47
+ :state => 'NY',
48
+ :zip_code => '10010'
49
+ )
50
+
51
+ items = [ Strikeiron::TaxValue.new(:category => '01151605', :amount => 239.41) ]
52
+ VCR.use_cassette('single item sales tax') do
53
+ response = Strikeiron.sales_tax(
54
+ :from => from,
55
+ :to => to,
56
+ :tax_values => items
57
+ )
58
+
59
+ assert_equal Strikeiron::TaxResult, response.class
60
+ assert_equal 1, response.tax_values.size
61
+ assert_equal 21.25, response.total_tax
62
+ assert_not_equal 0, response.tax_values[0].jurisdictions.size
63
+ end
64
+ end
65
+
36
66
  def test_tax_categories
37
67
  VCR.use_cassette('tax categories') do
38
68
  categories = Strikeiron.tax_categories
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strikeiron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-04 00:00:00.000000000 Z
12
+ date: 2012-08-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -116,6 +116,7 @@ files:
116
116
  - test/cassettes/client_actions.yml
117
117
  - test/cassettes/remaining_hits.yml
118
118
  - test/cassettes/sales_tax.yml
119
+ - test/cassettes/single_item_sales_tax.yml
119
120
  - test/cassettes/tax_categories.yml
120
121
  - test/helper.rb
121
122
  - test/test_client.rb
@@ -132,18 +133,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
133
  - - ! '>='
133
134
  - !ruby/object:Gem::Version
134
135
  version: '0'
135
- segments:
136
- - 0
137
- hash: 1250023242823372906
138
136
  required_rubygems_version: !ruby/object:Gem::Requirement
139
137
  none: false
140
138
  requirements:
141
139
  - - ! '>='
142
140
  - !ruby/object:Gem::Version
143
141
  version: '0'
144
- segments:
145
- - 0
146
- hash: 1250023242823372906
147
142
  requirements: []
148
143
  rubyforge_project:
149
144
  rubygems_version: 1.8.23
@@ -154,6 +149,7 @@ test_files:
154
149
  - test/cassettes/client_actions.yml
155
150
  - test/cassettes/remaining_hits.yml
156
151
  - test/cassettes/sales_tax.yml
152
+ - test/cassettes/single_item_sales_tax.yml
157
153
  - test/cassettes/tax_categories.yml
158
154
  - test/helper.rb
159
155
  - test/test_client.rb