tax_cloud 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/danger-comment.yml +18 -0
- data/.github/workflows/danger.yml +15 -0
- data/.github/workflows/lint.yml +29 -0
- data/.github/workflows/release.yml +27 -0
- data/.github/workflows/test.yml +29 -23
- data/.gitignore +1 -0
- data/.rubocop.yml +82 -6
- data/.rubocop_todo.yml +176 -23
- data/.spellcheck.txt +90 -0
- data/CHANGELOG.md +50 -61
- data/CONTRIBUTING.md +88 -0
- data/CONTRIBUTORS.txt +6 -6
- data/Dangerfile +7 -0
- data/Gemfile +16 -2
- data/LICENSE.md +3 -15
- data/README.md +48 -77
- data/RELEASING.md +39 -0
- data/Rakefile +22 -3
- data/lib/config/locales/en.yml +4 -0
- data/lib/tax_cloud/address.rb +3 -1
- data/lib/tax_cloud/errors/missing_cart_items_error.rb +13 -0
- data/lib/tax_cloud/errors/soap_error.rb +1 -1
- data/lib/tax_cloud/errors.rb +1 -0
- data/lib/tax_cloud/transaction.rb +4 -1
- data/lib/tax_cloud/version.rb +1 -1
- data/script/release.rb +15 -0
- data/tax_cloud.gemspec +1 -2
- data/test/cassettes/verify_bad_address.yml +772 -769
- data/test/cassettes/verify_good_address_with_rdi.yml +1650 -0
- data/test/test_address.rb +15 -0
- data/test/test_release.rb +82 -0
- data/test/test_transaction.rb +8 -0
- metadata +15 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93f1e205d5b29e7146e408a75427ea7bc426010d21207719bc931290997bbdfe
|
|
4
|
+
data.tar.gz: 772f57b05e8c92a10deb182d3c7d1b141c1110742e6ddbfb12014fc359c4dcda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e46b16ca9f28d257ef897c20794ed8bc3a90628958459337b66a2944967c06637d1471ba265c8f935bf250e7b367350a1de4e599bed3f9c2a6ecde17e6ca222b
|
|
7
|
+
data.tar.gz: d7cde66fa277a0131b5a9722189f6fd4b23c2cb8e4f2d636a22a25768a4ff53f7800bb3a63799f7eb674685928c662a17e02c49ceaa3cef717cd5e7dd46ef375
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: Danger Comment
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_run:
|
|
5
|
+
workflows: [Danger]
|
|
6
|
+
types: [completed]
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
actions: read
|
|
10
|
+
issues: write
|
|
11
|
+
pull-requests: write
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
comment:
|
|
15
|
+
uses: danger/danger-pr-comment/.github/workflows/danger-comment.yml@v0.3.0
|
|
16
|
+
secrets: inherit
|
|
17
|
+
with:
|
|
18
|
+
base-branch: '*'
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name: Danger
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened, reopened, edited, synchronize]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
danger:
|
|
9
|
+
uses: danger/danger-pr-comment/.github/workflows/danger-run.yml@v0.3.0
|
|
10
|
+
secrets: inherit
|
|
11
|
+
with:
|
|
12
|
+
ruby-version: '4.0'
|
|
13
|
+
bundler-cache: true
|
|
14
|
+
# Diff against the merge commit's first parent, so stacked pull requests check only their own changes.
|
|
15
|
+
danger-args: dry_run --base=HEAD^1
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Lint
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [master]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
concurrency:
|
|
9
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
10
|
+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
lint:
|
|
17
|
+
name: Lint Code and Documentation
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
timeout-minutes: 10
|
|
20
|
+
steps:
|
|
21
|
+
- name: Check Out Code
|
|
22
|
+
uses: actions/checkout@v7
|
|
23
|
+
- name: Set Up Ruby
|
|
24
|
+
uses: ruby/setup-ruby@v1
|
|
25
|
+
with:
|
|
26
|
+
ruby-version: '4.0'
|
|
27
|
+
bundler-cache: true
|
|
28
|
+
- name: Run Lint
|
|
29
|
+
run: bundle exec rake lint
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
version:
|
|
7
|
+
description: Optional release version overriding the checked-in version.
|
|
8
|
+
type: string
|
|
9
|
+
required: false
|
|
10
|
+
dry-run:
|
|
11
|
+
description: Check release prerequisites, such as RubyGems Trusted Publishing, without releasing.
|
|
12
|
+
type: boolean
|
|
13
|
+
default: false
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
release:
|
|
21
|
+
if: github.repository == 'txcrb/tax_cloud' && github.ref == 'refs/heads/master'
|
|
22
|
+
uses: dblock/ruby-gem-release/.github/workflows/release.yml@v0.9.0
|
|
23
|
+
with:
|
|
24
|
+
ruby-version: '3.3'
|
|
25
|
+
version: ${{ inputs.version }}
|
|
26
|
+
dry-run: ${{ inputs.dry-run }}
|
|
27
|
+
test: bundle exec rake lint test
|
data/.github/workflows/test.yml
CHANGED
|
@@ -1,30 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
on:
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [master]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
concurrency:
|
|
9
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
10
|
+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
4
15
|
jobs:
|
|
5
|
-
lint:
|
|
6
|
-
name: RuboCop
|
|
7
|
-
runs-on: ubuntu-latest
|
|
8
|
-
steps:
|
|
9
|
-
- uses: actions/checkout@v3
|
|
10
|
-
- name: Set up Ruby
|
|
11
|
-
uses: ruby/setup-ruby@v1
|
|
12
|
-
with:
|
|
13
|
-
ruby-version: 2.7
|
|
14
|
-
bundler-cache: true
|
|
15
|
-
- name: Run RuboCop
|
|
16
|
-
run: bundle exec rubocop
|
|
17
16
|
test:
|
|
17
|
+
name: Ruby ${{ matrix.entry.ruby }}
|
|
18
18
|
runs-on: ubuntu-latest
|
|
19
|
+
timeout-minutes: 10
|
|
19
20
|
strategy:
|
|
21
|
+
fail-fast: false
|
|
20
22
|
matrix:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
entry:
|
|
24
|
+
- { ruby: '2.6' }
|
|
25
|
+
- { ruby: '3.4' }
|
|
26
|
+
- { ruby: '4.0' }
|
|
23
27
|
steps:
|
|
24
|
-
-
|
|
25
|
-
|
|
28
|
+
- name: Check Out Code
|
|
29
|
+
uses: actions/checkout@v7
|
|
30
|
+
- name: Set Up Ruby
|
|
31
|
+
uses: ruby/setup-ruby@v1
|
|
26
32
|
with:
|
|
27
|
-
ruby-version: ${{ matrix.ruby
|
|
28
|
-
bundler-cache: true
|
|
29
|
-
-
|
|
30
|
-
|
|
33
|
+
ruby-version: ${{ matrix.entry.ruby }}
|
|
34
|
+
bundler-cache: true
|
|
35
|
+
- name: Run Tests
|
|
36
|
+
run: bundle exec rake test
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
|
@@ -1,13 +1,89 @@
|
|
|
1
|
-
|
|
1
|
+
plugins:
|
|
2
|
+
- rubocop-md
|
|
3
|
+
- rubocop-prose
|
|
4
|
+
- rubocop-rake
|
|
5
|
+
- rubocop-spellcheck
|
|
6
|
+
- rubocop-yaml
|
|
7
|
+
|
|
8
|
+
inherit_from: ".rubocop_todo.yml"
|
|
2
9
|
|
|
3
10
|
AllCops:
|
|
4
|
-
TargetRubyVersion: 2.6
|
|
5
11
|
NewCops: enable
|
|
12
|
+
TargetRubyVersion: 2.6
|
|
13
|
+
SuggestExtensions: false
|
|
14
|
+
inherit_mode:
|
|
15
|
+
merge:
|
|
16
|
+
- Include
|
|
17
|
+
Include:
|
|
18
|
+
- ".github/**/*.yml"
|
|
19
|
+
- ".rubocop.yml"
|
|
6
20
|
Exclude:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
21
|
+
- bin/**/*
|
|
22
|
+
- pkg/**/*
|
|
23
|
+
- test/cassettes/**/*
|
|
24
|
+
- vendor/**/*
|
|
25
|
+
|
|
26
|
+
YAML/Lint/InvalidSyntax:
|
|
27
|
+
Include:
|
|
28
|
+
- "**/*.yml"
|
|
29
|
+
- "**/*.yaml"
|
|
30
|
+
|
|
31
|
+
YAML/Lint/DuplicateKey:
|
|
32
|
+
Include:
|
|
33
|
+
- "**/*.yml"
|
|
34
|
+
- "**/*.yaml"
|
|
10
35
|
|
|
11
36
|
Style/NumericLiteralPrefix:
|
|
12
|
-
Enabled: true
|
|
13
37
|
EnforcedOctalStyle: zero_only
|
|
38
|
+
|
|
39
|
+
Markdown/HeadingCapitalization:
|
|
40
|
+
inherit_mode:
|
|
41
|
+
merge:
|
|
42
|
+
- Exclude
|
|
43
|
+
Enabled: true
|
|
44
|
+
Style: title_case
|
|
45
|
+
Exclude:
|
|
46
|
+
- CHANGELOG.md
|
|
47
|
+
|
|
48
|
+
Prose/MaxLength:
|
|
49
|
+
inherit_mode:
|
|
50
|
+
merge:
|
|
51
|
+
- Exclude
|
|
52
|
+
Max: false
|
|
53
|
+
Exclude:
|
|
54
|
+
# A plain-text list with one contributor detail per line, not paragraphs.
|
|
55
|
+
- CONTRIBUTORS.txt
|
|
56
|
+
|
|
57
|
+
Spellcheck:
|
|
58
|
+
DictionaryFiles:
|
|
59
|
+
en:
|
|
60
|
+
- gem:rubocop-spellcheck/data/en/en.dic
|
|
61
|
+
- ".spellcheck.txt"
|
|
62
|
+
Spellcheck/Spelling:
|
|
63
|
+
Exclude:
|
|
64
|
+
# Generated from TaxCloud API descriptions by the tax_cloud:tax_codes and tax_cloud:tax_code_groups Rake tasks.
|
|
65
|
+
- lib/tax_cloud/tax_code_constants.rb
|
|
66
|
+
- lib/tax_cloud/tax_code_group_constants.rb
|
|
67
|
+
|
|
68
|
+
Style/Documentation:
|
|
69
|
+
inherit_mode:
|
|
70
|
+
merge:
|
|
71
|
+
- Exclude
|
|
72
|
+
Exclude:
|
|
73
|
+
- test/**/*
|
|
74
|
+
|
|
75
|
+
# The release test runs a release in a fixture and verifies the tag, the next development commit, and their files together.
|
|
76
|
+
Metrics/MethodLength:
|
|
77
|
+
inherit_mode:
|
|
78
|
+
merge:
|
|
79
|
+
- Exclude
|
|
80
|
+
Exclude:
|
|
81
|
+
- test/test_release.rb
|
|
82
|
+
|
|
83
|
+
# GitHub workflow files use dashes, for example danger-comment.yml.
|
|
84
|
+
Naming/FileName:
|
|
85
|
+
inherit_mode:
|
|
86
|
+
merge:
|
|
87
|
+
- Exclude
|
|
88
|
+
Exclude:
|
|
89
|
+
- ".github/workflows/*.yml"
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,47 +1,200 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
#
|
|
2
|
+
# `rubocop --auto-gen-config --no-exclude-limit --no-offense-counts --no-auto-gen-timestamp`
|
|
3
|
+
# using RuboCop version 1.92.3.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
10
|
+
Gemspec/AddRuntimeDependency:
|
|
11
|
+
Exclude:
|
|
12
|
+
- 'tax_cloud.gemspec'
|
|
13
|
+
|
|
14
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
15
|
+
Gemspec/DeprecatedAttributeAssignment:
|
|
16
|
+
Exclude:
|
|
17
|
+
- 'tax_cloud.gemspec'
|
|
18
|
+
|
|
19
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
20
|
+
Gemspec/RequireMFA:
|
|
21
|
+
Exclude:
|
|
22
|
+
- 'tax_cloud.gemspec'
|
|
23
|
+
|
|
24
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
25
|
+
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation, AllowSteepAnnotation, AllowYARDCommentBlockSeparator.
|
|
26
|
+
Layout/LeadingCommentSpace:
|
|
27
|
+
Exclude:
|
|
28
|
+
- 'lib/hash.rb'
|
|
29
|
+
- 'lib/tax_cloud/address.rb'
|
|
30
|
+
- 'lib/tax_cloud/cart_item.rb'
|
|
31
|
+
- 'lib/tax_cloud/client.rb'
|
|
32
|
+
- 'lib/tax_cloud/configuration.rb'
|
|
33
|
+
- 'lib/tax_cloud/errors/api_error.rb'
|
|
34
|
+
- 'lib/tax_cloud/errors/missing_config_error.rb'
|
|
35
|
+
- 'lib/tax_cloud/errors/missing_config_option_error.rb'
|
|
36
|
+
- 'lib/tax_cloud/errors/soap_error.rb'
|
|
37
|
+
- 'lib/tax_cloud/errors/tax_cloud_error.rb'
|
|
38
|
+
- 'lib/tax_cloud/errors/unexpected_soap_response_error.rb'
|
|
39
|
+
- 'lib/tax_cloud/record.rb'
|
|
40
|
+
- 'lib/tax_cloud/responses/authorized.rb'
|
|
41
|
+
- 'lib/tax_cloud/responses/authorized_with_capture.rb'
|
|
42
|
+
- 'lib/tax_cloud/responses/base.rb'
|
|
43
|
+
- 'lib/tax_cloud/responses/captured.rb'
|
|
44
|
+
- 'lib/tax_cloud/responses/cart_item.rb'
|
|
45
|
+
- 'lib/tax_cloud/responses/generic.rb'
|
|
46
|
+
- 'lib/tax_cloud/responses/lookup.rb'
|
|
47
|
+
- 'lib/tax_cloud/responses/ping.rb'
|
|
48
|
+
- 'lib/tax_cloud/responses/returned.rb'
|
|
49
|
+
- 'lib/tax_cloud/responses/tax_code_groups.rb'
|
|
50
|
+
- 'lib/tax_cloud/responses/tax_codes.rb'
|
|
51
|
+
- 'lib/tax_cloud/responses/tax_codes_by_group.rb'
|
|
52
|
+
- 'lib/tax_cloud/responses/verify_address.rb'
|
|
53
|
+
- 'lib/tax_cloud/tax_code.rb'
|
|
54
|
+
- 'lib/tax_cloud/tax_code_group.rb'
|
|
55
|
+
- 'lib/tax_cloud/tax_code_groups.rb'
|
|
56
|
+
- 'lib/tax_cloud/tax_codes.rb'
|
|
57
|
+
- 'lib/tax_cloud/transaction.rb'
|
|
58
|
+
- 'lib/tax_cloud/version.rb'
|
|
59
|
+
|
|
60
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
61
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
62
|
+
# SupportedStyles: aligned, indented
|
|
63
|
+
Layout/LineEndStringConcatenationIndentation:
|
|
64
|
+
Exclude:
|
|
65
|
+
- 'lib/tax_cloud/errors/tax_cloud_error.rb'
|
|
66
|
+
|
|
67
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
68
|
+
# Configuration parameters: AllowInHeredoc.
|
|
69
|
+
Layout/TrailingWhitespace:
|
|
70
|
+
Exclude:
|
|
71
|
+
- 'lib/config/locales/en.yml'
|
|
72
|
+
|
|
73
|
+
# Configuration parameters: AllowedParentClasses.
|
|
10
74
|
Lint/MissingSuper:
|
|
11
75
|
Exclude:
|
|
12
76
|
- 'test/test_lookup_response.rb'
|
|
13
77
|
|
|
14
|
-
#
|
|
15
|
-
# Configuration parameters:
|
|
78
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
79
|
+
# Configuration parameters: EnforcedStyle.
|
|
80
|
+
# SupportedStyles: strict, consistent
|
|
81
|
+
Lint/SymbolConversion:
|
|
82
|
+
Exclude:
|
|
83
|
+
- 'lib/tax_cloud/responses/generic.rb'
|
|
84
|
+
|
|
85
|
+
Lint/UselessConstantScoping:
|
|
86
|
+
Exclude:
|
|
87
|
+
- 'lib/tax_cloud/errors/tax_cloud_error.rb'
|
|
88
|
+
|
|
89
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
|
|
16
90
|
Metrics/AbcSize:
|
|
17
|
-
|
|
91
|
+
Exclude:
|
|
92
|
+
- 'lib/tax_cloud/responses/base.rb'
|
|
93
|
+
- 'test/test_address.rb'
|
|
94
|
+
- 'test/test_transaction.rb'
|
|
95
|
+
- 'test/test_transaction_ny.rb'
|
|
18
96
|
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
# ExcludedMethods: refine
|
|
97
|
+
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
98
|
+
# AllowedMethods: refine
|
|
22
99
|
Metrics/BlockLength:
|
|
23
|
-
|
|
100
|
+
Exclude:
|
|
101
|
+
- 'lib/tasks/tax_code_groups.rake'
|
|
102
|
+
- 'lib/tasks/tax_codes.rake'
|
|
103
|
+
- 'test/test_configuration_optional_keys.rb'
|
|
24
104
|
|
|
25
|
-
#
|
|
26
|
-
# Configuration parameters: CountComments, CountAsOne.
|
|
105
|
+
# Configuration parameters: CountComments, Max, CountAsOne.
|
|
27
106
|
Metrics/ClassLength:
|
|
28
|
-
|
|
107
|
+
Exclude:
|
|
108
|
+
- 'lib/tax_cloud/tax_code_constants.rb'
|
|
29
109
|
|
|
30
|
-
#
|
|
31
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
|
|
110
|
+
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
32
111
|
Metrics/MethodLength:
|
|
33
|
-
|
|
112
|
+
Exclude:
|
|
113
|
+
- 'test/test_address.rb'
|
|
114
|
+
- 'test/test_transaction.rb'
|
|
115
|
+
- 'test/test_transaction_ny.rb'
|
|
116
|
+
|
|
117
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
118
|
+
Style/CollectionQuerying:
|
|
119
|
+
Exclude:
|
|
120
|
+
- 'test/test_tax_code_groups.rb'
|
|
121
|
+
- 'test/test_tax_codes.rb'
|
|
34
122
|
|
|
35
|
-
#
|
|
123
|
+
# Configuration parameters: AllowedConstants.
|
|
36
124
|
Style/Documentation:
|
|
37
125
|
Exclude:
|
|
38
|
-
- 'spec/**/*'
|
|
39
|
-
- 'test/**/*'
|
|
40
126
|
- 'lib/tax_cloud/tax_codes.rb'
|
|
41
127
|
|
|
42
|
-
#
|
|
43
|
-
#
|
|
44
|
-
|
|
128
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
129
|
+
# Configuration parameters: AllowedVariables, DefaultToNil.
|
|
130
|
+
Style/FetchEnvVar:
|
|
131
|
+
Exclude:
|
|
132
|
+
- 'lib/tasks/tax_cloud.rake'
|
|
133
|
+
|
|
134
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
135
|
+
# Configuration parameters: AllowSplatArgument.
|
|
136
|
+
Style/HashConversion:
|
|
137
|
+
Exclude:
|
|
138
|
+
- 'lib/tasks/tax_codes.rake'
|
|
139
|
+
- 'lib/tax_cloud/tax_code_group.rb'
|
|
140
|
+
- 'lib/tax_cloud/tax_code_groups.rb'
|
|
141
|
+
- 'lib/tax_cloud/tax_codes.rb'
|
|
142
|
+
|
|
143
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
144
|
+
Style/KeywordArgumentsMerging:
|
|
145
|
+
Exclude:
|
|
146
|
+
- 'lib/tax_cloud/errors/tax_cloud_error.rb'
|
|
147
|
+
|
|
148
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
149
|
+
Style/MultilineWhenThen:
|
|
150
|
+
Exclude:
|
|
151
|
+
- 'lib/tax_cloud/responses/base.rb'
|
|
152
|
+
|
|
153
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
154
|
+
Style/RedundantDoubleSplatHashBraces:
|
|
155
|
+
Exclude:
|
|
156
|
+
- 'lib/tax_cloud/errors/tax_cloud_error.rb'
|
|
157
|
+
|
|
158
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
159
|
+
# Configuration parameters: AllowComments.
|
|
160
|
+
Style/RedundantInitialize:
|
|
161
|
+
Exclude:
|
|
162
|
+
- 'test/test_lookup_response.rb'
|
|
163
|
+
|
|
164
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
165
|
+
Style/RedundantSelf:
|
|
166
|
+
Exclude:
|
|
167
|
+
- 'lib/tax_cloud.rb'
|
|
168
|
+
- 'lib/tax_cloud/responses/base.rb'
|
|
169
|
+
|
|
170
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
171
|
+
Style/RedundantStringEscape:
|
|
172
|
+
Exclude:
|
|
173
|
+
- 'lib/tasks/tax_code_groups.rake'
|
|
174
|
+
- 'lib/tasks/tax_codes.rake'
|
|
175
|
+
|
|
176
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
177
|
+
Style/SuperArguments:
|
|
178
|
+
Exclude:
|
|
179
|
+
- 'lib/tax_cloud/responses/lookup.rb'
|
|
180
|
+
- 'lib/tax_cloud/transaction.rb'
|
|
181
|
+
|
|
182
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
183
|
+
Style/SuperWithArgsParentheses:
|
|
184
|
+
Exclude:
|
|
185
|
+
- 'lib/tax_cloud/client.rb'
|
|
186
|
+
- 'lib/tax_cloud/responses/lookup.rb'
|
|
187
|
+
- 'lib/tax_cloud/transaction.rb'
|
|
188
|
+
|
|
189
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
190
|
+
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
|
|
45
191
|
# URISchemes: http, https
|
|
192
|
+
# AllowedPatterns: (?-mix:^\#)
|
|
46
193
|
Layout/LineLength:
|
|
47
|
-
|
|
194
|
+
Exclude:
|
|
195
|
+
- 'lib/tax_cloud/tax_code_constants.rb'
|
|
196
|
+
- 'lib/tax_cloud/transaction.rb'
|
|
197
|
+
- 'test/test_address.rb'
|
|
198
|
+
- 'test/test_client.rb'
|
|
199
|
+
- 'test/test_transaction.rb'
|
|
200
|
+
- 'test/test_transaction_ny.rb'
|
data/.spellcheck.txt
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
activesupport
|
|
2
|
+
api
|
|
3
|
+
apiKey
|
|
4
|
+
apiLoginID
|
|
5
|
+
AuthorizedWithCapture
|
|
6
|
+
BigDecimal
|
|
7
|
+
brchristian
|
|
8
|
+
Bundler
|
|
9
|
+
cartID
|
|
10
|
+
CartItem
|
|
11
|
+
cartItems
|
|
12
|
+
CHANGELOG
|
|
13
|
+
Changelog
|
|
14
|
+
config
|
|
15
|
+
customerID
|
|
16
|
+
danielmorrison
|
|
17
|
+
dateAuthorized
|
|
18
|
+
dateCaptured
|
|
19
|
+
dblock
|
|
20
|
+
dblockdotorg
|
|
21
|
+
Doubrovkine
|
|
22
|
+
Downcase
|
|
23
|
+
downcased
|
|
24
|
+
drewtempelmeyer
|
|
25
|
+
ecommerce
|
|
26
|
+
Gemfile
|
|
27
|
+
gemspec
|
|
28
|
+
getTICGroups
|
|
29
|
+
getTICs
|
|
30
|
+
getTICsByGroup
|
|
31
|
+
gfmurphy
|
|
32
|
+
ghepting
|
|
33
|
+
Hepting
|
|
34
|
+
httpi
|
|
35
|
+
initializer
|
|
36
|
+
ItemID
|
|
37
|
+
JRuby
|
|
38
|
+
linter
|
|
39
|
+
linters
|
|
40
|
+
md
|
|
41
|
+
MERCHANTABILITY
|
|
42
|
+
MissingConfigOption
|
|
43
|
+
Mongoid
|
|
44
|
+
mperham
|
|
45
|
+
mrmarcondes
|
|
46
|
+
NONINFRINGEMENT
|
|
47
|
+
nononoy
|
|
48
|
+
Norwalk
|
|
49
|
+
orderID
|
|
50
|
+
params
|
|
51
|
+
paulhenrich
|
|
52
|
+
Rakefile
|
|
53
|
+
rb
|
|
54
|
+
rchekaluk
|
|
55
|
+
rdi
|
|
56
|
+
RDoc
|
|
57
|
+
README
|
|
58
|
+
returnedDate
|
|
59
|
+
RuboCop
|
|
60
|
+
rubocop
|
|
61
|
+
RubyGems
|
|
62
|
+
Savon
|
|
63
|
+
savon
|
|
64
|
+
Schaefer
|
|
65
|
+
SKU
|
|
66
|
+
smtp
|
|
67
|
+
SoapError
|
|
68
|
+
soulcutter
|
|
69
|
+
SSUTA
|
|
70
|
+
sublicense
|
|
71
|
+
Taxability
|
|
72
|
+
TaxCloud
|
|
73
|
+
taxcloud
|
|
74
|
+
TaxCloud's
|
|
75
|
+
TaxCloudRelease
|
|
76
|
+
TaxCode
|
|
77
|
+
TaxCodes
|
|
78
|
+
Tempelmeyer
|
|
79
|
+
tempelmeyer
|
|
80
|
+
TICs
|
|
81
|
+
USD
|
|
82
|
+
usps
|
|
83
|
+
uspsUserID
|
|
84
|
+
VerifyAddress
|
|
85
|
+
WebMock
|
|
86
|
+
WSDL
|
|
87
|
+
wsdl
|
|
88
|
+
YAML
|
|
89
|
+
yaml
|
|
90
|
+
yml
|