reddit_bot 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/examples/cptflairbot3/main.rb +1 -1
- data/examples/largeimages/Gemfile +1 -1
- data/examples/largeimages/Gemfile.lock +6 -6
- data/examples/largeimages/main.rb +2 -2
- data/examples/wallpaper/Gemfile +1 -1
- data/examples/wallpaper/Gemfile.lock +5 -5
- data/lib/reddit_bot/version.rb +1 -1
- data/reddit_bot.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bd7532e6902bd9f58fde5dcf8151c9dc408bae4
|
4
|
+
data.tar.gz: 276fb95038900de070d338744929b9812f77fc88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 557ea06453ad91faf028dbd42a1b49b1417d34026fb2363e16046d6722dcb159306fe5ed1d5ab6680fc4d7ea1d07445c97b9e4461b1f6bd0c6c2542307e345bb
|
7
|
+
data.tar.gz: ba95209b0e3ad5abe387f455729334dd6dad6e754b11a581b19ca0ffbf50b1535bde0425340996319f88ebcf9c6c343c0202dabd20981d337072d9f4fd683d18
|
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ loop do
|
|
10
10
|
next logger.info "bad destination: #{msg["data"]["dest"]}" unless msg["data"]["dest"] == "CPTFlairBot3"
|
11
11
|
case msg["data"]["subject"]
|
12
12
|
when "casualpokemontrades"
|
13
|
-
unless /^(?<name>\S+( \S+)*) ?\n(?<id>\d\d\d\d-\d\d\d\d-\d\d\d\d)\n(?<css_class
|
13
|
+
unless /^(?<name>\S+( \S+)*) ?\n(?<id>\d\d\d\d-\d\d\d\d-\d\d\d\d)\n(?<css_class>[a-z2-]+)$/ =~ msg["data"]["body"]
|
14
14
|
logger.info "invalid message for #{msg["data"]["subject"]}: %p" % msg["data"]["body"] unless Google::Cloud.env.compute_engine?
|
15
15
|
# puts "marking invalid message as read: %p" % msg["data"]["body"]
|
16
16
|
# BOT.json :post, "/api/read_message", {id: msg["data"]["name"]} unless Gem::Platform.local.os == "darwin"
|
@@ -21,9 +21,9 @@ GIT
|
|
21
21
|
|
22
22
|
GIT
|
23
23
|
remote: git@github.com:nakilon/nethttputils.git
|
24
|
-
revision:
|
24
|
+
revision: 102f734b311b947769e77413b553f544a889a76a
|
25
25
|
specs:
|
26
|
-
nethttputils (0.3.2.
|
26
|
+
nethttputils (0.3.2.11)
|
27
27
|
|
28
28
|
GEM
|
29
29
|
remote: https://rubygems.org/
|
@@ -81,11 +81,11 @@ GEM
|
|
81
81
|
mini_portile2 (2.4.0)
|
82
82
|
multi_json (1.13.1)
|
83
83
|
multipart-post (2.0.0)
|
84
|
-
nokogiri (1.10.
|
84
|
+
nokogiri (1.10.4)
|
85
85
|
mini_portile2 (~> 2.4.0)
|
86
86
|
os (0.9.6)
|
87
87
|
public_suffix (2.0.5)
|
88
|
-
reddit_bot (1.7.
|
88
|
+
reddit_bot (1.7.2)
|
89
89
|
json
|
90
90
|
nethttputils (~> 0.3.2.0)
|
91
91
|
rly (0.2.3)
|
@@ -106,7 +106,7 @@ DEPENDENCIES
|
|
106
106
|
google-cloud-error_reporting
|
107
107
|
json
|
108
108
|
nethttputils!
|
109
|
-
nokogiri
|
109
|
+
nokogiri (~> 1.10.4)
|
110
110
|
|
111
111
|
BUNDLED WITH
|
112
|
-
|
112
|
+
2.0.2
|
@@ -22,15 +22,15 @@ INCLUDE = %w{
|
|
22
22
|
user/kjoneslol/m/sfwpornnetwork
|
23
23
|
|
24
24
|
r/woahdude
|
25
|
+
r/pic
|
25
26
|
|
26
27
|
r/highres
|
27
28
|
r/wallpapers
|
28
29
|
r/wallpaper
|
29
30
|
r/WQHD_Wallpaper
|
30
31
|
|
31
|
-
r/pic
|
32
|
-
|
33
32
|
r/oldmaps
|
33
|
+
r/telephotolandscapes
|
34
34
|
}
|
35
35
|
EXCLUDE = %w{ foodporn powerwashingporn }
|
36
36
|
|
data/examples/wallpaper/Gemfile
CHANGED
@@ -12,10 +12,10 @@ GEM
|
|
12
12
|
fastimage (2.1.5)
|
13
13
|
json (2.1.0)
|
14
14
|
kramdown (1.17.0)
|
15
|
-
mini_portile2 (2.
|
15
|
+
mini_portile2 (2.4.0)
|
16
16
|
nethttputils (0.2.5.1)
|
17
|
-
nokogiri (1.
|
18
|
-
mini_portile2 (~> 2.
|
17
|
+
nokogiri (1.10.4)
|
18
|
+
mini_portile2 (~> 2.4.0)
|
19
19
|
public_suffix (2.0.5)
|
20
20
|
reddit_bot (1.6.13)
|
21
21
|
json
|
@@ -26,8 +26,8 @@ PLATFORMS
|
|
26
26
|
|
27
27
|
DEPENDENCIES
|
28
28
|
directlink
|
29
|
-
nokogiri (~> 1.
|
29
|
+
nokogiri (~> 1.10.4)
|
30
30
|
public_suffix (< 3.0)
|
31
31
|
|
32
32
|
BUNDLED WITH
|
33
|
-
|
33
|
+
2.0.2
|
data/lib/reddit_bot/version.rb
CHANGED
data/reddit_bot.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
# spec.require_paths = ["lib"]
|
16
16
|
|
17
17
|
spec.add_runtime_dependency "json"
|
18
|
-
spec.add_runtime_dependency "nethttputils", "~>0.3.
|
18
|
+
spec.add_runtime_dependency "nethttputils", "~>0.3.3.0"
|
19
19
|
# spec.add_development_dependency "bundler", "~> 1.11"
|
20
20
|
# spec.add_development_dependency "rake", "~> 10.0"
|
21
21
|
# spec.add_development_dependency "rspec", "~> 3.0"
|
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.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Maslov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.
|
33
|
+
version: 0.3.3.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3.
|
40
|
+
version: 0.3.3.0
|
41
41
|
description: better than PRAW
|
42
42
|
email:
|
43
43
|
- nakilon@gmail.com
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.5.2
|
133
|
+
rubygems_version: 2.5.2.3
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Library for Reddit bots
|