on_irc 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/on_irc/connection.rb +1 -1
- data/lib/on_irc/parser.rb +3 -3
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.4
|
data/lib/on_irc/connection.rb
CHANGED
data/lib/on_irc/parser.rb
CHANGED
@@ -8,11 +8,11 @@ class IRC
|
|
8
8
|
|
9
9
|
if msg.peek(1) == ':'
|
10
10
|
msg.pos += 1
|
11
|
-
prefix = msg.scan /\S+/
|
11
|
+
prefix = msg.scan /\S+/
|
12
12
|
msg.skip /\s+/
|
13
13
|
end
|
14
14
|
|
15
|
-
command = msg.scan /\S+/
|
15
|
+
command = msg.scan /\S+/
|
16
16
|
|
17
17
|
until msg.eos?
|
18
18
|
msg.skip /\s+/
|
@@ -22,7 +22,7 @@ class IRC
|
|
22
22
|
params << msg.rest
|
23
23
|
msg.terminate
|
24
24
|
else
|
25
|
-
params << msg.scan(/\S+/
|
25
|
+
params << msg.scan(/\S+/)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: on_irc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-02-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|
16
|
-
requirement: &
|
16
|
+
requirement: &10598700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *10598700
|
25
25
|
description: An event driven IRC library with an easy to use DSL
|
26
26
|
email: scott@scott-olson.org
|
27
27
|
executables: []
|