reddit_bot 1.5.0 → 1.5.2

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: 9c7611c475346de3c940c8da95bbea7e104f6077
4
- data.tar.gz: cef886a4b2707cebcd9e03609abc0ac018128e11
3
+ metadata.gz: 04c5e7eb195ffcfac43153bd50de22411b5c94f0
4
+ data.tar.gz: b5f7b13260c496d2e74efcd7b28da0a0a909bc67
5
5
  SHA512:
6
- metadata.gz: 9d3dc611b2dafe208539cf2592fc1b8f389bbc0bdadf2149a9806b76750332bb091cd95b3f7f2b31823863407c7ed155fb451c11e6c25e2d0d12659b556b4d93
7
- data.tar.gz: 4ffc1f2d59001f024e978912dcaea03a412cedea6a594be3bd7044579d2bf38c93e3c9eddbddda28fb62a79de35ac92b0f1b235d26ed50917089415e51bf691a
6
+ metadata.gz: 0022f4739296e9d586b60a85b27e4982b35aad053d3e4284763265d689d594e1ca559d937722df46fb1df948827b5ea4bef8b55ba20bc8c20fa585c46311ab36
7
+ data.tar.gz: d7e275236c06d33cf12058eea1f000feda184cf06e9d3c3a510ac6e161834ed39de99d5f665b5a2c76c5b0582f9212f122e06017eaf31cf9429d2264f1e342bc
data/lib/reddit_bot.rb CHANGED
@@ -116,7 +116,7 @@ module RedditBot
116
116
  result = cache.call(args){ json *args }
117
117
  fail if result.keys != %w{ kind data }
118
118
  fail if result["kind"] != "Listing"
119
- fail if result["data"].keys != %w{ modhash whitelist_status children after before }
119
+ fail result["data"].keys.inspect if result["data"].keys != %w{ after dist modhash whitelist_status children before }
120
120
  result["data"]["children"].each do |post|
121
121
  fail "unknown type post['kind']: #{post["kind"]}" unless post["kind"] == "t3"
122
122
  e << post["data"]
@@ -1,3 +1,3 @@
1
1
  module RedditBot
2
- VERSION = "1.5.0" # :nodoc:
2
+ VERSION = "1.5.2" # :nodoc:
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reddit_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Maslov