pyrat-integrity-basecamp 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/notifier/basecamp-api.rb +1 -1
- data/lib/notifier/basecamp.rb +2 -2
- metadata +1 -1
@@ -23,7 +23,7 @@ end
|
|
23
23
|
#
|
24
24
|
# session = Basecamp.new('your.basecamp.com', 'username', 'password')
|
25
25
|
# puts "projects: #{session.projects.length}"
|
26
|
-
class
|
26
|
+
class BasecampApi
|
27
27
|
|
28
28
|
# A wrapper to encapsulate the data returned by Basecamp, for easier access.
|
29
29
|
class Record #:nodoc:
|
data/lib/notifier/basecamp.rb
CHANGED
@@ -13,7 +13,7 @@ module Integrity
|
|
13
13
|
|
14
14
|
|
15
15
|
def deliver!
|
16
|
-
basecamp =
|
16
|
+
basecamp = BasecampApi.new(config['domain'], config['user'], config['pass'], true)
|
17
17
|
message = {:title => short_message,
|
18
18
|
:body => full_message,
|
19
19
|
:category_id => config['category_id']}
|
@@ -30,7 +30,7 @@ module Integrity
|
|
30
30
|
<<-EOM
|
31
31
|
Commit Message: #{build.commit_message}
|
32
32
|
Commit Date: #{build.commited_at}
|
33
|
-
Commit Author: #{build.commit_author
|
33
|
+
Commit Author: #{build.commit_author}
|
34
34
|
|
35
35
|
#{stripped_build_output}
|
36
36
|
EOM
|