doubleshot 1.0.2-java → 1.0.3-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Doubleshot +1 -1
- data/lib/doubleshot/commands/test.rb +1 -1
- data/lib/ruby/pathname.rb +12 -1
- data/target/doubleshot.jar +0 -0
- metadata +1 -1
data/Doubleshot
CHANGED
@@ -137,7 +137,7 @@ class Doubleshot::CLI::Commands::Test < Doubleshot::CLI
|
|
137
137
|
modified.each do |location|
|
138
138
|
path = Pathname(location)
|
139
139
|
|
140
|
-
next unless path.extname == ".rb"
|
140
|
+
next unless !path.hidden? || path.extname == ".rb" || path.extname == ".java"
|
141
141
|
|
142
142
|
test = nil
|
143
143
|
|
data/lib/ruby/pathname.rb
CHANGED
@@ -12,4 +12,15 @@ class Pathname
|
|
12
12
|
def to_url
|
13
13
|
java.io.File.new(to_s).to_url.to_s
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
|
+
def hidden?
|
17
|
+
path = expand_path
|
18
|
+
|
19
|
+
until path.root?
|
20
|
+
return true if path.basename.to_s.start_with? "."
|
21
|
+
path = path.parent
|
22
|
+
end
|
23
|
+
|
24
|
+
false
|
25
|
+
end
|
26
|
+
end
|
data/target/doubleshot.jar
CHANGED
Binary file
|