market_bot 1.0.0 → 1.0.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: 9206239cc019edb10efdf93e3c56e0bda9817e4b
4
- data.tar.gz: 50dd856eb3b5aa3a69b494ba641b70b10ce75bf0
3
+ metadata.gz: a3301842c3ad8375852c32a0c1ad6837381def6a
4
+ data.tar.gz: d61d31d3e05f683c3811cba0dd3f294f7310831e
5
5
  SHA512:
6
- metadata.gz: 23560b228f34cd479889578a7ee1b56d974a6c88a910e6522eb18680de1265be6554e9a5169e9374abb081c0a17f410669cce92f53f7d982ea8f445e961bd489
7
- data.tar.gz: 851d0bd20f7b00d17d6524857c356067a0fea1c5dfd4b46589f9bbaa74da1c251b7dc9a74b6f31fab57566bfbcb300d3ac1979716d2ac94c26a198208fece940
6
+ metadata.gz: 10091d7100298d5103f6575ab1df6ec4b5b6f1e2c69dfde0355acc008fe0ed280bfcb2cb378c20d3addab682b86b80d2eb27b4a6b47e64c97078bacb46710e12
7
+ data.tar.gz: c7a0bf907de0a1dbf5afa4e7dca36be1dd99d68b52b1b7577afb0a422fbab9fd0217b42235b7a878d22788ca720261ead0a4e1584d1e450e0a5440859fb9a6f5
@@ -47,7 +47,7 @@ module MarketBot
47
47
  result[:price] = doc.at_css('meta[itemprop="price"]')[:content]
48
48
 
49
49
  category_div = doc.at_css('.category')
50
- result[:category] = category_div.text.strip rescue nil
50
+ result[:category] = category_div.text.strip
51
51
  result[:category_url] = File.split(category_div["href"])[1]
52
52
 
53
53
  result[:description] = doc.at_css('div[itemprop="description"]').inner_html.strip
@@ -26,7 +26,6 @@ module MarketBot
26
26
  :updated,
27
27
  :votes,
28
28
  :website_url,
29
- :whats_new
30
29
  ]
31
30
  end
32
31
  end
@@ -1,3 +1,3 @@
1
1
  module MarketBot
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: market_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Remesch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-21 00:00:00.000000000 Z
11
+ date: 2016-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus