watch-me-now 1.7.0 → 1.8.0
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.rb +5 -1
- data/watch-me-now.gemspec +4 -4
- metadata +13 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
data/lib/watch-me-now.rb
CHANGED
@@ -5,6 +5,10 @@ def test_folder
|
|
5
5
|
@test_folder ||= %w[spec examples test].detect { |p| File.directory?(p) }
|
6
6
|
end
|
7
7
|
|
8
|
+
def include_lib_folder_if_exists
|
9
|
+
"-Ilib" if File.directory?("lib")
|
10
|
+
end
|
11
|
+
|
8
12
|
def test_suffix
|
9
13
|
case test_folder
|
10
14
|
when "spec" then "spec"
|
@@ -38,7 +42,7 @@ def run(files_to_run)
|
|
38
42
|
if files_to_run.strip.empty?
|
39
43
|
puts "No files to run"
|
40
44
|
else
|
41
|
-
cmd = "#{runner} -I#{test_folder} #{files_to_run}"
|
45
|
+
cmd = "#{runner} #{include_lib_folder_if_exists} -I#{test_folder} #{files_to_run}"
|
42
46
|
execute cmd
|
43
47
|
end
|
44
48
|
no_int_for_you
|
data/watch-me-now.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{watch-me-now}
|
8
|
-
s.version = "1.
|
8
|
+
s.version = "1.8.0"
|
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"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-08-24}
|
13
13
|
s.default_executable = %q{watch-me-now}
|
14
14
|
s.description = %q{watchr provides flexible continuous testing. watch-me-now is a simple script to try and test most types of Ruby projects}
|
15
15
|
s.email = %q{rsanheim@gmail.com}
|
@@ -32,14 +32,14 @@ Gem::Specification.new do |s|
|
|
32
32
|
s.homepage = %q{http://github.com/rsanheim/watch-me-now}
|
33
33
|
s.rdoc_options = ["--charset=UTF-8"]
|
34
34
|
s.require_paths = ["lib"]
|
35
|
-
s.rubygems_version = %q{1.3.
|
35
|
+
s.rubygems_version = %q{1.3.7}
|
36
36
|
s.summary = %q{script to continuous test any sort of Ruby project}
|
37
37
|
|
38
38
|
if s.respond_to? :specification_version then
|
39
39
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
40
40
|
s.specification_version = 3
|
41
41
|
|
42
|
-
if Gem::Version.new(Gem::
|
42
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
43
43
|
s.add_runtime_dependency(%q<watchr>, [">= 0"])
|
44
44
|
s.add_development_dependency(%q<gemcutter>, [">= 0"])
|
45
45
|
else
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watch-me-now
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 55
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 1
|
7
|
-
-
|
8
|
+
- 8
|
8
9
|
- 0
|
9
|
-
version: 1.
|
10
|
+
version: 1.8.0
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Rob Sanheim
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-08-24 00:00:00 -04:00
|
18
19
|
default_executable: watch-me-now
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: watchr
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
version: "0"
|
@@ -33,9 +36,11 @@ dependencies:
|
|
33
36
|
name: gemcutter
|
34
37
|
prerelease: false
|
35
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
36
40
|
requirements:
|
37
41
|
- - ">="
|
38
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
39
44
|
segments:
|
40
45
|
- 0
|
41
46
|
version: "0"
|
@@ -70,23 +75,27 @@ rdoc_options:
|
|
70
75
|
require_paths:
|
71
76
|
- lib
|
72
77
|
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
73
79
|
requirements:
|
74
80
|
- - ">="
|
75
81
|
- !ruby/object:Gem::Version
|
82
|
+
hash: 3
|
76
83
|
segments:
|
77
84
|
- 0
|
78
85
|
version: "0"
|
79
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
80
88
|
requirements:
|
81
89
|
- - ">="
|
82
90
|
- !ruby/object:Gem::Version
|
91
|
+
hash: 3
|
83
92
|
segments:
|
84
93
|
- 0
|
85
94
|
version: "0"
|
86
95
|
requirements: []
|
87
96
|
|
88
97
|
rubyforge_project:
|
89
|
-
rubygems_version: 1.3.
|
98
|
+
rubygems_version: 1.3.7
|
90
99
|
signing_key:
|
91
100
|
specification_version: 3
|
92
101
|
summary: script to continuous test any sort of Ruby project
|