bitbckt-botbckt 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/botbckt/commands/ticker.rb +4 -1
- data/lib/botbckt/commands.rb +2 -2
- data/lib/botbckt/irc.rb +1 -2
- metadata +3 -3
data/VERSION.yml
CHANGED
data/lib/botbckt/commands.rb
CHANGED
@@ -23,11 +23,11 @@ module Botbckt #:nodoc:
|
|
23
23
|
# msg<String>:: A message to send to the channel
|
24
24
|
#
|
25
25
|
def say(msg)
|
26
|
-
Botbckt::Bot.say msg
|
26
|
+
Botbckt::Bot.say(msg) if msg
|
27
27
|
end
|
28
28
|
|
29
29
|
end
|
30
30
|
|
31
31
|
end
|
32
32
|
|
33
|
-
Dir[File.dirname(__FILE__) + '/commands/*'].each { |lib| require lib }
|
33
|
+
Dir[File.dirname(__FILE__) + '/commands/*'].each { |lib| require lib }
|
data/lib/botbckt/irc.rb
CHANGED
@@ -30,8 +30,7 @@ module Botbckt #:nodoc:
|
|
30
30
|
def initialize(options) #:nodoc:
|
31
31
|
self.config = OpenStruct.new(options)
|
32
32
|
|
33
|
-
|
34
|
-
@logger = ActiveSupport::BufferedLogger.new(log)
|
33
|
+
@logger = ActiveSupport::BufferedLogger.new(self.config.log || 'botbckt.log')
|
35
34
|
end
|
36
35
|
|
37
36
|
# ==== Parameters
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bitbckt-botbckt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mitchell
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-27 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -59,7 +59,7 @@ requirements: []
|
|
59
59
|
rubyforge_project:
|
60
60
|
rubygems_version: 1.2.0
|
61
61
|
signing_key:
|
62
|
-
specification_version:
|
62
|
+
specification_version: 3
|
63
63
|
summary: Boredom strikes on Sunday mornings.
|
64
64
|
test_files: []
|
65
65
|
|