suretax 0.1.8 → 0.1.9

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: 1672be053ddb19699674e16c8e59323bb91b499e
4
- data.tar.gz: 38a711c58159839c6e5a516edc4f97c2950c4a34
3
+ metadata.gz: 885509d9b62a5f22d2c0eff24e8c4c965d116d89
4
+ data.tar.gz: d54d5c596e6df265b053b8726bdc7cc39d58bad8
5
5
  SHA512:
6
- metadata.gz: 466860b2cc78f88aaae6eadb47c17e9b18309b57d2fa8195bca7795c87f06d3a4f7dd03451a0d3364a67b3bab7afd30a619fd0fdac9f09b6fc7e60cb4ac97652
7
- data.tar.gz: 404554b42fbafdb42a80783d3cea84dbdee786ff5c2299028bb5d370f576bbf7e004f0bfdff97e48f41a90cdcbcf4865963023f4a39b7a8229c87b2ac0f9aad2
6
+ metadata.gz: daf1edeeb82c574947ec6b28b9545c387b9fa4441eec5fffe515435281a7ad7a5d00012685428c3c4509f6b1a2cfc9b68642d333bd80c682e0e2c7d376643e09
7
+ data.tar.gz: 771c490836c4187b18a90927a7338c9c754da42b5832004bf116e2c84b7afe9c1c9db4d2bfbc69e055e91f67a55561f9ef32226c6e204b816d4f90688fb39034
@@ -6,9 +6,8 @@ language: ruby
6
6
  script:
7
7
  - bundle exec rspec
8
8
  rvm:
9
- - 1.9.3
10
9
  - 2.1.0
11
10
  - 2.2.0
12
- - jruby-19mode
11
+ - jruby-9.0.5.0
13
12
  notifications:
14
13
  email: false
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- suretax (0.1.7)
4
+ suretax (0.1.9)
5
5
  excon
6
6
  monetize
7
7
  money (~> 6.5.1)
@@ -17,7 +17,7 @@ GEM
17
17
  diff-lcs (1.2.5)
18
18
  docile (1.1.5)
19
19
  dotenv (1.0.2)
20
- excon (0.45.4)
20
+ excon (0.52.0)
21
21
  i18n (0.7.0)
22
22
  method_source (0.8.2)
23
23
  monetize (1.3.0)
@@ -70,3 +70,6 @@ DEPENDENCIES
70
70
  simplecov
71
71
  suretax!
72
72
  webmock
73
+
74
+ BUNDLED WITH
75
+ 1.12.5
@@ -25,7 +25,8 @@ module Suretax
25
25
  :unit_type,
26
26
  :units,
27
27
  :zipcode,
28
- :tax_exemption_codes
28
+ :tax_exemption_codes,
29
+ :user_defined_field
29
30
 
30
31
  validate :bill_to_number,
31
32
  :customer_number,
@@ -76,7 +77,8 @@ module Suretax
76
77
  "TransTypeCode" => trans_type_code,
77
78
  "SalesTypeCode" => sales_type_code,
78
79
  "RegulatoryCode" => regulatory_code,
79
- "TaxExemptionCodeList" => tax_exemption_codes
80
+ "TaxExemptionCodeList" => tax_exemption_codes,
81
+ "UDF" => user_defined_field || ''
80
82
  }
81
83
  end
82
84
  end
@@ -1,3 +1,3 @@
1
1
  module Suretax
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
@@ -33,7 +33,8 @@ describe Suretax::Api::RequestItem do
33
33
  trans_type_code: "010101",
34
34
  unit_type: "00",
35
35
  units: "1",
36
- zipcode: ""
36
+ zipcode: "",
37
+ user_defined_field: ''
37
38
  }.each_pair do |key,value|
38
39
  it "##{key} should return the correct value" do
39
40
  subject.send("#{key.to_s}=",value)
@@ -40,7 +40,8 @@ module RequestSpecHelper
40
40
  "TaxExemptionCodeList" => [
41
41
  "00",
42
42
  "00"
43
- ]
43
+ ],
44
+ "UDF" => ''
44
45
  }
45
46
  ]
46
47
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: suretax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damon Davison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-10 00:00:00.000000000 Z
11
+ date: 2016-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -256,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
256
256
  version: '0'
257
257
  requirements: []
258
258
  rubyforge_project:
259
- rubygems_version: 2.4.6
259
+ rubygems_version: 2.4.8
260
260
  signing_key:
261
261
  specification_version: 4
262
262
  summary: This gem will allow Ruby developers to easily integrate SureTax into their
@@ -279,3 +279,4 @@ test_files:
279
279
  - spec/support/request_helper.rb
280
280
  - spec/support/suretax_helper.rb
281
281
  - spec/support/validations_shared_examples.rb
282
+ has_rdoc: