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 CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
@@ -27,9 +27,13 @@ def run_test_matching(thing_to_match)
27
27
  end
28
28
 
29
29
  def run(files_to_run)
30
- cmd = "ruby -I#{test_folder} #{files_to_run}"
31
- puts cmd
32
- system("ruby -I#{test_folder} #{files_to_run}")
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{watch-me-now}
8
- s.version = "1.2.0"
8
+ s.version = "1.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Rob Sanheim"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watch-me-now
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Sanheim