watch-me-now 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/watch-me-now.watchr +7 -3
- data/watch-me-now.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.1
|
data/lib/watch-me-now.watchr
CHANGED
@@ -27,9 +27,13 @@ def run_test_matching(thing_to_match)
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def run(files_to_run)
|
30
|
-
|
31
|
-
|
32
|
-
|
30
|
+
if files_to_run.strip.empty?
|
31
|
+
puts "No files to run"
|
32
|
+
else
|
33
|
+
cmd = "ruby -I#{test_folder} #{files_to_run}"
|
34
|
+
puts cmd
|
35
|
+
system("ruby -I#{test_folder} #{files_to_run}")
|
36
|
+
end
|
33
37
|
end
|
34
38
|
|
35
39
|
def run_all_tests
|
data/watch-me-now.gemspec
CHANGED