taxjar-ruby 1.6.2 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/taxjar/api/request.rb +2 -1
- data/lib/taxjar/version.rb +2 -2
- data/spec/taxjar/api/request_spec.rb +0 -1
- data/taxjar-ruby.gemspec +3 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef0beb68bc2c8a4918e20e96567d017917657141
|
4
|
+
data.tar.gz: '0485c1753a51cb65ccd80af337794ea77d07a3ce'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7009cd1589b9c551143d483c05ddc24cfd3e0a2b05782046ef41a4671c8d313f8b1cee4efe61afc8d178903f14bbc2aac18ed8bc523a3a9824487e9b2d9c646
|
7
|
+
data.tar.gz: cdb219a9e69e4f27cbb1998b9b1563a3e5dc89028effffe0ee44fa2486be9691fe8d3122535dd50f43bb1e6010184bf3bb0c2868febf378e6934a3355de9a917
|
data/Gemfile
CHANGED
data/lib/taxjar/api/request.rb
CHANGED
@@ -25,7 +25,8 @@ module Taxjar
|
|
25
25
|
|
26
26
|
def perform
|
27
27
|
options_key = @request_method == :get ? :params : :json
|
28
|
-
response = HTTP.timeout(@http_timeout).
|
28
|
+
response = HTTP.timeout(@http_timeout).headers(headers)
|
29
|
+
.request(request_method, uri.to_s, options_key => @options)
|
29
30
|
response_body = symbolize_keys!(response.parse)
|
30
31
|
fail_or_return_response_body(response.code, response_body)
|
31
32
|
end
|
data/lib/taxjar/version.rb
CHANGED
data/taxjar-ruby.gemspec
CHANGED
@@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.required_ruby_version = '>= 1.9.3'
|
22
22
|
|
23
23
|
spec.add_dependency 'addressable', '~> 2.3'
|
24
|
-
spec.add_dependency 'http', '~> 0.
|
24
|
+
spec.add_dependency 'http', '~> 1.0.4'
|
25
25
|
spec.add_dependency 'memoizable', '~> 0.4.0'
|
26
|
-
spec.add_dependency '
|
26
|
+
spec.add_dependency 'model_attribute', '~> 3.2'
|
27
27
|
spec.add_development_dependency "bundler", "~> 1.7"
|
28
|
-
spec.add_development_dependency "rake", "~>
|
28
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taxjar-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TaxJar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 1.0.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 1.0.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: memoizable
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,19 +53,19 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.4.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: model_attribute
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
61
|
+
version: '3.2'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
68
|
+
version: '3.2'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '12.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '12.0'
|
97
97
|
description: Ruby wrapper for Taxjar API, more info at developers.taxjar.com
|
98
98
|
email:
|
99
99
|
- support@taxjar.com
|