spunk 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/spunk.rb +1 -1
- data/lib/spunk/bot.rb +4 -3
- metadata +9 -10
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 645cb3f21c985dc6d41141eb71ee4695a3b8133a
|
|
4
|
+
data.tar.gz: 3ab7d045cb63c9511c5d6b30de8b5ceac89b16fb
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 99df9065c7f4f0b4d2bfab1053a91a9b52ecd10dedc64ef45652c2d03dbc88f50c294d4f877d33651ec3ca2a6bf8cc08a583a903809aa3825cfd0bea9c4e6464
|
|
7
|
+
data.tar.gz: dcef64a26d36898bb1dc01059914ef87c9df421b905c5de5c66505843e371d17afc6b4616e8e3d64d7f5e36a4daa327cf9ec68781263d339cdc486b96d2eefa0
|
data/lib/spunk.rb
CHANGED
data/lib/spunk/bot.rb
CHANGED
|
@@ -67,13 +67,13 @@ module Spunk
|
|
|
67
67
|
sleep 0.25
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
|
-
|
|
70
|
+
|
|
71
71
|
def setup_connection
|
|
72
72
|
connect
|
|
73
73
|
authenticate
|
|
74
74
|
@rooms.each { |room| join_room room }
|
|
75
75
|
end
|
|
76
|
-
|
|
76
|
+
|
|
77
77
|
def run
|
|
78
78
|
setup_connection
|
|
79
79
|
start
|
|
@@ -189,6 +189,7 @@ module Spunk
|
|
|
189
189
|
@logger.debug "Sending message: #{message}"
|
|
190
190
|
command, parameters = message.strip.split(/\:/, 2)
|
|
191
191
|
process_response(origin, command.to_s.strip, parameters)
|
|
192
|
+
return true
|
|
192
193
|
end
|
|
193
194
|
end
|
|
194
|
-
end
|
|
195
|
+
end
|
metadata
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spunk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.1.3
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Michael Heijmans
|
|
@@ -18,34 +17,34 @@ extensions: []
|
|
|
18
17
|
extra_rdoc_files: []
|
|
19
18
|
files:
|
|
20
19
|
- lib/spunk.rb
|
|
20
|
+
- lib/spunk/base_parser.rb
|
|
21
21
|
- lib/spunk/bot.rb
|
|
22
|
+
- lib/spunk/helpers.rb
|
|
22
23
|
- lib/spunk/origin.rb
|
|
23
|
-
- lib/spunk/base_parser.rb
|
|
24
24
|
- lib/spunk/ping_parser.rb
|
|
25
|
-
- lib/spunk/helpers.rb
|
|
26
25
|
- lib/spunk/spunk_exceptions.rb
|
|
27
26
|
homepage: http://parabuzzle.github.io/spunk/
|
|
28
27
|
licenses: []
|
|
28
|
+
metadata: {}
|
|
29
29
|
post_install_message:
|
|
30
30
|
rdoc_options: []
|
|
31
31
|
require_paths:
|
|
32
32
|
- lib
|
|
33
33
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
|
-
none: false
|
|
35
34
|
requirements:
|
|
36
|
-
- -
|
|
35
|
+
- - ">="
|
|
37
36
|
- !ruby/object:Gem::Version
|
|
38
37
|
version: '0'
|
|
39
38
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
|
-
none: false
|
|
41
39
|
requirements:
|
|
42
|
-
- -
|
|
40
|
+
- - ">="
|
|
43
41
|
- !ruby/object:Gem::Version
|
|
44
42
|
version: '0'
|
|
45
43
|
requirements: []
|
|
46
44
|
rubyforge_project:
|
|
47
|
-
rubygems_version:
|
|
45
|
+
rubygems_version: 2.2.2
|
|
48
46
|
signing_key:
|
|
49
|
-
specification_version:
|
|
47
|
+
specification_version: 4
|
|
50
48
|
summary: A simple little IRCbot framework
|
|
51
49
|
test_files: []
|
|
50
|
+
has_rdoc:
|