findbugs_translate_checkstyle_format 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: a69d0847aa30321eeca23a3d61dbca9555571fd6
4
- data.tar.gz: 3ade928a9aa98c29306cf934c9fdbd373cb93153
3
+ metadata.gz: 21bd0fd53ec00a487c206477fc28de562a266834
4
+ data.tar.gz: af0fe5484c6c3e84162486f650321203ba455ed5
5
5
  SHA512:
6
- metadata.gz: 1319f100167186f355706b349bab0db432e597bcdca80ced0118eb5da0b040da8a052cdde88737d040b7b5693705fdd0a405acd6e8451a670363ab05bba5f3de
7
- data.tar.gz: 2a549e105c3d3d358bd98a00014548f1050e4b959856bb3203ef5ea3e76726bbc57db8bf6b0143a938eeb6532614bb7193417f765cf72e5048f3c6c23f06e865
6
+ metadata.gz: 376dbacbcbed1c24debdcb92a87cc1fba92fb3607ae53f5af8ca109cc5079100d60b7c59743410dee5e3f3f69cb05acacb2a2f23ac69f882aa5ba300f869c05b
7
+ data.tar.gz: 5b54e4d9e7e97e7ef1b4bec0a555ef8b33d3494a3910650b2df883185cf24fc8f5ff289108ee5f92c2623d29aa62443b39b1b9c2cfd22406c0347dd43635e41a
@@ -25,6 +25,12 @@ module FindbugsTranslateCheckstyleFormat
25
25
  'message' => "[#{bugInstance['@category']}] #{bugInstance['LongMessage']}"
26
26
  })
27
27
  end
28
+ else
29
+ # create dummy
30
+ dummy_src_dir = xml['BugCollection']['Project']['SrcDir'].first
31
+ file = checkstyle.add_element("file", {
32
+ 'name' => dummy_src_dir
33
+ })
28
34
  end
29
35
 
30
36
  doc
@@ -1,3 +1,3 @@
1
1
  module FindbugsTranslateCheckstyleFormat
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: findbugs_translate_checkstyle_format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - noboru-i