jirametrics 2.9 → 2.9.1pre1
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.
- checksums.yaml +4 -4
- data/lib/jirametrics/chart_base.rb +15 -0
- data/lib/jirametrics/data_quality_report.rb +1 -1
- data/lib/jirametrics/html/aging_work_bar_chart.erb +1 -10
- data/lib/jirametrics/html/cycletime_scatterplot.erb +1 -10
- data/lib/jirametrics/html/daily_wip_chart.erb +1 -10
- data/lib/jirametrics/html/expedited_chart.erb +1 -10
- data/lib/jirametrics/html/sprint_burndown.erb +1 -10
- data/lib/jirametrics/html/throughput_chart.erb +1 -10
- data/lib/jirametrics/project_config.rb +1 -1
- 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: c87abf98bf68d70050c43537ea6cc58e07afdd780d472b8b6f31e40467739300
|
4
|
+
data.tar.gz: cc9933a325414413446cf5e43231432869e8e2c114f8d76c4ec51e1e0bcd6b3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea7f38ef5c9ce0fc3102aec0a6b03b37c5b49fb4518cc800d71520f991bc06ee5e62981e130529d8b9ab4e0737c40930474313499fcf33de9acc52584b42769f
|
7
|
+
data.tar.gz: 85050e6890af3a3f49d710da97330b54e5b0b719b09871be938bd74ced7d95bc5cfaa5dc9ee7bcef31dae48e767a2ff5c4b36ca8500c1ae14d8d687a70500407
|
@@ -130,6 +130,21 @@ class ChartBase
|
|
130
130
|
result
|
131
131
|
end
|
132
132
|
|
133
|
+
def working_days_annotation
|
134
|
+
holidays.each_with_index.collect do |range, index|
|
135
|
+
<<~TEXT
|
136
|
+
holiday#{index}: {
|
137
|
+
drawTime: 'beforeDraw',
|
138
|
+
type: 'box',
|
139
|
+
xMin: '#{range.begin}T00:00:00',
|
140
|
+
xMax: '#{range.end}T23:59:59',
|
141
|
+
backgroundColor: #{CssVariable.new('--non-working-days-color').to_json},
|
142
|
+
borderColor: #{CssVariable.new('--non-working-days-color').to_json}
|
143
|
+
},
|
144
|
+
TEXT
|
145
|
+
end.join
|
146
|
+
end
|
147
|
+
|
133
148
|
# Return only the board columns for the current board.
|
134
149
|
def current_board
|
135
150
|
if @board_id.nil?
|
@@ -272,7 +272,7 @@ class DataQualityReport < ChartBase
|
|
272
272
|
|
273
273
|
entry.report(
|
274
274
|
problem_key: :items_blocked_on_closed_tickets,
|
275
|
-
detail: "#{entry.issue.key} thinks it's blocked
|
275
|
+
detail: "#{entry.issue.key} thinks it's blocked by #{link.other_issue.key}, " \
|
276
276
|
"except #{link.other_issue.key} is closed."
|
277
277
|
)
|
278
278
|
end
|
@@ -38,16 +38,7 @@ new Chart(document.getElementById('<%= chart_id %>').getContext('2d'),
|
|
38
38
|
plugins: {
|
39
39
|
annotation: {
|
40
40
|
annotations: {
|
41
|
-
|
42
|
-
holiday<%= index %>: {
|
43
|
-
drawTime: 'beforeDraw',
|
44
|
-
type: 'box',
|
45
|
-
xMin: '<%= range.begin %>T00:00:00',
|
46
|
-
xMax: '<%= range.end %>T23:59:59',
|
47
|
-
backgroundColor: <%= CssVariable.new('--non-working-days-color').to_json %>,
|
48
|
-
borderColor: <%= CssVariable.new('--non-working-days-color').to_json %>
|
49
|
-
},
|
50
|
-
<% end %>
|
41
|
+
<%= working_days_annotation %>
|
51
42
|
|
52
43
|
<% if percentage_line_x %>
|
53
44
|
line: {
|
@@ -53,16 +53,7 @@ new Chart(document.getElementById('<%= chart_id %>').getContext('2d'), {
|
|
53
53
|
autocolors: false,
|
54
54
|
annotation: {
|
55
55
|
annotations: {
|
56
|
-
|
57
|
-
holiday<%= index %>: {
|
58
|
-
drawTime: 'beforeDraw',
|
59
|
-
type: 'box',
|
60
|
-
xMin: '<%= range.begin %>T00:00:00',
|
61
|
-
xMax: '<%= range.end %>T23:59:59',
|
62
|
-
backgroundColor: <%= CssVariable.new('--non-working-days-color').to_json %>,
|
63
|
-
borderColor: <%= CssVariable.new('--non-working-days-color').to_json %>
|
64
|
-
},
|
65
|
-
<% end %>
|
56
|
+
<%= working_days_annotation %>
|
66
57
|
|
67
58
|
<% @percentage_lines.each_with_index do |args, index| %>
|
68
59
|
<% percent, color = args %>
|
@@ -50,16 +50,7 @@ new Chart(document.getElementById('<%= chart_id %>').getContext('2d'),
|
|
50
50
|
},
|
51
51
|
annotation: {
|
52
52
|
annotations: {
|
53
|
-
|
54
|
-
holiday<%= index %>: {
|
55
|
-
drawTime: 'beforeDraw',
|
56
|
-
type: 'box',
|
57
|
-
xMin: '<%= range.begin %>T00:00:00',
|
58
|
-
xMax: '<%= range.end %>T23:59:59',
|
59
|
-
backgroundColor: <%= CssVariable.new('--non-working-days-color').to_json %>,
|
60
|
-
borderColor: <%= CssVariable.new('--non-working-days-color').to_json %>
|
61
|
-
},
|
62
|
-
<% end %>
|
53
|
+
<%= working_days_annotation %>
|
63
54
|
}
|
64
55
|
},
|
65
56
|
legend: {
|
@@ -55,16 +55,7 @@ new Chart(document.getElementById('<%= chart_id %>').getContext('2d'), {
|
|
55
55
|
autocolors: false,
|
56
56
|
annotation: {
|
57
57
|
annotations: {
|
58
|
-
|
59
|
-
holiday<%= index %>: {
|
60
|
-
drawTime: 'beforeDraw',
|
61
|
-
type: 'box',
|
62
|
-
xMin: '<%= range.begin %>T00:00:00',
|
63
|
-
xMax: '<%= range.end %>T23:59:59',
|
64
|
-
backgroundColor: <%= CssVariable.new('--non-working-days-color').to_json %>,
|
65
|
-
borderColor: <%= CssVariable.new('--non-working-days-color').to_json %>
|
66
|
-
},
|
67
|
-
<% end %>
|
58
|
+
<%= working_days_annotation %>
|
68
59
|
}
|
69
60
|
}
|
70
61
|
}
|
@@ -56,16 +56,7 @@ new Chart(document.getElementById('<%= chart_id %>').getContext('2d'), {
|
|
56
56
|
},
|
57
57
|
annotation: {
|
58
58
|
annotations: {
|
59
|
-
|
60
|
-
holiday<%= index %>: {
|
61
|
-
drawTime: 'beforeDraw',
|
62
|
-
type: 'box',
|
63
|
-
xMin: '<%= range.begin %>T00:00:00',
|
64
|
-
xMax: '<%= range.end %>T23:59:59',
|
65
|
-
backgroundColor: <%= CssVariable.new('--non-working-days-color').to_json %>,
|
66
|
-
borderColor: <%= CssVariable.new('--non-working-days-color').to_json %>
|
67
|
-
},
|
68
|
-
<% end %>
|
59
|
+
<%= working_days_annotation %>
|
69
60
|
}
|
70
61
|
}
|
71
62
|
}
|
@@ -52,16 +52,7 @@ new Chart(document.getElementById('<%= chart_id %>').getContext('2d'), {
|
|
52
52
|
},
|
53
53
|
annotation: {
|
54
54
|
annotations: {
|
55
|
-
|
56
|
-
holiday<%= index %>: {
|
57
|
-
drawTime: 'beforeDraw',
|
58
|
-
type: 'box',
|
59
|
-
xMin: '<%= range.begin %>T00:00:00',
|
60
|
-
xMax: '<%= range.end %>T23:59:59',
|
61
|
-
backgroundColor: <%= CssVariable.new('--non-working-days-color').to_json %>,
|
62
|
-
borderColor: <%= CssVariable.new('--non-working-days-color').to_json %>
|
63
|
-
},
|
64
|
-
<% end %>
|
55
|
+
<%= working_days_annotation %>
|
65
56
|
}
|
66
57
|
}
|
67
58
|
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jirametrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.9.1pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Bowler
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-21 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: random-word
|