vertex_client 0.6.6 → 0.6.7

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
  SHA256:
3
- metadata.gz: 518b7b683046fdb177417cca3da6178ec857e6f9fe5c81f50561c342264bc2b8
4
- data.tar.gz: 53a4a331a51c7abd3e6f0f8c450ae4b1cb2d14f38bb45c57a7a8d6f1be4ed589
3
+ metadata.gz: a27830c7ae5f5e63be7c8ac87a2160781cd05db037b10264979b9eb036c563ea
4
+ data.tar.gz: 6c26deb0e421c19c5d88f2c5273f4f8c19a9af357c335ddf92567188fe079618
5
5
  SHA512:
6
- metadata.gz: 5b857fb79ef25f2d750b79e7dfa0ed17297e4a69e9febdf055a5f7e5459e6eeedb2be30e1845cbd8487c6bf35513a932beb6a50eac4bf4e74eaa7027f07c2e6d
7
- data.tar.gz: a6828b54743e0f630ec6b3614a7a7eb25a84f7436d1550195bd2b8e812f1d94c70c8c17247ad322a3025e439fc031b76d33ed72bcc1f6fa73917c5f1d585368a
6
+ metadata.gz: af1bf2875d9276f0fcd653e5779e773e9ab09cb07aa8008bb456dd5abbe0a13a4b8f351c207a088fb0506560f317e0745e391da822d34e77385239bc3572f311
7
+ data.tar.gz: d0db866b0afa6643004b7d1360af3c84ff165de68f877aa3f9b064a03399ccd8d322ef66717837d49cc34bc0640c1384cbaee521ce31b9175b617d9e561f691c
@@ -4,28 +4,29 @@ VertexClient.configure do |config|
4
4
  config.trusted_id = ENV.fetch('VERTEX_TRUSTED_ID')
5
5
  config.soap_api = ENV.fetch('VERTEX_SOAP_API')
6
6
 
7
- # Global timeout options passed to Savon
8
- config.read_timeout = 10
9
- config.open_timeout = 10
7
+ # Global timeout options passed to Savon.
8
+ # config.read_timeout = 10
9
+ # config.open_timeout = 10
10
10
 
11
11
  # Per-resource timeout options
12
+ # These take precedence over any timeouts specified above.
12
13
  config.resource_config = {
13
14
  quotation: {
14
- read_timeout: 5,
15
- open_timeout: 5
15
+ read_timeout: 7,
16
+ open_timeout: 7
16
17
  },
17
- invoice: {
18
- read_timeout: 300,
19
- open_timeout: 300
20
- },
21
- distribute_tax: {
22
- read_timeout: 300,
23
- open_timeout: 300
24
- },
25
- tax_area: {
26
- read_timeout: 5,
27
- open_timeout: 5
28
- }
18
+ # invoice: {
19
+ # read_timeout: ...,
20
+ # open_timeout: ...
21
+ # },
22
+ # distribute_tax: {
23
+ # read_timeout: ...,
24
+ # open_timeout: ...
25
+ # },
26
+ # tax_area: {
27
+ # read_timeout: ...,
28
+ # open_timeout: ...
29
+ # }
29
30
  }
30
31
 
31
32
  # Circuitbox configuration.
@@ -36,7 +37,8 @@ VertexClient.configure do |config|
36
37
  # error_threshold: 50,
37
38
  # logger: Rails.logger,
38
39
  # exceptions: [
39
- # VertexClient::ServerError
40
+ # VertexClient::ServerError,
41
+ # Curl::Err::TimeoutError
40
42
  # ]
41
43
  # }
42
44
 
@@ -1,55 +1,55 @@
1
1
  module VertexClient
2
2
  RATES = {
3
- 'AL' => '0.11',
3
+ 'AL' => '0.0914',
4
4
  'AK' => '0.0',
5
5
  'AZ' => '0.0',
6
6
  'AR' => '0.0',
7
- 'CA' => '0.0',
8
- 'CO' => '0.112',
7
+ 'CA' => '0.0856',
8
+ 'CO' => '0.0763',
9
9
  'CT' => '0.0635',
10
10
  'DE' => '0.0',
11
- 'FL' => '0.0',
12
- 'GA' => '0.089',
13
- 'HI' => '0.045',
14
- 'ID' => '0.09',
15
- 'IL' => '0.11',
11
+ 'FL' => '0.0705',
12
+ 'GA' => '0.0729',
13
+ 'HI' => '0.0441',
14
+ 'ID' => '0.0603',
15
+ 'IL' => '0.0874',
16
16
  'IN' => '0.07',
17
- 'IA' => '0.07',
17
+ 'IA' => '0.0682',
18
18
  'KS' => '0.0',
19
19
  'KY' => '0.06',
20
- 'LA' => '0.122',
20
+ 'LA' => '0.0945',
21
21
  'ME' => '0.055',
22
22
  'MD' => '0.06',
23
23
  'MA' => '0.0625',
24
24
  'MI' => '0.06',
25
- 'MN' => '0.0888',
26
- 'MS' => '0.07',
25
+ 'MN' => '0.0743',
26
+ 'MS' => '0.0707',
27
27
  'MO' => '0.0',
28
28
  'MT' => '0.0',
29
- 'NE' => '0.075',
30
- 'NV' => '0.0827',
29
+ 'NE' => '0.0685',
30
+ 'NV' => '0.0814',
31
31
  'NH' => '0.0',
32
- 'NJ' => '0.0863',
32
+ 'NJ' => '0.066',
33
33
  'NM' => '0.0',
34
- 'NY' => '0.0',
35
- 'NC' => '0.075',
36
- 'ND' => '0.085',
37
- 'OH' => '0.08',
38
- 'OK' => '0.115',
34
+ 'NY' => '0.0849',
35
+ 'NC' => '0.0697',
36
+ 'ND' => '0.0685',
37
+ 'OH' => '0.0717',
38
+ 'OK' => '0.0892',
39
39
  'OR' => '0.0',
40
- 'PA' => '0.08',
41
- 'RI' => '0.7',
42
- 'SC' => '0.09',
43
- 'SD' => '0.075',
44
- 'TN' => '0.0',
45
- 'TX' => '0.0825',
46
- 'UT' => '0.086',
47
- 'VT' => '0.07',
48
- 'VA' => '0.07',
49
- 'WA' => '0.104',
50
- 'WV' => '0.07',
51
- 'WI' => '0.0675',
52
- 'WY' => '0.08',
53
- 'DC' => '0.0'
40
+ 'PA' => '0.0634',
41
+ 'RI' => '0.07',
42
+ 'SC' => '0.0743',
43
+ 'SD' => '0.064',
44
+ 'TN' => '0.0947',
45
+ 'TX' => '0.0819',
46
+ 'UT' => '0.0694',
47
+ 'VT' => '0.0618',
48
+ 'VA' => '0.0565',
49
+ 'WA' => '0.0917',
50
+ 'WV' => '0.0639',
51
+ 'WI' => '0.0544',
52
+ 'WY' => '0.0536',
53
+ 'DC' => '0.06'
54
54
  }.freeze
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module VertexClient
2
- VERSION = '0.6.6'
2
+ VERSION = '0.6.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vertex_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Custom Ink
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport