ruboty-amazon_wishlist 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 +4 -4
- data/.gitignore +2 -0
- data/lib/ruboty/amazon_wishlist/version.rb +1 -1
- data/lib/ruboty/handlers/amazon_wishlist.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: 03f6f92e4cec435f7ece89c8a6684614a862528e
|
4
|
+
data.tar.gz: a02f40de9cf51f063fce6292e9bda815d18edb24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1d8d55a4f116c224efbafdd77a1281973d9025941cda27f779d299b06f3c5bf17f01a339cc6ce8dcb806823c05f1874c4b904840c7a88249a55d9bcd35bfd99
|
7
|
+
data.tar.gz: 7eaa5c85500d29ebfbdd6065ce6a27e8846ef5aeb32d8851ce272c9dbed580a4101adeed83d88e36ab83e6452cc8fe0ad2873481766553703dec5f7ef93430b0
|
data/.gitignore
CHANGED
@@ -40,9 +40,9 @@ module Ruboty
|
|
40
40
|
def list_updated(message)
|
41
41
|
items = []
|
42
42
|
list_items.each do |id, item|
|
43
|
+
item[:price] = 'null' if item[:price].empty?
|
43
44
|
last_price = cache[id].to_s.force_encoding('utf-8')
|
44
45
|
if item[:price] != last_price
|
45
|
-
last_price = 'null' if last_price.empty?
|
46
46
|
items << "#{item[:title]} (from:#{last_price} to:#{item[:price]})"
|
47
47
|
end
|
48
48
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboty-amazon_wishlist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- haccht
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruboty
|