carrier-pigeon 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.org +9 -1
- data/carrier-pigeon.gemspec +1 -1
- data/lib/carrier-pigeon.rb +1 -1
- metadata +4 -4
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
|
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
|
+
: )
|
data/carrier-pigeon.gemspec
CHANGED
data/lib/carrier-pigeon.rb
CHANGED
@@ -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:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 3
|
9
9
|
- 0
|
10
|
-
version: 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-
|
18
|
+
date: 2011-11-09 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|