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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed4ac82507a1784b6cff41655daab9599389289002b5fe03e3c2cc32c187f676
4
- data.tar.gz: 1bf1269ad798364745c4c93a8140f37516433b2e95840454fef8bde5c811dc56
3
+ metadata.gz: 52d5e68bb13e74b62be1bf90f96841a45464d5ffb38bc8b8e0bb2eaa98292d83
4
+ data.tar.gz: 9f80fdfea3252589a5e9315cf672ec47bae6824f1bbbb11e88edf2e1a8ffb7ae
5
5
  SHA512:
6
- metadata.gz: 59813692ea5fb7a59677c86aef6c4d3d5cc561bf5282ca5343c08632ebf3e6fc8644942bc3dad8e7a0440aef2805932b7f03924f36a60d1416ba0ee8d40b3b57
7
- data.tar.gz: 3236a82831de3358a70756df9c4ea491c9c7e1cddbcec17556e2d6dca44b34141aff9b52aab57e59c0e9b9d9dfe2c1bc93dcad30442eab009fb9bc6c29d5c624
6
+ metadata.gz: d07b82333ff9f53fa4ab4d16714e8aa1c7135cea2946a58fb4a0ae512fd47d70e0c46da38cfd5a1a07c87e15273dfac1e0fe9f8b28b8dca00efdeb3ded60282c
7
+ data.tar.gz: 3e0d8b6bdb19e66f5ef2cdfc6cd806fd0679abe6bfd6655ab01ecdf96c9d7156ee52d60fd9f354f7171a97d0cf874f61f6780a57a8119d7b600bba008690f928
@@ -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 [] unless src_dirs.size == 1
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|
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module FindbugsVersion
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '1.0.0'.freeze
4
4
  end
5
5
  end
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: 0.1.0
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-18 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3
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