ruboty-amazon_wishlist 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: bf44c5778f3a8a05a5ab2531ac9109fc7cbb9302
4
- data.tar.gz: 008e62ddfe40aa80be1a360c2f030a45e9dcf46d
3
+ metadata.gz: 03f6f92e4cec435f7ece89c8a6684614a862528e
4
+ data.tar.gz: a02f40de9cf51f063fce6292e9bda815d18edb24
5
5
  SHA512:
6
- metadata.gz: 31953319977675075295ee9ed8c6f17c9cd550bb29f82213c4de443239733bcc99925f091ae0e4af9b52e68b25e908eb116ebbafe480415fcb37f1313d95d7b2
7
- data.tar.gz: 316ac5cd865b683ce246cd24c3f8f5a5d2befa748031c29e85e0db3eaee73a216305e1d29ef0745eb05e393ce05141eb939979efb4222686a8c28fc7ae824f71
6
+ metadata.gz: d1d8d55a4f116c224efbafdd77a1281973d9025941cda27f779d299b06f3c5bf17f01a339cc6ce8dcb806823c05f1874c4b904840c7a88249a55d9bcd35bfd99
7
+ data.tar.gz: 7eaa5c85500d29ebfbdd6065ce6a27e8846ef5aeb32d8851ce272c9dbed580a4101adeed83d88e36ab83e6452cc8fe0ad2873481766553703dec5f7ef93430b0
data/.gitignore CHANGED
@@ -1,5 +1,7 @@
1
1
  /.bundle/
2
2
  /rental.db/
3
+ /pkg/
4
+ /vendor/
3
5
  /Gemfile.lock
4
6
  /.env
5
7
  *.bundle
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Amazon_wishlist
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
@@ -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.0
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-26 00:00:00.000000000 Z
11
+ date: 2015-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty