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 +4 -4
- data/lib/reddit_bot.rb +1 -1
- data/lib/reddit_bot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04c5e7eb195ffcfac43153bd50de22411b5c94f0
|
4
|
+
data.tar.gz: b5f7b13260c496d2e74efcd7b28da0a0a909bc67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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"]
|
data/lib/reddit_bot/version.rb
CHANGED