shiftzilla 0.2.7 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shiftzilla/config.rb +2 -2
- data/lib/shiftzilla/org_data.rb +1 -1
- data/lib/shiftzilla/version.rb +1 -1
- data/template.haml +2 -4
- 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: 7bcbe3b44a1fef17915db67a9aa20e2d6b1f0509fa3f92ac76de0788dcb798f3
|
4
|
+
data.tar.gz: e08e62be8def44d0a8513bf618d0423d9a2ed1e529293801fd28f4b3194020d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe01604c9c67f438c53709a44d28031fcd3638de4c86366f328b2f6a839a8b5c7e36c57aaab654e853570be2e526330841b4daaf30f91fa86f0c9e3ef77129e4
|
7
|
+
data.tar.gz: 9382d4f9c0c61cef75490b080f48d4a9a518dc8db338bfa6fb9b7ba094b9b566f038febb032df1ac1fa5c18856932fbe7991d51541609e48ea50ab0e1e31c8fc
|
data/lib/shiftzilla/config.rb
CHANGED
@@ -25,11 +25,11 @@ module Shiftzilla
|
|
25
25
|
@sources << Shiftzilla::Source.new(sid,sinfo)
|
26
26
|
end
|
27
27
|
# Always track a release for bugs with no target release
|
28
|
-
@releases = [Shiftzilla::Release.new({ 'name' => '
|
28
|
+
@releases = [Shiftzilla::Release.new({ 'name' => 'All', 'targets' => [] })]
|
29
29
|
cfg_file['Releases'].each do |release|
|
30
30
|
@releases << Shiftzilla::Release.new(release)
|
31
31
|
end
|
32
|
-
@releases << Shiftzilla::Release.new({ 'name' => '
|
32
|
+
@releases << Shiftzilla::Release.new({ 'name' => '"---"', 'targets' => ['---'] },true)
|
33
33
|
@ssh = {
|
34
34
|
:host => cfg_file['SSH']['host'],
|
35
35
|
:path => cfg_file['SSH']['path'],
|
data/lib/shiftzilla/org_data.rb
CHANGED
@@ -186,7 +186,6 @@ module Shiftzilla
|
|
186
186
|
:tdata => tdata,
|
187
187
|
:team_files => @team_files,
|
188
188
|
:bug_url => BZ_URL,
|
189
|
-
:chart_order => ((1..(@releases.length - 1)).to_a << 0),
|
190
189
|
:releases => [],
|
191
190
|
:latest_snapshot => latest_snapshot,
|
192
191
|
:all_bugs => [],
|
@@ -264,6 +263,7 @@ module Shiftzilla
|
|
264
263
|
jsdir = File.join(@tmp_dir,'js')
|
265
264
|
Dir.mkdir(jsdir)
|
266
265
|
FileUtils.cp(File.join(VENDOR_DIR,'flot','jquery.flot.min.js'),jsdir)
|
266
|
+
FileUtils.cp(DB_FPATH,@tmp_dir)
|
267
267
|
end
|
268
268
|
|
269
269
|
def show_local_reports
|
data/lib/shiftzilla/version.rb
CHANGED
data/template.haml
CHANGED
@@ -107,8 +107,7 @@
|
|
107
107
|
- releases.each do |r|
|
108
108
|
%td.text-right= tm[:releases][r[:release].name]
|
109
109
|
.col-6
|
110
|
-
-
|
111
|
-
- r = releases[cidx]
|
110
|
+
- releases.each do |r|
|
112
111
|
- next if r.nil? or r[:release].built_in? or r[:no_data] or not r.has_key?(:charts)
|
113
112
|
.badge.badge-secondary.text-left.w-100= r[:release].name
|
114
113
|
- [:burndown,:new_closed,:blockers].each do |chart|
|
@@ -176,8 +175,7 @@
|
|
176
175
|
$(document).ready(function() {
|
177
176
|
- if all_bugs.length > 0
|
178
177
|
$('#team-bugs-all').DataTable({ 'paging': false, 'order': [[0,'desc'],[1,'desc'],[2,'desc']] });
|
179
|
-
-
|
180
|
-
- r = releases[cidx]
|
178
|
+
- releases.each do |r|
|
181
179
|
- next if r.nil? or r[:release].built_in? or r[:no_data] or not r.has_key?(:charts)
|
182
180
|
- [:burndown,:new_closed,:blockers].each do |chart|
|
183
181
|
= "var cdata_#{r[:release].token}_#{chart.to_s} = JSON.parse('#{r[:charts][chart][:data]}');"
|
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.9
|
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-03
|
11
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|