reddit_bot 1.6.12 → 1.6.13
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 +2 -2
- data/lib/reddit_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: 645a6f7aaf1ab61bbc83b3a4d3a7d57f8f305e1a
|
4
|
+
data.tar.gz: 6a76531bfabed4d18796d6a25fce201113e07407
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59c592e1b11fac0a770a17e2d25a7283d08b49d79b4e5f414d495a1762ad1abdbedd09af84614b39a0f87a24c77d7ea309111eff0b2d0d0c87751723445c9aa8
|
7
|
+
data.tar.gz: 3dd6469209d4991668f60d8658115a6ffd9be6e77a209cd05d740c96475213f64cfa829b1854c57000cfe1507c41c6e700ec90935b955823da98a2ddc99d14c9
|
data/lib/reddit_bot.rb
CHANGED
@@ -120,7 +120,7 @@ module RedditBot
|
|
120
120
|
result.unshift item
|
121
121
|
end
|
122
122
|
end
|
123
|
-
fail unless
|
123
|
+
fail unless @@skip_erroneous_descending_ids[[
|
124
124
|
{"id" => "0h"},
|
125
125
|
{"id" => "g"},
|
126
126
|
{"id" => "f"},
|
@@ -129,7 +129,7 @@ module RedditBot
|
|
129
129
|
{"id" => "b"},
|
130
130
|
{"id" => "c"},
|
131
131
|
{"id" => "d"},
|
132
|
-
]].flat_map(&:values)
|
132
|
+
]].flat_map(&:values) == %w{ 0h i e d }
|
133
133
|
# :yields: JSON objects: ["data"] part of post or self.post
|
134
134
|
def new_posts subreddit = nil, caching = false
|
135
135
|
cache = lambda do |id, &block|
|
data/lib/reddit_bot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reddit_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Maslov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|