agig 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/agig/client.rb +4 -2
- data/lib/agig/optparse.rb +1 -1
- data/lib/agig/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d852c2f15236481b7cfdc76d4cff9a0b09d16145
|
4
|
+
data.tar.gz: 234d1ead6cfe0af17df477081ce071dc9e55a367
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aa00bc8c3361a3e9ef4c7ff9e7457c483bb011269898e4da10c3f1a12bea91bad95fd2172549699ef3464d70ca9b3728077975ea87da59aa4ca16e35fe8af39
|
7
|
+
data.tar.gz: 77f79e37e57b0536c700bb20e622628a0e0e0755899899604045f8f1847906b5dbaafde799c25b1448c1c8190cb79233f8e9ee957f54133f046288fde9990378
|
data/lib/agig/client.rb
CHANGED
@@ -5,8 +5,10 @@ module Agig::Client
|
|
5
5
|
def self.run
|
6
6
|
opts = Agig::OptParser.parse!(ARGV)
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
if opts[:log]
|
9
|
+
opts[:logger] = Logger.new(opts[:log], "daily")
|
10
|
+
opts[:logger].level = opts[:debug] ? Logger::DEBUG : Logger::INFO
|
11
|
+
end
|
10
12
|
|
11
13
|
Net::IRC::Server.new(opts[:host], opts[:port], Agig::Session, opts).start
|
12
14
|
end
|
data/lib/agig/optparse.rb
CHANGED
data/lib/agig/version.rb
CHANGED