reddit_bot 1.6.3 → 1.6.4

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: 3ab08bb7b694166f30bd533ca85c4eeed94e20d6
4
- data.tar.gz: 8dfd2e2d90b7e9c479588ae64bf3378168831baa
3
+ metadata.gz: 05b83643d990066b8e6a3922b71f065aabf02fa3
4
+ data.tar.gz: 23f386f95b1d0490e37c316b2823570f18114368
5
5
  SHA512:
6
- metadata.gz: dba466fd8d24244679c8323330463835a515686a52dbda66159e1f893f2cc311960f52887e775ae60a7d6e145213a8ee21788c49aba7380b9252b003968c21bd
7
- data.tar.gz: 727f2ed736751f175cf4b4b0acabb44a06bf682140a2ccd538d7b48e4564b50cf6c7307f851ae8d09d36409a403cc6d9e7c5621a1ce5dcb0befa996b19437ad5
6
+ metadata.gz: 3ce7a59815a001eb2808edfbc3ca1672eaf17cd271d15c7621bca3621ca320baa0174567b0ac539f761f5bd9271a18e34f7e10a41598475028aa3bafc1486918
7
+ data.tar.gz: f0c4ee4fe8136d20461cb80fcbe95f08098ba72e545a02a430f675e7a17b08d8225a31dcf369ad93d1f9e90e0c179a978bd7f102dff910197c61c7b9fd188be8
@@ -2,9 +2,9 @@
2
2
 
3
3
  gem "json"
4
4
 
5
- gem "nethttputils", git: "git@github.com:Nakilon/nethttputils.git"
5
+ gem "nethttputils", git: "git@github.com:Nakilon/nethttputils.git", tag: "v0.1.2.1"
6
6
 
7
- gem "reddit_bot", "~>1.6.2"
7
+ gem "reddit_bot", "~>1.6.3"
8
8
  gem "nokogiri"
9
9
 
10
10
  gem "imgur2array", git: "git@github.com:Nakilon/imgur2array.git"
@@ -15,15 +15,16 @@ GIT
15
15
 
16
16
  GIT
17
17
  remote: git@github.com:Nakilon/imgur2array.git
18
- revision: c7bf5078aafc7958cdcb6b31836c68c44ffe978c
18
+ revision: 9d5e5c3d442e85ff13938b0e614e67ba03581c76
19
19
  specs:
20
- imgur2array (0.0.3.1)
20
+ imgur2array (0.0.3.2)
21
21
 
22
22
  GIT
23
23
  remote: git@github.com:Nakilon/nethttputils.git
24
- revision: 620051619245a3b0b00447817831c6fb676d3df7
24
+ revision: 27777142af099556394691c772a33cf5f6548c4f
25
+ tag: v0.1.2.1
25
26
  specs:
26
- nethttputils (0.1.2.0)
27
+ nethttputils (0.1.2.1)
27
28
 
28
29
  GIT
29
30
  remote: git@github.com:Nakilon/url2dimensions.git
@@ -90,7 +91,7 @@ GEM
90
91
  mini_portile2 (~> 2.1.0)
91
92
  os (0.9.6)
92
93
  public_suffix (2.0.5)
93
- reddit_bot (1.6.2)
94
+ reddit_bot (1.6.3)
94
95
  json
95
96
  rly (0.2.3)
96
97
  signet (0.8.1)
@@ -112,7 +113,7 @@ DEPENDENCIES
112
113
  json
113
114
  nethttputils!
114
115
  nokogiri
115
- reddit_bot (~> 1.6.2)
116
+ reddit_bot (~> 1.6.3)
116
117
  url2dimensions!
117
118
 
118
119
  BUNDLED WITH
data/lib/reddit_bot.rb CHANGED
@@ -117,7 +117,8 @@ module RedditBot
117
117
  result = cache.call(args){ json *args }
118
118
  fail if result.keys != %w{ kind data }
119
119
  fail if result["kind"] != "Listing"
120
- fail result["data"].keys.inspect if result["data"].keys != %w{ after dist modhash whitelist_status children before }
120
+ fail result["data"].keys.inspect unless result["data"].keys == %w{ after dist modhash whitelist_status children before } ||
121
+ result["data"].keys == %w{ modhash dist children after before }
121
122
  result["data"]["children"].each do |post|
122
123
  fail "unknown type post['kind']: #{post["kind"]}" unless post["kind"] == "t3"
123
124
  e << post["data"]
@@ -1,3 +1,3 @@
1
1
  module RedditBot
2
- VERSION = "1.6.3" # :nodoc:
2
+ VERSION = "1.6.4" # :nodoc:
3
3
  end
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.3
4
+ version: 1.6.4
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-04-05 00:00:00.000000000 Z
11
+ date: 2018-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json