Skip to content
This repository was archived by the owner on Nov 29, 2017. It is now read-only.

Commit 8615b69

Browse files
committed
Rubyforge hook was using old commits api
1 parent b3bbcbb commit 8615b69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎services/rubyforge.rb‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
service :rubyforge do |data, payload|
22
repository = payload['repository']['name']
33
branch = payload['ref'].split('/').last
4-
payload['commits'].each do |id, commit|
4+
payload['commits'].each do |commit|
5+
id = commit['id']
56
rf = RubyForge.new(data['username'], data['password'])
67
group_id = data['groupid']
78
subject = "Commit Notification (#{repository}/#{branch}): #{id}"

0 commit comments

Comments
 (0)