taxjar-ruby 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +0 -1
- data/lib/taxjar/breakdown.rb +1 -1
- data/lib/taxjar/version.rb +1 -1
- data/spec/taxjar/api/api_spec.rb +5 -0
- metadata +21 -33
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3e9e5cb199d0e47c612532283ba094ff9f5b3369
|
4
|
+
data.tar.gz: cd4f10ce8d7bda72a4ff4d7646d75235f8043b8c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 159cf9c8b365cadbb64b95077e302c1cfac95a5c3f4c57990aa838f330b1b51dc073622d4d8c75f0a7dc3b52a3a2eca16586415deb1b4d2921fc6cb2813e609c
|
7
|
+
data.tar.gz: 729c4ec602658e892fc9dad587b3fb30f3a085e0143c69800b28afa222047010ac338d2ec5045b4bff4e265bd95a5e25a642722710a750abe62cc3054d0f6ab8
|
data/README.md
CHANGED
data/lib/taxjar/breakdown.rb
CHANGED
data/lib/taxjar/version.rb
CHANGED
data/spec/taxjar/api/api_spec.rb
CHANGED
@@ -73,5 +73,10 @@ describe Taxjar::API do
|
|
73
73
|
expect(tax).to be_a Taxjar::Tax
|
74
74
|
expect(tax.tax_source).to eq('destination')
|
75
75
|
end
|
76
|
+
|
77
|
+
it 'allows access to breakdown.line_items' do
|
78
|
+
tax = @client.tax_for_order(@order)
|
79
|
+
expect(tax.breakdown.line_items[0].id).to eq(1)
|
80
|
+
end
|
76
81
|
end
|
77
82
|
end
|
metadata
CHANGED
@@ -1,94 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taxjar-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- TaxJar
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-12 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: addressable
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '2.3'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '2.3'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: http
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.8.12
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.8.12
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: memoizable
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 0.4.0
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 0.4.0
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: bundler
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- - ~>
|
59
|
+
- - "~>"
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '1.7'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- - ~>
|
66
|
+
- - "~>"
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '1.7'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rake
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- - ~>
|
73
|
+
- - "~>"
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '10.0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- - ~>
|
80
|
+
- - "~>"
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '10.0'
|
94
83
|
description: Ruby wrapper for Taxjar API, more info at developers.taxjar.com
|
@@ -98,10 +87,10 @@ executables: []
|
|
98
87
|
extensions: []
|
99
88
|
extra_rdoc_files: []
|
100
89
|
files:
|
101
|
-
- .gitignore
|
102
|
-
- .rspec
|
103
|
-
- .ruby-version
|
104
|
-
- .travis.yml
|
90
|
+
- ".gitignore"
|
91
|
+
- ".rspec"
|
92
|
+
- ".ruby-version"
|
93
|
+
- ".travis.yml"
|
105
94
|
- Gemfile
|
106
95
|
- LICENSE.txt
|
107
96
|
- README.md
|
@@ -145,27 +134,26 @@ files:
|
|
145
134
|
homepage: http://developers.taxjar.com
|
146
135
|
licenses:
|
147
136
|
- MIT
|
137
|
+
metadata: {}
|
148
138
|
post_install_message:
|
149
139
|
rdoc_options: []
|
150
140
|
require_paths:
|
151
141
|
- lib
|
152
142
|
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
143
|
requirements:
|
155
|
-
- -
|
144
|
+
- - ">="
|
156
145
|
- !ruby/object:Gem::Version
|
157
146
|
version: '0'
|
158
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
|
-
none: false
|
160
148
|
requirements:
|
161
|
-
- -
|
149
|
+
- - ">="
|
162
150
|
- !ruby/object:Gem::Version
|
163
151
|
version: '0'
|
164
152
|
requirements: []
|
165
153
|
rubyforge_project:
|
166
|
-
rubygems_version:
|
154
|
+
rubygems_version: 2.4.3
|
167
155
|
signing_key:
|
168
|
-
specification_version:
|
156
|
+
specification_version: 4
|
169
157
|
summary: Ruby wrapper for Taxjar API
|
170
158
|
test_files:
|
171
159
|
- spec/fixtures/categories.json
|