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: 05ea2cbc16e00078941e96976b4623a3a8c9f55c
4
- data.tar.gz: 566468323b44e248032cd464e4e8c83f2e2cc756
3
+ metadata.gz: c090d107f8953b06d2dff66284e5dd965db3b2e7
4
+ data.tar.gz: 4cd4973f7e25959e743748dcef94f25532191a6b
5
5
  SHA512:
6
- metadata.gz: 870309fe2a61a7d1537b8051e2f74e8de312d4776b684f107e3329e6fe92719521380613dcebc89fb536a0bcb4993f5a0289d935e1c47320d6cffed0632486e4
7
- data.tar.gz: 0377c47c22f8f923d01eebae2665a0c1eb6aefb1d2744b474abc3d95f8a379ca6bdda3b50207158f8a75dfa8ae6da07016e6a9fea3310189aba8d5d2408ad0d4
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('.', '/').tr('$[0-9]+', '') + '.java'
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? }
@@ -1,3 +1,3 @@
1
1
  module FindbugsTranslateCheckstyleFormat
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
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.1
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-09-14 00:00:00.000000000 Z
11
+ date: 2015-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor