carrier-pigeon 0.2.0 → 0.3.0

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.
data/README.org CHANGED
@@ -17,5 +17,13 @@
17
17
  : # SSL
18
18
  : CarrierPigeon.send(:uri => "irc://nick:password@irc.domain.com:6667/#channel", :message => "coo, secret plan", :ssl => true)
19
19
  :
20
- : # Join the channel (required for most Freenode channels)
20
+ : # Join a channel (required for most Freenode channels)
21
21
  : CarrierPigeon.send(:uri => "irc://nick:password@irc.domain.com:6667/#channel", :message => "cooooo, coo coo", :join => true)
22
+ :
23
+ : # Join a channel that requires a password
24
+ : CarrierPigeon.send(
25
+ : :uri => "irc://nick:password@irc.domain.com:6667/#channel",
26
+ : :channel_password => "password",
27
+ : :message => "cooooo, coo coo",
28
+ : :join => true
29
+ : )
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "carrier-pigeon"
3
- s.version = "0.2.0"
3
+ s.version = "0.3.0"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ["Sean Porter"]
6
6
  s.email = ["portertech@gmail.com"]
@@ -22,7 +22,7 @@ class CarrierPigeon
22
22
  sendln "PASS #{options[:password]}" if options[:password]
23
23
  sendln "NICK #{options[:nick]}"
24
24
  sendln "USER #{options[:nick]} 0 * :#{options[:nick]}"
25
- sendln "JOIN #{options[:channel]}" if options[:join]
25
+ sendln "JOIN #{options[:channel]} #{options[:channel_password]}" if options[:join]
26
26
  end
27
27
 
28
28
  def message(channel, message)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrier-pigeon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sean Porter
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-04 00:00:00 -07:00
18
+ date: 2011-11-09 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency