findbugs_translate_checkstyle_format 0.2.0 → 0.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05ea2cbc16e00078941e96976b4623a3a8c9f55c
|
4
|
+
data.tar.gz: 566468323b44e248032cd464e4e8c83f2e2cc756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 870309fe2a61a7d1537b8051e2f74e8de312d4776b684f107e3329e6fe92719521380613dcebc89fb536a0bcb4993f5a0289d935e1c47320d6cffed0632486e4
|
7
|
+
data.tar.gz: 0377c47c22f8f923d01eebae2665a0c1eb6aefb1d2744b474abc3d95f8a379ca6bdda3b50207158f8a75dfa8ae6da07016e6a9fea3310189aba8d5d2408ad0d4
|
@@ -37,7 +37,7 @@ module FindbugsTranslateCheckstyleFormat
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def self.fqcn_to_path(fqcn, xml)
|
40
|
-
path = fqcn.tr('.', '/') + '.java'
|
40
|
+
path = fqcn.tr('.', '/').tr('$[0-9]+', '') + '.java'
|
41
41
|
src_dirs = xml['BugCollection']['Project']['SrcDir']
|
42
42
|
src_dirs = [src_dirs] unless src_dirs.is_a?(Array)
|
43
43
|
src_dirs.find { |src| !src.index(path).nil? }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: findbugs_translate_checkstyle_format
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- noboru-i
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|