commit_hookr 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. data/lib/templates/codebase.rb +3 -1
  2. metadata +2 -2
@@ -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, :project => CODEBASE_PROJECT).all["tickets"]
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"]}"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Bumann