beer-advocate-cli 0.2.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f112ae6df99c1023e70365c34df69ada37af7e49d5f425225ee65700c9657457
4
- data.tar.gz: deda2a0d0950339c738e1cb2a6c59aea448d59369929dd92ba2f8bb7e48502d9
3
+ metadata.gz: dfc4114a5026ff4039bac75337b721c38e848e430962451309e048f63a097328
4
+ data.tar.gz: 2118f459a6e7d59ceb1ed624e776d5252674b185965ccc8b1a9e1dc5e8f1b975
5
5
  SHA512:
6
- metadata.gz: 5bf06e5b6d1f7e80b203cce20c5400cb7b5536e01ebe98511f5614883898ceba26630ed89e867d386f6758c89cf8832b6ad1f10672ba4064e9a89629d7943ee9
7
- data.tar.gz: 84efb5d6e2a69e6a7705c5b5beba8fa01b9d3e1cbfb45cf6373d0934be2ed37e93649c1df43757b6f734e55a6d4cd86f0e9226679e8fa7e21d995e8a69336c48
6
+ metadata.gz: d89e0c8238eae80921e9af4e758ef205dd23668e7f60ad399377b74011e54e69842b4f4094838f84e06e15a651970c42f2a8cf1dc4a255060cc8682f7d24bde5
7
+ data.tar.gz: 860df5866715e1857762a3887c888a1f60e8193de3e9676a7512f9ff8ba7caccaf5329fae312ad0cfd7cd093541c9ec6ba4fb92560ddb0de6370697ed4fa442a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beer-advocate-cli (0.2.0)
4
+ beer-advocate-cli (0.2.1)
5
5
  colorize (~> 0.8.1)
6
6
  nokogiri (~> 1.8)
7
7
 
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cli::Data::Gem
1
+ # Beer Advocate CLI Gem
2
2
 
3
3
  This gem enables you to browse the Beer Advocate website (beeradvocate.com) in a CLI.
4
4
 
@@ -1,7 +1,3 @@
1
- require_relative './scraper.rb'
2
- require_relative './brewery.rb'
3
- require_relative './style.rb'
4
-
5
1
  class BeerAdvocate::Beer
6
2
  attr_accessor :name, :brewery, :style, :abv, :review_count, :score, :name_url, :brewery_url, :style_url
7
3
  attr_reader :brewery, :style
@@ -1,9 +1,3 @@
1
- require 'pry'
2
-
3
- require_relative './beer.rb'
4
- require_relative './scraper.rb'
5
- require_relative './brewery.rb'
6
-
7
1
  class BeerAdvocate::CLI
8
2
  attr_accessor :beer_list, :beers, :styles, :reviews, :find_beer, :find_brewery, :find_style
9
3
 
@@ -313,8 +307,6 @@ class BeerAdvocate::CLI
313
307
  brewery_page_details = BeerAdvocate::Scraper.find_url_details(find_brewery[:brewery_url])
314
308
  end
315
309
 
316
- #binding.pry
317
-
318
310
  puts "- - - - - - - - - - - - - - - - - - - - - - - - - -".light_blue
319
311
  puts "#{find_brewery[:brewery]}".yellow.bold
320
312
  puts " "
@@ -1,3 +1,3 @@
1
1
  module BeerAdvocate
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beer-advocate-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Tan