taxbear 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: c5c3cd196511c61c9ea3a229a656c4b2410ba38c
4
- data.tar.gz: efcd41ff0ecb2f23e36c3a15fa2816d5334491e6
3
+ metadata.gz: 4406b64716c4df1359f6d873383f34fa9615f497
4
+ data.tar.gz: ae26c42eb78e5770c5aefb0e26539673084ffc45
5
5
  SHA512:
6
- metadata.gz: ea32a31b082dc8f55b06f63c014f53ed282ec978e7129dc0dd18e516815a2a719bd4b2a1433b4dfab219b0e403af6012be8fc0ba639c289139c6cc3d8df1b6e3
7
- data.tar.gz: d6b71f0c29625a45490ead5d71af9e729c3dda3de48d87859b4f3a3565177b657157dab5fe7424c69fc5a90cbb567199bead913051654c9afedf9cd38bb41fbc
6
+ metadata.gz: 382c8d37aef926efad12c817582ee3246578407bf757623f1964517abc6c7f6422ca5b978f5dfcc08e203af6ef1d38763516a9ec6e28a60d337d05cf4db7721a
7
+ data.tar.gz: 39e7775cd92848aa4f9b658eab94f68d14c27759deded449a67794b3870dd6fa27ff91048a7c739e12d671eb09853569937204507166788abf8c471631cb5bca
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # Changelog
2
+
3
+ ## 0.1.1 (2016-10-18)
4
+ - Improve CLI help.
5
+
6
+ ## 0.1.0 (2016-10-18)
7
+ - Initial release.
8
+ - Add ability to lookup sales tax by zip code.
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Taxbear
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/taxbear.svg)](https://badge.fury.io/rb/taxbear)
4
+
3
5
  ## Installation
4
6
 
5
7
  $ gem install taxbear
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
 
@@ -1,3 +1,3 @@
1
1
  module Taxbear
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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