rspactor 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -4
- data/VERSION +1 -1
- data/bin/rspactor +1 -0
- data/lib/rspactor/runner.rb +1 -1
- data/rspactor.gemspec +3 -3
- data/spec/runner_spec.rb +7 -1
- metadata +20 -9
data/README.rdoc
CHANGED
@@ -15,8 +15,9 @@ RubyCocoa is needed (you can help to switch to ruby-fsevent, see branches)
|
|
15
15
|
|
16
16
|
=== Command Line Options
|
17
17
|
|
18
|
-
* <code> --coral </code>
|
19
|
-
* <code> --drb </code>
|
20
|
-
* <code> --view </code>
|
21
|
-
* <code> --clear </code>
|
18
|
+
* <code> --coral </code> use coral
|
19
|
+
* <code> --drb </code> use spork
|
20
|
+
* <code> --view </code> run view specs
|
21
|
+
* <code> --clear </code> clear before each run
|
22
|
+
* <code> --skip </code> skip initial test run
|
22
23
|
* <code> --run_in </code>
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.4
|
data/bin/rspactor
CHANGED
data/lib/rspactor/runner.rb
CHANGED
@@ -27,7 +27,7 @@ module RSpactor
|
|
27
27
|
def start_interactor
|
28
28
|
@interactor = Interactor.new(self)
|
29
29
|
message = "** Hit <enter> to skip initial spec #{"& cucumber " if cucumber?}run"
|
30
|
-
aborted = @interactor.wait_for_enter_key(message, 2, false)
|
30
|
+
aborted = options[:skip] || @interactor.wait_for_enter_key(message, 2, false)
|
31
31
|
@interactor.start_termination_handler
|
32
32
|
unless aborted
|
33
33
|
run_all_specs
|
data/rspactor.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rspactor}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Mislav Marohni\304\207", "Andreas Wolff", "Pelle Braendgaard", "Thibaud Guillaume-Gentil"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-06-04}
|
13
13
|
s.default_executable = %q{rspactor}
|
14
14
|
s.description = %q{RSpactor is a command line tool to automatically run your changed specs & cucumber features (much like autotest).}
|
15
15
|
s.email = %q{thibaud@thibaud.me}
|
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
|
|
46
46
|
s.homepage = %q{http://github.com/thibaudgg/rspactor}
|
47
47
|
s.rdoc_options = ["--charset=UTF-8"]
|
48
48
|
s.require_paths = ["lib"]
|
49
|
-
s.rubygems_version = %q{1.3.
|
49
|
+
s.rubygems_version = %q{1.3.6}
|
50
50
|
s.summary = %q{RSpactor is a command line tool to automatically run your changed specs & cucumber features.}
|
51
51
|
s.test_files = [
|
52
52
|
"spec/inspector_spec.rb",
|
data/spec/runner_spec.rb
CHANGED
@@ -90,6 +90,12 @@ describe RSpactor::Runner do
|
|
90
90
|
@runner.should_not_receive(:run_spec_command)
|
91
91
|
setup
|
92
92
|
end
|
93
|
+
|
94
|
+
it "should skip running all specs if --skip is used" do
|
95
|
+
@runner.options[:skip] = true
|
96
|
+
@runner.should_not_receive(:run_spec_command)
|
97
|
+
setup
|
98
|
+
end
|
93
99
|
end
|
94
100
|
|
95
101
|
it "should initialize Inspector" do
|
@@ -256,4 +262,4 @@ describe RSpactor::Runner do
|
|
256
262
|
::Runner.should == described_class
|
257
263
|
end
|
258
264
|
|
259
|
-
end
|
265
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspactor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 6
|
8
|
+
- 4
|
9
|
+
version: 0.6.4
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- "Mislav Marohni\xC4\x87"
|
@@ -12,19 +17,23 @@ autorequire:
|
|
12
17
|
bindir: bin
|
13
18
|
cert_chain: []
|
14
19
|
|
15
|
-
date: 2010-
|
20
|
+
date: 2010-06-04 00:00:00 +02:00
|
16
21
|
default_executable: rspactor
|
17
22
|
dependencies:
|
18
23
|
- !ruby/object:Gem::Dependency
|
19
24
|
name: rspec
|
20
|
-
|
21
|
-
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
27
|
requirements:
|
24
28
|
- - ">="
|
25
29
|
- !ruby/object:Gem::Version
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 2
|
33
|
+
- 9
|
26
34
|
version: 1.2.9
|
27
|
-
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
28
37
|
description: RSpactor is a command line tool to automatically run your changed specs & cucumber features (much like autotest).
|
29
38
|
email: thibaud@thibaud.me
|
30
39
|
executables:
|
@@ -71,18 +80,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
80
|
requirements:
|
72
81
|
- - ">="
|
73
82
|
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 0
|
74
85
|
version: "0"
|
75
|
-
version:
|
76
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
87
|
requirements:
|
78
88
|
- - ">="
|
79
89
|
- !ruby/object:Gem::Version
|
90
|
+
segments:
|
91
|
+
- 0
|
80
92
|
version: "0"
|
81
|
-
version:
|
82
93
|
requirements: []
|
83
94
|
|
84
95
|
rubyforge_project:
|
85
|
-
rubygems_version: 1.3.
|
96
|
+
rubygems_version: 1.3.6
|
86
97
|
signing_key:
|
87
98
|
specification_version: 3
|
88
99
|
summary: RSpactor is a command line tool to automatically run your changed specs & cucumber features.
|