doubleshot 1.0.3-java → 1.0.4-java

Sign up to get free protection for your applications and to get access to all the features.
data/Doubleshot CHANGED
@@ -4,7 +4,7 @@ Doubleshot.new do |config|
4
4
 
5
5
  config.project = "doubleshot"
6
6
  config.group = "org.sam.doubleshot"
7
- config.version = "1.0.3"
7
+ config.version = "1.0.4"
8
8
 
9
9
  config.gem "minitest", ">= 3.0.1"
10
10
  config.gem "minitest-wscolor", ">= 0"
@@ -163,7 +163,7 @@ class Doubleshot::CLI::Commands::Test < Doubleshot::CLI
163
163
  end
164
164
  end
165
165
 
166
- matcher = test.sub(/(\w+)\.(rb|java)/, "\\1_{spec,test}.rb")
166
+ matcher = Pathname(test.sub(/(\w+)\.(rb|java)/, "\\1_{spec,test}.rb").to_s.underscore)
167
167
  matchers = [ matcher ]
168
168
 
169
169
  # If this is a nested path, then create a lower priority matcher
Binary file
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: doubleshot
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.3
5
+ version: 1.0.4
6
6
  platform: java
7
7
  authors:
8
8
  - Sam Smoot