<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -0,0 +1,20 @@
+Copyright (c) 2008 unwwwired.net
+ 
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+&quot;Software&quot;), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+ 
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+ 
+THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</diff>
      <filename>MIT-LICENSE</filename>
    </modified>
    <modified>
      <diff>@@ -0,0 +1,22 @@
+# net-irc
+
+A ruby implementation of the IRC client protocol.
+
+## Installation
+
+Run the following if you haven't already:
+
+    $ gem sources -a http://gems.github.com
+  
+Install the gem(s):
+
+    $ sudo gem install -r sbfaulkner-net-irc
+
+## Example
+
+See the examples folder for how to use.
+
+## Legal
+
+**Author:** S. Brent Faulkner &lt;brentf@unwwwired.net&gt;  
+**License:** Copyright &amp;copy; 2008 unwwwired.net, released under the MIT license</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -4,98 +4,6 @@ $:.push(File.join(File.dirname(__FILE__),'../lib'))
 
 require 'net/irc'
 
-# require &quot;socket&quot;
-# 
-# # Don't allow use of &quot;tainted&quot; data by potentially dangerous operations
-# $SAFE=1
-# 
-# # The irc class, which talks to the server and holds the main event loop
-# class IRC
-#     def initialize(server, port, nick, channel)
-#         @server = server
-#         @port = port
-#         @nick = nick
-#         @channel = channel
-#     end
-#     def send(s)
-#         # Send a message to the irc server and print it to the screen
-#         puts &quot;--&gt; #{s}&quot;
-#         @irc.send &quot;#{s}\n&quot;, 0 
-#     end
-#     def connect()
-#         # Connect to the IRC server
-#         @irc = TCPSocket.open(@server, @port)
-#         send &quot;USER blah blah blah :blah blah&quot;
-#         send &quot;NICK #{@nick}&quot;
-#         send &quot;JOIN #{@channel}&quot;
-#     end
-#     def evaluate(s)
-#         # Make sure we have a valid expression (for security reasons), and
-#         # evaluate it if we do, otherwise return an error message
-#         if s =~ /^[-+*\/\d\s\eE.()]*$/ then
-#             begin
-#                 s.untaint
-#                 return eval(s).to_s
-#             rescue Exception =&gt; detail
-#                 puts detail.message()
-#             end
-#         end
-#         return &quot;Error&quot;
-#     end
-#     def handle_server_input(s)
-#         # This isn't at all efficient, but it shows what we can do with Ruby
-#         # (Dave Thomas calls this construct &quot;a multiway if on steroids&quot;)
-#         case s.strip
-#             when /^PING :(.+)$/i
-#                 puts &quot;[ Server ping ]&quot;
-#                 send &quot;PONG :#{$1}&quot;
-#             when /^:(.+?)!(.+?)@(.+?)\sPRIVMSG\s.+\s:[\001]PING (.+)[\001]$/i
-#                 puts &quot;[ CTCP PING from #{$1}!#{$2}@#{$3} ]&quot;
-#                 send &quot;NOTICE #{$1} :\001PING #{$4}\001&quot;
-#             when /^:(.+?)!(.+?)@(.+?)\sPRIVMSG\s.+\s:[\001]VERSION[\001]$/i
-#                 puts &quot;[ CTCP VERSION from #{$1}!#{$2}@#{$3} ]&quot;
-#                 send &quot;NOTICE #{$1} :\001VERSION Ruby-irc v0.042\001&quot;
-#             when /^:(.+?)!(.+?)@(.+?)\sPRIVMSG\s(.+)\s:EVAL (.+)$/i
-#                 puts &quot;[ EVAL #{$5} from #{$1}!#{$2}@#{$3} ]&quot;
-#                 send &quot;PRIVMSG #{(($4==@nick)?$1:$4)} :#{evaluate($5)}&quot;
-#             else
-#                 puts s
-#         end
-#     end
-#     def main_loop()
-#         # Just keep on truckin' until we disconnect
-#         while true
-#             ready = select([@irc, $stdin], nil, nil, nil)
-#             next if !ready
-#             for s in ready[0]
-#                 if s == $stdin then
-#                     return if $stdin.eof
-#                     s = $stdin.gets
-#                     send s
-#                 elsif s == @irc then
-#                     return if @irc.eof
-#                     s = @irc.gets
-#                     handle_server_input(s)
-#                 end
-#             end
-#         end
-#     end
-# end
-# 
-# # The main program
-# # If we get an exception, then print it out and keep going (we do NOT want
-# # to disconnect unexpectedly!)
-# irc = IRC.new('efnet.skynet.be', 6667, 'Alt-255', '#cout')
-# irc.connect()
-# begin
-#     irc.main_loop()
-# rescue Interrupt
-# rescue Exception =&gt; detail
-#     puts detail.message()
-#     print detail.backtrace.join(&quot;\n&quot;)
-#     retry
-# end
-
 module Ansi
   RESET = 0
   BOLD = 1</diff>
      <filename>examples/simple-client.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ae8e7ee25491939844edb1c1f7088e02bfe431dc</id>
    </parent>
  </parents>
  <author>
    <name>S. Brent Faulkner</name>
    <email>brentf@unwwwired.net</email>
  </author>
  <url>http://github.com/sbfaulkner/net-irc/commit/2563f2802e3ce04ca49ec7c9b789464f966b3512</url>
  <id>2563f2802e3ce04ca49ec7c9b789464f966b3512</id>
  <committed-date>2008-08-22T18:00:55-07:00</committed-date>
  <authored-date>2008-08-22T18:00:55-07:00</authored-date>
  <message>add license, readme and example</message>
  <tree>98cfeaa3d5bc18f8cef2d530b4caf8d74c8fd6a9</tree>
  <committer>
    <name>S. Brent Faulkner</name>
    <email>brentf@unwwwired.net</email>
  </committer>
</commit>
