mynyml-redgreen 0.6 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +4 -1
- data/README +1 -0
- data/lib/redgreen.rb +1 -0
- data/lib/redgreen/nanotest.rb +10 -0
- data/{redgreen.gemspec → mynyml-redgreen.gemspec} +2 -1
- data/specs.watchr +5 -5
- data/test/nanotest/test_failure.rb +5 -0
- data/test/nanotest/test_success.rb +5 -0
- data/test/tests.rake +2 -0
- metadata +15 -2
data/Manifest
CHANGED
@@ -6,8 +6,9 @@ Rakefile
|
|
6
6
|
lib/redgreen.rb
|
7
7
|
lib/redgreen/expectations.rb
|
8
8
|
lib/redgreen/minitest.rb
|
9
|
+
lib/redgreen/nanotest.rb
|
9
10
|
lib/redgreen/testunit.rb
|
10
|
-
redgreen.gemspec
|
11
|
+
mynyml-redgreen.gemspec
|
11
12
|
specs.watchr
|
12
13
|
test/README
|
13
14
|
test/contest/test_failure.rb
|
@@ -18,6 +19,8 @@ test/expectations/test_failure.rb
|
|
18
19
|
test/expectations/test_success.rb
|
19
20
|
test/minitest/test_failure.rb
|
20
21
|
test/minitest/test_success.rb
|
22
|
+
test/nanotest/test_failure.rb
|
23
|
+
test/nanotest/test_success.rb
|
21
24
|
test/shoulda/test_failure.rb
|
22
25
|
test/shoulda/test_success.rb
|
23
26
|
test/tests.rake
|
data/README
CHANGED
data/lib/redgreen.rb
CHANGED
@@ -15,6 +15,7 @@ end
|
|
15
15
|
dir = Pathname(__FILE__).dirname.parent.join('lib/redgreen')
|
16
16
|
|
17
17
|
if defined?(Expectations::SuiteRunner) then require dir.join('expectations')
|
18
|
+
elsif defined?(NanoTest) then require dir.join('nanotest')
|
18
19
|
elsif defined?(MiniTest::Unit::TestCase) then require dir.join('minitest')
|
19
20
|
elsif defined?(Test::Unit::TestCase) then require dir.join('testunit')
|
20
21
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'mynyml-redgreen'
|
3
|
-
s.version = '0.6'
|
3
|
+
s.version = '0.6.2'
|
4
4
|
s.summary = "Standalone redgreen eye candy for test results, ala autotest"
|
5
5
|
s.description = "Standalone redgreen eye candy for test results, ala autotest."
|
6
6
|
s.author = "Martin Aumont"
|
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
|
14
14
|
s.add_dependency 'term-ansicolor', '>= 1.0.4'
|
15
15
|
|
16
|
+
s.add_development_dependency 'nanotest', '>= 0.9.2'
|
16
17
|
s.add_development_dependency 'minitest', '>= 1.3.1'
|
17
18
|
s.add_development_dependency 'expectations', '>= 1.2.1'
|
18
19
|
s.add_development_dependency 'shoulda', '>= 2.10.1'
|
data/specs.watchr
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
# --------------------------------------------------
|
6
6
|
# Watchr Rules
|
7
7
|
# --------------------------------------------------
|
8
|
-
watch( '^test.*/test_.*\.rb' ) { |m| system "ruby -rubygems -I.:lib %s" % m[0]
|
9
|
-
watch( '^lib/redgreen/(.*)\.rb' ) { |m| system "rake test:by_fw FW=%s"
|
10
|
-
watch( '^lib/redgreen/testunit\.rb' ) { |m| system "rake test:by_fw FW=testunit,shoulda,context,contest" }
|
11
|
-
watch( '^lib/redgreen\.rb' ) { |m| system "rake -s test:all"
|
12
|
-
watch( '^test/test_helper\.rb' ) { |m| system "rake -s test:all"
|
8
|
+
watch( '^test.*/test_.*\.rb' ) { |m| system "ruby -rubygems -I.:lib %s" % m[0] }
|
9
|
+
watch( '^lib/redgreen/(.*)\.rb' ) { |m| system "rake -s test:by_fw FW=%s" % m[1] }
|
10
|
+
watch( '^lib/redgreen/testunit\.rb' ) { |m| system "rake -s test:by_fw FW=testunit,shoulda,context,contest" }
|
11
|
+
watch( '^lib/redgreen\.rb' ) { |m| system "rake -s test:all" }
|
12
|
+
watch( '^test/test_helper\.rb' ) { |m| system "rake -s test:all" }
|
13
13
|
|
14
14
|
# --------------------------------------------------
|
15
15
|
# Signal Handling
|
data/test/tests.rake
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mynyml-redgreen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Aumont
|
@@ -22,6 +22,16 @@ dependencies:
|
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: 1.0.4
|
24
24
|
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: nanotest
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.9.2
|
34
|
+
version:
|
25
35
|
- !ruby/object:Gem::Dependency
|
26
36
|
name: minitest
|
27
37
|
type: :development
|
@@ -89,8 +99,9 @@ files:
|
|
89
99
|
- lib/redgreen.rb
|
90
100
|
- lib/redgreen/expectations.rb
|
91
101
|
- lib/redgreen/minitest.rb
|
102
|
+
- lib/redgreen/nanotest.rb
|
92
103
|
- lib/redgreen/testunit.rb
|
93
|
-
- redgreen.gemspec
|
104
|
+
- mynyml-redgreen.gemspec
|
94
105
|
- specs.watchr
|
95
106
|
- test/README
|
96
107
|
- test/contest/test_failure.rb
|
@@ -101,6 +112,8 @@ files:
|
|
101
112
|
- test/expectations/test_success.rb
|
102
113
|
- test/minitest/test_failure.rb
|
103
114
|
- test/minitest/test_success.rb
|
115
|
+
- test/nanotest/test_failure.rb
|
116
|
+
- test/nanotest/test_success.rb
|
104
117
|
- test/shoulda/test_failure.rb
|
105
118
|
- test/shoulda/test_success.rb
|
106
119
|
- test/tests.rake
|