opsask 2.3.9 → 2.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/opsask/helpers.rb +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8b0a90608f391492c15d7142ce657bd5a6d95d8
|
4
|
+
data.tar.gz: b970351e4bccfa999dc4c4e36b1a957d9ba6c495
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04d7d09428d639a8355d3f2753f0a6e8ad5d59b32dc4ffd0961ce5f827f9c40fc647211edb756e95909ed27391a0200b9114f252c039a17c0d31fb9e93431993
|
7
|
+
data.tar.gz: 9ad121d938b6d75be9fa1a6b160d0e90830517f06a6578a227fe3e6bf5f8960b4b2819930ac49c2f50db7b187f3574907612915ce5a4281969863947dc88c672
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.10
|
data/lib/opsask/helpers.rb
CHANGED
@@ -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
|