pyrat-integrity-basecamp 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +1 -0
- data/lib/notifier/basecamp.rb +4 -4
- metadata +4 -3
data/README.textile
CHANGED
@@ -16,6 +16,7 @@ pyrat-integrity-basecamp` and then in your Rackup (ie, `config.ru`) file:
|
|
16
16
|
|
17
17
|
require "rubygems"
|
18
18
|
require "notifier/basecamp"
|
19
|
+
Integrity::Notifier.register(Integrity::Notifier::Basecamp)
|
19
20
|
|
20
21
|
Now you can set up your projects to alert Basecamp after
|
21
22
|
each build (just edit the project and the config options should be
|
data/lib/notifier/basecamp.rb
CHANGED
@@ -23,16 +23,16 @@ module Integrity
|
|
23
23
|
private
|
24
24
|
|
25
25
|
def short_message
|
26
|
-
"Build #{build.
|
26
|
+
"Build #{build.short_identifier} of #{build.project.name} (#{build.author.name}) #{build.successful? ? "was successful" : "failed"}"
|
27
27
|
end
|
28
28
|
|
29
29
|
def full_message
|
30
30
|
<<-EOM
|
31
|
-
Commit Message: #{build.
|
31
|
+
Commit Message: #{build.message}
|
32
32
|
Commit Date: #{build.commited_at}
|
33
|
-
Commit Author: #{build.
|
33
|
+
Commit Author: #{build.author.name}
|
34
34
|
|
35
|
-
#{
|
35
|
+
#{build.output}
|
36
36
|
EOM
|
37
37
|
end
|
38
38
|
|
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.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alastair Brunton
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-12 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -47,6 +47,7 @@ files:
|
|
47
47
|
- lib/notifier/basecamp-api.rb
|
48
48
|
has_rdoc: false
|
49
49
|
homepage: http://integrityapp.com
|
50
|
+
licenses:
|
50
51
|
post_install_message:
|
51
52
|
rdoc_options: []
|
52
53
|
|
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
68
|
requirements: []
|
68
69
|
|
69
70
|
rubyforge_project:
|
70
|
-
rubygems_version: 1.
|
71
|
+
rubygems_version: 1.3.5
|
71
72
|
signing_key:
|
72
73
|
specification_version: 2
|
73
74
|
summary: Basecamp notifier for the Integrity continuous integration server.
|