cinch-url-scraper 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -1
- data/lib/cinch/plugins/urlscraper.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0a84f5ce3f34f689f9bc2fdd753818b70e896610
|
4
|
+
data.tar.gz: e8c710e6791cfa20917f1ca0f1319eedda2d6ecf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23a0ca5148240f9a3c0b38149bd5d8de99a8e1b82915f9c1b737cc107c704ab546f8ff9f2911359c74fd4231c2cefd822e23d85d3b9d371b3fb8a89dca04a4af
|
7
|
+
data.tar.gz: 9a329a9c42573ef987237f6d9b4352deb98109a8ec048fac8c2731796ea79ee2ec97a3d8596806f8067f9c9ae4c805f0a28ac734eec899f18f0eb5bd985f16d4
|
data/README.md
CHANGED
@@ -19,7 +19,8 @@ require "cinch/plugins/urlscraper"
|
|
19
19
|
bot = Cinch::Bot.new do
|
20
20
|
configure do |c|
|
21
21
|
c.plugins.plugins = [Cinch::Plugins::UrlScraper]
|
22
|
-
|
22
|
+
# The following line is not required
|
23
|
+
c.plugins.options[Cinch::Plugins::UrlScraper] = { enabled_channels: ["#Foo", "#Bar"] }
|
23
24
|
|
24
25
|
end
|
25
26
|
end
|
@@ -151,7 +151,7 @@ module Cinch
|
|
151
151
|
|
152
152
|
m.reply Format(:green, "URL Scraping for #{m.channel} is now #{@url ? 'enabled' : 'disabled'}!")
|
153
153
|
|
154
|
-
@bot.debug("#{self.class.name}
|
154
|
+
@bot.debug("#{self.class.name} => #{config[:enabled_channels].inspect}");
|
155
155
|
|
156
156
|
config[:enabled_channels]=nil if config[:enabled_channels]==[]
|
157
157
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cinch-url-scraper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michal Papis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cinch
|
@@ -59,17 +59,17 @@ require_paths:
|
|
59
59
|
- lib
|
60
60
|
required_ruby_version: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- -
|
62
|
+
- - '>='
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: 1.9.1
|
65
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
71
|
rubyforge_project:
|
72
|
-
rubygems_version: 2.
|
72
|
+
rubygems_version: 2.2.2
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: A Cinch plugin to get information about posted URLs.
|