findbugs_translate_checkstyle_format 0.2.1 → 0.2.2
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: c090d107f8953b06d2dff66284e5dd965db3b2e7
|
4
|
+
data.tar.gz: 4cd4973f7e25959e743748dcef94f25532191a6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9248f03c04b7bc4fb7e1bc01003e00d3c58653483215aa7d2c51c053bbaa20fca9e178660f120002988a73e846e8afc63e273535eba054bf7f0573407b8bf7b
|
7
|
+
data.tar.gz: eea497fd1ad1131aa3f5da6089eb160daf7904a7776e6886b41d45bb856e61aa22632d5aecc5c8108f65ccccc0cc07c253df1b40c6e42208455942754e383bc0
|
@@ -37,7 +37,7 @@ module FindbugsTranslateCheckstyleFormat
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def self.fqcn_to_path(fqcn, xml)
|
40
|
-
path = fqcn.tr('.', '/').
|
40
|
+
path = fqcn.tr('.', '/').gsub(/\$[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.2
|
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-
|
11
|
+
date: 2015-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|