commit_hookr 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/templates/codebase.rb +3 -1
- metadata +2 -2
data/lib/templates/codebase.rb
CHANGED
@@ -20,7 +20,9 @@ CommitHookr.call do
|
|
20
20
|
api_key = `git config codebase.apikey`.strip
|
21
21
|
domain = `git config codebase.domain`.strip
|
22
22
|
|
23
|
-
tickets = Tickets.new(:user => user, :api_key => api_key, :domain => domain,
|
23
|
+
tickets = Tickets.new( :user => user, :api_key => api_key, :domain => domain,
|
24
|
+
:project => CODEBASE_PROJECT ).all("assignee:#{user} sort:id order:asc")["tickets"]
|
25
|
+
|
24
26
|
puts "---"
|
25
27
|
tickets.each do |ticket|
|
26
28
|
puts "#{ticket["ticket_id"]}: #{ticket["summary"]}"
|