opsask 2.3.9 → 2.3.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/opsask/helpers.rb +7 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66b2d7d52742349bbb006880e8f19526a6805c24
4
- data.tar.gz: 113d88d98edcc7f1eeaa1f152a9b03af7671110a
3
+ metadata.gz: f8b0a90608f391492c15d7142ce657bd5a6d95d8
4
+ data.tar.gz: b970351e4bccfa999dc4c4e36b1a957d9ba6c495
5
5
  SHA512:
6
- metadata.gz: 310e4d32c626986366f389818b8022c2ace0484e2f2ff9432c1071c58d083dabbba89765a2dfe1f71ec39096d227860a23567d74beff3528099e90af658e52d7
7
- data.tar.gz: 9535abf09bc6999f41ab3907ec202470d0285d3bf2b148a24e9b84b32881abd623bdfa49312d4bfc71f7095ca1d55a7184164f4bb10b3573694bcceed735b7c1
6
+ metadata.gz: 04d7d09428d639a8355d3f2753f0a6e8ad5d59b32dc4ffd0961ce5f827f9c40fc647211edb756e95909ed27391a0200b9114f252c039a17c0d31fb9e93431993
7
+ data.tar.gz: 9ad121d938b6d75be9fa1a6b160d0e90830517f06a6578a227fe3e6bf5f8960b4b2819930ac49c2f50db7b187f3574907612915ce5a4281969863947dc88c672
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.9
1
+ 2.3.10
@@ -275,7 +275,13 @@ module OpsAsk
275
275
  def jira_count_for_tomorrow really=false ; jira_count_for(tomorrow, really) end
276
276
 
277
277
  def raw_classes_for jira
278
- [ jira.fields['resolution'].nil? ? 'open' : 'closed' ]
278
+ classes = [ jira.fields['resolution'].nil? ? 'open' : 'closed' ]
279
+ if assignee = jira.fields['assignee']
280
+ if name = assignee['name']
281
+ classes << name.downcase.gsub(/\W+/, '')
282
+ end
283
+ end
284
+ return classes
279
285
  end
280
286
 
281
287
  def classes_for jira
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opsask
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.9
4
+ version: 2.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer