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: c7867d159bd387785e12961f0aefc24dcf16b670
4
- data.tar.gz: 2b3bae8fab45a7aba5c7eb0522894809fd47b2df
3
+ metadata.gz: 05ea2cbc16e00078941e96976b4623a3a8c9f55c
4
+ data.tar.gz: 566468323b44e248032cd464e4e8c83f2e2cc756
5
5
  SHA512:
6
- metadata.gz: 2b8ed8a89965516a156fbf72984aa6858c07a8d5507b53fa46d7c540384afbe1b7159c416ae5e3b97ff3ce82224255cee79bae03c8e4ba94d30c95d986052db3
7
- data.tar.gz: 22e0f4709d39530c9d5a3238a750a6e5e88497cbe3e0f90fd715567e9835dd9c9c3c26889d564db30d5f8fbb29f5429507c1088272d7c6aaf843fb839c0c8bb0
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? }
@@ -1,3 +1,3 @@
1
1
  module FindbugsTranslateCheckstyleFormat
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
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.0
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-01 00:00:00.000000000 Z
11
+ date: 2015-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor