watch-me-now 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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