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 +4 -4
- data/lib/market_bot/play/app.rb +1 -1
- data/lib/market_bot/play/app/constants.rb +0 -1
- data/lib/market_bot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3301842c3ad8375852c32a0c1ad6837381def6a
|
4
|
+
data.tar.gz: d61d31d3e05f683c3811cba0dd3f294f7310831e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10091d7100298d5103f6575ab1df6ec4b5b6f1e2c69dfde0355acc008fe0ed280bfcb2cb378c20d3addab682b86b80d2eb27b4a6b47e64c97078bacb46710e12
|
7
|
+
data.tar.gz: c7a0bf907de0a1dbf5afa4e7dca36be1dd99d68b52b1b7577afb0a422fbab9fd0217b42235b7a878d22788ca720261ead0a4e1584d1e450e0a5440859fb9a6f5
|
data/lib/market_bot/play/app.rb
CHANGED
@@ -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
|
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
|
data/lib/market_bot/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|