shiftzilla 0.2.14 → 0.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shiftzilla/org_data.rb +2 -1
- data/lib/shiftzilla/team_data.rb +1 -0
- data/lib/shiftzilla/version.rb +1 -1
- data/template.haml +20 -15
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 478411588ec39cf81eac3cbcea041260bfa3e2c060973f73242254dc9beef0a5
|
4
|
+
data.tar.gz: b103663a493996b7c610a8c427e63642238e7e490cd75b54b191c4e71894205f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb5cec9466c15f1be82f54d4ebd4a226a91baa386a92a2962e1908e0f44d60721ec14c7a44b75dc14e6767c1a50e07fff1f9bd4477dfbac321ac13f784ef799f
|
7
|
+
data.tar.gz: 83c35a9a0afe3ecae6f8d99ff27214ee498b1b1c8dcf05a8f6e5f2ce0971955e7481285200792afa4650cbfd1b7cba5b121e39b079f1f2604ca453a9f83c2383
|
data/lib/shiftzilla/org_data.rb
CHANGED
data/lib/shiftzilla/team_data.rb
CHANGED
data/lib/shiftzilla/version.rb
CHANGED
data/template.haml
CHANGED
@@ -31,7 +31,7 @@
|
|
31
31
|
Shiftzilla
|
32
32
|
\|
|
33
33
|
%small
|
34
|
-
%span.text-muted=
|
34
|
+
%span.text-muted= tdisp
|
35
35
|
\|
|
36
36
|
%small
|
37
37
|
%span.text-muted= latest_snapshot
|
@@ -49,7 +49,7 @@
|
|
49
49
|
%li= "Group Lead: #{tinfo.group.lead}"
|
50
50
|
- if tinfo.components.length > 0
|
51
51
|
%li= "BZ Component(s): #{tinfo.components.join(', ')}"
|
52
|
-
%h5= "#{
|
52
|
+
%h5= "#{tdisp} Summary"
|
53
53
|
%table.table.table-hover.table-sm
|
54
54
|
%tr
|
55
55
|
%td Release
|
@@ -91,26 +91,29 @@
|
|
91
91
|
%td Closed Blockers Yesterday
|
92
92
|
- releases.each do |r|
|
93
93
|
%td.text-right= r[:snapdata].closed_tb
|
94
|
-
|
95
|
-
|
96
|
-
%
|
97
|
-
%td Team
|
98
|
-
- releases.each do |r|
|
99
|
-
%td.text-right= r[:release].name
|
100
|
-
- team_files.each do |tm|
|
94
|
+
- if tname == '_overall'
|
95
|
+
%h5 Totals By Team
|
96
|
+
%table.table.table-hover.table-sm
|
101
97
|
%tr
|
102
|
-
%td
|
103
|
-
- if tm[:tname] == tname
|
104
|
-
= tname
|
105
|
-
- else
|
106
|
-
%a{ :href => tm[:file] }= tm[:tname]
|
98
|
+
%td Team
|
107
99
|
- releases.each do |r|
|
108
|
-
%td.text-right=
|
100
|
+
%td.text-right= r[:release].name
|
101
|
+
- team_files.each do |tm|
|
102
|
+
%tr
|
103
|
+
%td
|
104
|
+
- if tm[:tname] == tdisp
|
105
|
+
= tdisp
|
106
|
+
- else
|
107
|
+
%a{ :href => tm[:file] }= tm[:tname]
|
108
|
+
- releases.each do |r|
|
109
|
+
%td.text-right= tm[:releases][r[:release].name]
|
109
110
|
.col-6
|
110
111
|
- releases.each do |r|
|
112
|
+
- next if tname != '_overall' and r[:release].name == 'All'
|
111
113
|
- next if r.nil? or r[:release].built_in? or r[:no_data] or not r.has_key?(:charts)
|
112
114
|
.badge.badge-secondary.text-left.w-100= r[:release].name
|
113
115
|
- [:burndown,:new_closed,:blockers].each do |chart|
|
116
|
+
- next if tname != '_overall' and chart != :burndown
|
114
117
|
.badge.badge-light.text-left.text-muted.w-100.pr-4= r[:charts][chart][:title]
|
115
118
|
%div{ :id => "chart_#{r[:release].token}_#{chart.to_s}", :class => 'card-body w-100', :style => 'height: 200px;' }
|
116
119
|
- if all_bugs.length > 0
|
@@ -179,8 +182,10 @@
|
|
179
182
|
- if all_bugs.length > 0
|
180
183
|
$('#team-bugs-all').DataTable({ 'paging': false, 'order': [[0,'desc'],[1,'desc'],[2,'desc']] });
|
181
184
|
- releases.each do |r|
|
185
|
+
- next if tname != '_overall' and r[:release].name == 'All'
|
182
186
|
- next if r.nil? or r[:release].built_in? or r[:no_data] or not r.has_key?(:charts)
|
183
187
|
- [:burndown,:new_closed,:blockers].each do |chart|
|
188
|
+
- next if tname != '_overall' and chart != :burndown
|
184
189
|
= "var cdata_#{r[:release].token}_#{chart.to_s} = JSON.parse('#{r[:charts][chart][:data]}');"
|
185
190
|
= "var copts_#{r[:release].token}_#{chart.to_s} = JSON.parse('#{r[:charts][chart][:options]}');"
|
186
191
|
= "$.plot($(\"#chart_#{r[:release].token}_#{chart.to_s}\"), cdata_#{r[:release].token}_#{chart.to_s}, copts_#{r[:release].token}_#{chart.to_s});"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shiftzilla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N. Harrison Ripps
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|