From 88542b09cae4dee7c305f87059b883c7e7d27437 Mon Sep 17 00:00:00 2001 From: Alastair Brunton Date: Thu, 22 Jan 2009 17:26:43 +0100 Subject: [PATCH] small change and version bump --- integrity-basecamp.gemspec | 2 +- lib/notifier/basecamp.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integrity-basecamp.gemspec b/integrity-basecamp.gemspec index c31e40e..b3987e1 100644 --- a/integrity-basecamp.gemspec +++ b/integrity-basecamp.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'integrity-basecamp' - s.version = '0.2.3' + s.version = '0.2.4' s.date = '2009-01-22' s.summary = 'Basecamp notifier for the Integrity continuous integration server' s.description = 'Easily let Integrity alert Basecamp after each build' diff --git a/lib/notifier/basecamp.rb b/lib/notifier/basecamp.rb index 17af5af..fdc856f 100644 --- a/lib/notifier/basecamp.rb +++ b/lib/notifier/basecamp.rb @@ -13,11 +13,11 @@ def self.to_haml def deliver! - @basecamp = Basecamp.new(config['domain'], options['user'], options['pass'], true) + basecamp = Basecamp.new(config['domain'], options['user'], options['pass'], true) message = {:title => short_message, :body => full_message, :category_id => config['category_id']} - @basecamp.post_message(config['project_id'], message) + basecamp.post_message(config['project_id'], message) end private