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 CHANGED
@@ -1 +1 @@
1
- 2.1.3
1
+ 2.1.4
@@ -15,7 +15,7 @@ class IRC
15
15
  end
16
16
 
17
17
  def receive_line(line)
18
- @server.receive_line(RUBY_VERSION < "1.9" ? line : line.force_encoding('utf-8'))
18
+ @server.receive_line(line)
19
19
  end
20
20
 
21
21
  def unbind
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+/u
11
+ prefix = msg.scan /\S+/
12
12
  msg.skip /\s+/
13
13
  end
14
14
 
15
- command = msg.scan /\S+/u
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+/u)
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.3
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: 2011-12-11 00:00:00.000000000 Z
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: &14911800 !ruby/object:Gem::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: *14911800
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: []