smfbot 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/README.md +1 -1
- data/lib/smfbot.rb +4 -1
- metadata +5 -9
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZDU0NmZjNDI5YTk0MjczOGEwYjEzZDlhNTYzZmNiYTdiN2EwNDc0ZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZmYwOTk4YzhlMTkxYzYwZTAzNDJiM2UwYTNmOTg4MGVmMjgwYjE2Ng==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MGVjMDIwNjBhZjk0MjQyMjkwYzZlNzBmZmJlNWE5YjdhM2Q1Y2YzOGU3NjVk
|
10
|
+
NWQ1OWM3NjVkNmI2NGJlMzAxMmFiOWFiNDgyNTA2NTEwZjM5Mzc0NjY5MmYx
|
11
|
+
ZDk2ZTE1OTIyYzIxZTQ5MjA5MzJkMTViMWY5NGRmZjgwMjA0MDE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YTE1YjFiOWEwYTNmYTJkMzczOTkwYTljOWEwM2NjNjgzOTBmZjNiZDVhMjVl
|
14
|
+
MmMxMGFlZTBlYjZmOGU1OTc5M2ExZWVlOGUzY2I3OWRlNDYwNGU3ZDRhZTA2
|
15
|
+
NmQ1MzU3ZmIyNjUzZmZlZDllNzZmOGRkNjc5NWRjZDIxMjQwN2E=
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ IRC bot engine build for `#smf.sh` and related channels, quite similar to [cinch
|
|
27
27
|
"Cinch::Plugins::Identify":
|
28
28
|
:type: :nickserv
|
29
29
|
:username: "user"
|
30
|
-
:password: "password"
|
30
|
+
:password: "password-file-to-read"
|
31
31
|
"Cinch::Plugins::YamlMemo":
|
32
32
|
"Cinch::Plugins::UrlScraper":
|
33
33
|
|
data/lib/smfbot.rb
CHANGED
@@ -23,7 +23,10 @@ class SmfBot
|
|
23
23
|
@bot.configure do |c|
|
24
24
|
plugin = eval plugin
|
25
25
|
c.plugins.plugins << plugin
|
26
|
-
|
26
|
+
if options
|
27
|
+
options[:password] = File.readlines(options[:password]).first.strip if options[:password]
|
28
|
+
c.plugins.options[plugin] = options
|
29
|
+
end
|
27
30
|
end
|
28
31
|
rescue Exception => e
|
29
32
|
@bot.warn "failed loading plugin: #{plugin} ->\n"
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smfbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Michal Papis
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-11-26 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: cinch
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -40,26 +37,25 @@ files:
|
|
40
37
|
- bin/smfbot
|
41
38
|
homepage: https://github.com/mpapis/smfbot
|
42
39
|
licenses: []
|
40
|
+
metadata: {}
|
43
41
|
post_install_message:
|
44
42
|
rdoc_options: []
|
45
43
|
require_paths:
|
46
44
|
- lib
|
47
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
46
|
requirements:
|
50
47
|
- - ! '>='
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: 1.9.1
|
53
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
51
|
requirements:
|
56
52
|
- - ! '>='
|
57
53
|
- !ruby/object:Gem::Version
|
58
54
|
version: '0'
|
59
55
|
requirements: []
|
60
56
|
rubyforge_project:
|
61
|
-
rubygems_version: 1.
|
57
|
+
rubygems_version: 2.1.11
|
62
58
|
signing_key:
|
63
|
-
specification_version:
|
59
|
+
specification_version: 4
|
64
60
|
summary: ! 'IRC bot engine build for #smf.sh and related channels.'
|
65
61
|
test_files: []
|