on_irc 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/on_irc/server.rb +2 -1
  3. metadata +5 -5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.4
1
+ 2.1.5
@@ -15,7 +15,8 @@ class IRC
15
15
  args.compact!
16
16
  # prepend last arg with : only if it exists. it's really ugly
17
17
  args[-1] = ":#{args[-1]}" if args[-1]
18
- connection.send_data(cmd.to_s.upcase + ' ' + args.join(' ') + "\r\n")
18
+ args = args.join(' ').delete("\r\n")
19
+ connection.send_data("#{cmd.to_s.upcase} #{args}\r\n")
19
20
  end
20
21
 
21
22
  # basic IRC commands
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
4
+ version: 2.1.5
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: 2012-02-09 00:00:00.000000000 Z
12
+ date: 2012-03-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
16
- requirement: &10598700 !ruby/object:Gem::Requirement
16
+ requirement: &8692420 !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: *10598700
24
+ version_requirements: *8692420
25
25
  description: An event driven IRC library with an easy to use DSL
26
26
  email: scott@scott-olson.org
27
27
  executables: []
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 1.8.11
66
+ rubygems_version: 1.8.17
67
67
  signing_key:
68
68
  specification_version: 3
69
69
  summary: An event driven IRC library with an easy to use DSL