pyrat-integrity-basecamp 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 Basecamp
26
+ class BasecampApi
27
27
 
28
28
  # A wrapper to encapsulate the data returned by Basecamp, for easier access.
29
29
  class Record #:nodoc:
@@ -13,7 +13,7 @@ module Integrity
13
13
 
14
14
 
15
15
  def deliver!
16
- basecamp = Basecamp.new(config['domain'], config['user'], config['pass'], true)
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.name}
33
+ Commit Author: #{build.commit_author}
34
34
 
35
35
  #{stripped_build_output}
36
36
  EOM
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pyrat-integrity-basecamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alastair Brunton