Permalink
Browse files

use teh new shout-bot. no tests - they seem out of sync w/ master int…

…egrity anyways.
  • Loading branch information...
1 parent 2ab5c3b commit 12bc4a70e4fe2a48b6a665350ef4fc2a3b0bb8a1 @vangberg vangberg committed Mar 3, 2009
Showing with 5 additions and 5 deletions.
  1. +3 −3 integrity-irc.gemspec
  2. +2 −2 lib/notifier/irc.rb
View
6 integrity-irc.gemspec
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = 'integrity-irc'
- s.version = '0.0.2'
- s.date = '2008-11-20'
+ s.version = '0.0.3'
+ s.date = '2009-03-03'
s.summary = 'IRC notifier for the Integrity continuous integration server'
s.summary = 'IRC notifier for the Integrity continuous integration server'
s.homepage = 'http://integrityapp.com'
@@ -11,5 +11,5 @@ Gem::Specification.new do |s|
s.files = %w[README.markdown lib/notifier/config.haml lib/notifier/irc.rb]
s.test_files = %w[spec/irc_spec.rb]
s.add_dependency 'foca-integrity'
- s.add_dependency 'sr-shout-bot'
+ s.add_dependency 'ichverstehe-shout-bot'
end
View
4 lib/notifier/irc.rb
@@ -11,7 +11,7 @@ def self.to_haml
<<-HAML
%p.normal
%label{ :for => 'irc_notifier_uri' } Send to
- %input.text#irc_notifier_uri{ :name => 'notifiers[IRC][uri]', :type => 'text', :value => config['uri'] || 'irc://irc.freenode.net:6667/test' }
+ %input.text#irc_notifier_uri{ :name => 'notifiers[IRC][uri]', :type => 'text', :value => config['uri'] || 'irc://IntegrityBot@irc.freenode.net:6667/#test' }
HAML
end
@@ -21,7 +21,7 @@ def initialize(build, config={})
end
def deliver!
- ShoutBot.shout(uri, :as => "IntegrityBot") do |channel|
+ ShoutBot.shout(uri) do |channel|
channel.say "#{build.project.name}: #{short_message}"
channel.say build_url
end

0 comments on commit 12bc4a7

Please sign in to comment.