bake-toolkit 2.38.0 → 2.38.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bakeqac +1 -2
- data/lib/common/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34760b587679dddb740e5319f8e0572fa3df52fa
|
4
|
+
data.tar.gz: 0f3919e3affd46fde938a57bae38345ce0085f41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ae695e68943ae6db3fa1f3afff9e8c45a8466cf2ee19b447988a8b773d1675193375ccfcf8b0b4ea0d1ead8f102a3dbf3833ffad5e34f8d408e948a07a4f8f2
|
7
|
+
data.tar.gz: 0cc9e7b05cc1dd866f0b416112f7f3b38e49b531a156937cd3012b0c872407c2801c8811b02c80ce9a9be624cc6936ca72903c44d3fb27e8bb6901959bc128bc
|
data/bin/bakeqac
CHANGED
@@ -454,7 +454,6 @@ $cmdRemoveLocks = qaExe + ["admin", "--qaf-project", @options.qacdata, "--remove
|
|
454
454
|
complexity = e["metrics"]["STCYC"].to_i
|
455
455
|
line = e["line"].to_i
|
456
456
|
allowed = 10
|
457
|
-
|
458
457
|
if complexity > 10 && File.exist?(filename)
|
459
458
|
if fileContent.nil?
|
460
459
|
fileContent = File.readlines(filename)
|
@@ -463,7 +462,7 @@ $cmdRemoveLocks = qaExe + ["admin", "--qaf-project", @options.qacdata, "--remove
|
|
463
462
|
lineOfLastFunction = 0
|
464
463
|
pos = fileFunctions.find_index(line)
|
465
464
|
if !pos.nil? and fileContent.length >= line
|
466
|
-
lineOfLastFunction =
|
465
|
+
fileFunctions.each { |x| lineOfLastFunction = x if x > lineOfLastFunction && x < fileFunctions[pos] }
|
467
466
|
# "line" received from json count from 1...
|
468
467
|
# ... so adjustment of lineOfLastFunction for array access not needed
|
469
468
|
# line-2 = index of array for line above the current function
|
data/lib/common/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.38.
|
4
|
+
version: 2.38.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Schaal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtext
|