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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72f9dc552d1471c35792e1633fd4fd2e466a2ee9
4
- data.tar.gz: feb6cfce26ffc0fbbe6bff80ea3e776398143f69
3
+ metadata.gz: 1bd7532e6902bd9f58fde5dcf8151c9dc408bae4
4
+ data.tar.gz: 276fb95038900de070d338744929b9812f77fc88
5
5
  SHA512:
6
- metadata.gz: 5127199b9b40bb025a31deb32ed724f56e1d3ea9932980b33374751702214f0a399db95d9a2609ac4b5feaa1fd76c82a027414f6efe87a15b6d8c0e9becfb673
7
- data.tar.gz: 7d2a70330ddcb412a0a3288d55ef020cb99f0ad565f39a47133c18bfd4b12efc39a7870b2f3be65de64fe646d9178755bfe1ab3683aacfa151873d2a43a9036b
6
+ metadata.gz: 557ea06453ad91faf028dbd42a1b49b1417d34026fb2363e16046d6722dcb159306fe5ed1d5ab6680fc4d7ea1d07445c97b9e4461b1f6bd0c6c2542307e345bb
7
+ data.tar.gz: ba95209b0e3ad5abe387f455729334dd6dad6e754b11a581b19ca0ffbf50b1535bde0425340996319f88ebcf9c6c343c0202dabd20981d337072d9f4fd683d18
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
2
 
4
- RSpec::Core::RakeTask.new(:spec)
3
+ # require "rspec/core/rake_task"
4
+ # RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task :default => :spec
@@ -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>\S+)$/ =~ msg["data"]["body"]
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"
@@ -2,7 +2,7 @@
2
2
 
3
3
  gem "json"
4
4
 
5
- gem "nokogiri"
5
+ gem "nokogiri", "~>1.10.4"
6
6
 
7
7
  gem "nethttputils", git: "git@github.com:nakilon/nethttputils.git"
8
8
  gem "directlink", git: "git@github.com:nakilon/directlink.git"
@@ -21,9 +21,9 @@ GIT
21
21
 
22
22
  GIT
23
23
  remote: git@github.com:nakilon/nethttputils.git
24
- revision: 6450111a35803b474c2331d8e12da6546101c887
24
+ revision: 102f734b311b947769e77413b553f544a889a76a
25
25
  specs:
26
- nethttputils (0.3.2.6)
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.2)
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.1)
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
- 1.17.1
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
 
@@ -1,5 +1,5 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "nokogiri", "~>1.6.7" # Ruby 2.0
3
+ gem "nokogiri", "~>1.10.4"
4
4
  gem "public_suffix", "<3.0" # Ruby 2.0
5
5
  gem "directlink"
@@ -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.1.0)
15
+ mini_portile2 (2.4.0)
16
16
  nethttputils (0.2.5.1)
17
- nokogiri (1.6.8.1)
18
- mini_portile2 (~> 2.1.0)
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.6.7)
29
+ nokogiri (~> 1.10.4)
30
30
  public_suffix (< 3.0)
31
31
 
32
32
  BUNDLED WITH
33
- 1.17.1
33
+ 2.0.2
@@ -1,3 +1,3 @@
1
1
  module RedditBot
2
- VERSION = "1.7.2" # :nodoc:
2
+ VERSION = "1.7.3" # :nodoc:
3
3
  end
@@ -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.2.0"
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.2
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-05-02 00:00:00.000000000 Z
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.2.0
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.2.0
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