README.org in carrier-pigeon-0.4.0 vs README.org in carrier-pigeon-0.5.0

- old
+ new

@@ -1,29 +1,43 @@ -* Requirements - -- Ruby (MRI) -- RubyGems - * Install : gem install carrier-pigeon * Usage : require 'carrier-pigeon' : : # In the open -: CarrierPigeon.send(:uri => "irc://nick:password@irc.domain.com:6667/#channel", :message => "cooooo, coo coo") +: CarrierPigeon.send( +: :uri => "irc://nick:password@irc.domain.com:6667/#channel", +: :message => "cooooo, coo coo" +: ) : : # SSL -: CarrierPigeon.send(:uri => "irc://nick:password@irc.domain.com:6667/#channel", :message => "coo, secret plan", :ssl => true) +: CarrierPigeon.send( +: :uri => "irc://nick:password@irc.domain.com:6667/#channel", +: :message => "coo, secret plan", +: :ssl => true +: ) : : # Join a channel (required for most Freenode channels) -: CarrierPigeon.send(:uri => "irc://nick:password@irc.domain.com:6667/#channel", :message => "cooooo, coo coo", :join => true) +: CarrierPigeon.send( +: :uri => "irc://nick:password@irc.domain.com:6667/#channel", +: :message => "cooooo, part of the flock", +: :join => true +: ) : : # Join a channel that requires a password : CarrierPigeon.send( : :uri => "irc://nick:password@irc.domain.com:6667/#channel", -: :channel_password => "password", +: :message => "coo, the password is ..." +: :channel_password => "secret", +: :join => true +: ) +: +: # Register (ping reply) prior to joining or messaging a channel (required for some private servers) +: CarrierPigeon.send( +: :uri => "irc://nick:password@irc.domain.com:6667/#channel", : :message => "cooooo, coo coo", +: :register_first => true, : :join => true : )