net-irc2 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9c880ae74f804231de27b0eaf078a065d747a01
4
- data.tar.gz: cc36017322c81c800aa781fa79b86f580e886dd5
3
+ metadata.gz: 2dba4f475e8ea64e2f9b55f661e7ba3dee2ad276
4
+ data.tar.gz: e5e39f83a4961268f60e4e94618fe9f9da2dad2a
5
5
  SHA512:
6
- metadata.gz: 2ed071dec01dd0c75233a35cd2e9503f8d60b684c83aa1d65f84514c61a198cdbe3a630028b0464575c5842379f786e0bbd8d406badddda96b0dff482000e5b8
7
- data.tar.gz: ad1d07c194ae0f7ec729fdd66b95308d65018f7f3dbcb6e65dccf36c8d57eba26412187ec402940943c44a5227daac82600190c3151f92df01d3ab17079b65d4
6
+ metadata.gz: 822fba21905884751f0b162a12c9b0ac851629f7003948e6c5ed2ed8b889ec03e3c055f17308d300adda649e764ff9f84563cefc9822ef405ce25f756b689baf
7
+ data.tar.gz: 316b9cf007d4703dcd1054debee436da4921a4143398e3e6cac3c08eae649862b74bd4261a6412e8276753852dadab6672c42a22443f3720751d2dd41ac3c45e
@@ -16,7 +16,7 @@ class EchoBot < Net::IRC::Client
16
16
  def initialize(addr,port,opt)
17
17
  opt[:tcp_socket] = Celluloid::IO::TCPSocket
18
18
  super
19
- start
19
+ start.async
20
20
  end
21
21
 
22
22
  def on_rpl_welcome(m)
data/lib/net/irc.rb CHANGED
@@ -10,7 +10,7 @@ require "buftok"
10
10
  module Net; end
11
11
 
12
12
  module Net::IRC
13
- VERSION = "0.0.13".freeze
13
+ VERSION = "0.0.14".freeze
14
14
  class IRCException < StandardError; end
15
15
 
16
16
  require "net/irc/constants"
@@ -103,7 +103,7 @@ class Net::IRC::Client
103
103
  def post(command, *params)
104
104
  m = Message.new(nil, command, params.map {|s|
105
105
  if s
106
- s.force_encoding("ASCII-8BIT") if s.respond_to? :force_encoding
106
+ #s.force_encoding("ASCII-8BIT") if s.respond_to? :force_encoding
107
107
  #s.gsub(/\r\n|[\r\n]/, " ")
108
108
  s.tr("\r\n", " ")
109
109
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-irc2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Łabanowski