beeradvocate 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: 6fb8952be83417794f9222e13296641c7d87ffb1
4
- data.tar.gz: b8017d20a268d438c73a4694d22ebc4196e34ab1
3
+ metadata.gz: 5a2bf8eee7578e9128545ae59d9abbcd5318f2b8
4
+ data.tar.gz: 5f071c144d5675f14a5eaae9ee637dd6d0ee5106
5
5
  SHA512:
6
- metadata.gz: 331eb8c63e71c5c3b6369fedb03eecaace7bd7f70b80350b4057fd6ccbbb30da02e3bc25ee79663d628f0922149a9006254c5f98987ac3476260e788c1e204b9
7
- data.tar.gz: 22bcf557a75b6b227f0b8100a83b1878aec01d8577a4d1a11b551bc7d9fd61d9c1530e7c5fb22e0afc2cd72a37f47e109ba5e846e1e8a379eac2a1fa05d2188f
6
+ metadata.gz: c80f2814a36a0ae0e63b35b235f6b0bd081a00fcfbfabffa24c2c6703509d08b34cbf611b9fabc75de3178f73a404f26a001fad4e69c3ac67a5ce93399222b7b
7
+ data.tar.gz: e8b96ad469a98ee3ef97f83a22c63585375bdbdf4eab76dc7804398530da556ca3e1184c97ab8bf560bd44fe4d2c4bc66d6e610d777589eb979013ab36ed7081
@@ -38,7 +38,7 @@ module BeerAdvocate
38
38
 
39
39
  table = page.css('#ba-content table')[1]
40
40
 
41
- beer_name = table.css('img')[0].attributes['alt'].value
41
+ beer_name = page.css('div.titleBar h1')[0].children[0].text
42
42
 
43
43
  beer_score = table.css('.ba-score').text
44
44
 
@@ -1,5 +1,5 @@
1
1
  module BeerAdvocate
2
- VERSION = '0.1.0'
3
- VERSION_DATE = '2015-07-02'
2
+ VERSION = '0.1.1'
3
+ VERSION_DATE = '2015-09-15'
4
4
  end
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beeradvocate
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
  - Pete Gamache
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  requirements: []
91
91
  rubyforge_project:
92
- rubygems_version: 2.4.6
92
+ rubygems_version: 2.4.3
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: Fragile, minimal utilities to scrape Beer Advocate