pronto-findbugs 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pronto/findbugs.rb +1 -1
- data/lib/pronto/findbugs/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52d5e68bb13e74b62be1bf90f96841a45464d5ffb38bc8b8e0bb2eaa98292d83
|
4
|
+
data.tar.gz: 9f80fdfea3252589a5e9315cf672ec47bae6824f1bbbb11e88edf2e1a8ffb7ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d07b82333ff9f53fa4ab4d16714e8aa1c7135cea2946a58fb4a0ae512fd47d70e0c46da38cfd5a1a07c87e15273dfac1e0fe9f8b28b8dca00efdeb3ded60282c
|
7
|
+
data.tar.gz: 3e0d8b6bdb19e66f5ef2cdfc6cd806fd0679abe6bfd6655ab01ecdf96c9d7156ee52d60fd9f354f7171a97d0cf874f61f6780a57a8119d7b600bba008690f928
|
data/lib/pronto/findbugs.rb
CHANGED
@@ -45,7 +45,7 @@ module Pronto
|
|
45
45
|
def read_findbugs_report(path)
|
46
46
|
doc = REXML::Document.new(File.read(path))
|
47
47
|
src_dirs = REXML::XPath.match(doc, '/BugCollection/Project/SrcDir/text()')
|
48
|
-
return []
|
48
|
+
return [] if src_dirs.empty?
|
49
49
|
|
50
50
|
src = src_dirs.first.to_s
|
51
51
|
REXML::XPath.match(doc, '/BugCollection/BugInstance').map do |bug|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto-findbugs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seiichi KONDO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pronto
|
@@ -150,7 +150,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
|
-
|
153
|
+
rubyforge_project:
|
154
|
+
rubygems_version: 2.7.6
|
154
155
|
signing_key:
|
155
156
|
specification_version: 4
|
156
157
|
summary: Pronto runner for findbugs / spotbugs
|