irc-socket 0.9.1 → 0.9.2

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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/irc-socket.rb +2 -4
  3. metadata +4 -4
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require "spec/rake/spectask"
5
5
  require "rake/rdoctask"
6
6
 
7
7
  NAME = 'irc-socket'
8
- VERSION = '0.9.1'
8
+ VERSION = '0.9.2'
9
9
  CLEAN.include ["*.gem", "rdoc"]
10
10
 
11
11
  RDOC_OPTS = [
data/lib/irc-socket.rb CHANGED
@@ -3,9 +3,7 @@ require 'socket'
3
3
  # == Author
4
4
  # * Lee Jarvis - ljjarvis@gmail.com
5
5
  #
6
- #
7
6
  # == Description
8
- #
9
7
  # IRCSocket is an IRC wrapper around a TCPSocket. It implements all of the major
10
8
  # commands laid out in {RFC 2812}[http://irchelp.org/irchelp/rfc/rfc2812.txt].
11
9
  # All these commands are available as instance methods of an IRCSocket Object.
@@ -63,6 +61,7 @@ class IRCSocket
63
61
 
64
62
  # Create a new IRCSocket to connect to +server+ on +port+. Defaults to port 6667.
65
63
  # If an optional code block is given, it will be passed an instance of the IRCSocket.
64
+ #
66
65
  # NOTE: Using the block form does not mean the socket will send the applicable QUIT
67
66
  # command to leave the IRC server. You must send this yourself.
68
67
  def initialize(server, port=6667)
@@ -120,6 +119,7 @@ class IRCSocket
120
119
  def raw(*args) # :nodoc:
121
120
  args.last.insert(0, ':') unless args.last.nil?
122
121
  args.join(' ').strip
122
+ write args
123
123
  end
124
124
 
125
125
  # More sugar
@@ -284,7 +284,5 @@ class IRCSocket
284
284
  def close
285
285
  @socket.close if connected?
286
286
  end
287
-
288
287
  end
289
288
 
290
-
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 1
9
- version: 0.9.1
8
+ - 2
9
+ version: 0.9.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Lee 'injekt' Jarvis
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-22 00:00:00 +01:00
17
+ date: 2010-04-26 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -45,7 +45,7 @@ files:
45
45
  - spec/irc-socket_spec.rb
46
46
  - lib/irc-socket.rb
47
47
  has_rdoc: true
48
- homepage: http://wiki.github.com/injekt/irc-socket
48
+ homepage: http://rdoc.injekt.net/irc-socket
49
49
  licenses: []
50
50
 
51
51
  post_install_message: