taxbear 0.1.0 → 0.1.1
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/CHANGELOG.md +8 -0
- data/README.md +2 -0
- data/lib/taxbear/cli.rb +1 -3
- data/lib/taxbear/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4406b64716c4df1359f6d873383f34fa9615f497
|
4
|
+
data.tar.gz: ae26c42eb78e5770c5aefb0e26539673084ffc45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 382c8d37aef926efad12c817582ee3246578407bf757623f1964517abc6c7f6422ca5b978f5dfcc08e203af6ef1d38763516a9ec6e28a60d337d05cf4db7721a
|
7
|
+
data.tar.gz: 39e7775cd92848aa4f9b658eab94f68d14c27759deded449a67794b3870dd6fa27ff91048a7c739e12d671eb09853569937204507166788abf8c471631cb5bca
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
data/lib/taxbear/cli.rb
CHANGED
@@ -2,10 +2,9 @@ require "thor"
|
|
2
2
|
|
3
3
|
module Taxbear
|
4
4
|
class CLI < Thor
|
5
|
-
desc "zip ZIPCODE", "displays sales tax rates for supplied zip code"
|
5
|
+
desc "zip [ZIPCODE]", "displays sales tax rates for supplied zip code"
|
6
6
|
def zip(zipcode)
|
7
7
|
ensure_api_key_is_available
|
8
|
-
|
9
8
|
rates = Taxjar.get_rates_by_zipcode(zipcode)
|
10
9
|
TableBuilder.print_rates_for_zipcode(rates, zipcode)
|
11
10
|
rescue TaxjarError => e
|
@@ -18,7 +17,6 @@ module Taxbear
|
|
18
17
|
unless File.exists?(CONFIG_FILE)
|
19
18
|
token = ask("What is your TaxJar API token?")
|
20
19
|
File.write(CONFIG_FILE, token)
|
21
|
-
token
|
22
20
|
end
|
23
21
|
end
|
24
22
|
|
data/lib/taxbear/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taxbear
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Cypret
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- ".gitignore"
|
106
106
|
- ".rspec"
|
107
107
|
- ".travis.yml"
|
108
|
+
- CHANGELOG.md
|
108
109
|
- CODE_OF_CONDUCT.md
|
109
110
|
- Gemfile
|
110
111
|
- README.md
|