fuci 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +2 -1
- data/lib/fuci/runner.rb +4 -1
- data/lib/fuci/version.rb +1 -1
- data/spec/lib/fuci/runner_spec.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27eba8b8c83b0530df74adf05f97e4e533537a85
|
4
|
+
data.tar.gz: 94ba0e16a25180c5c85e08b43efd845b437c7d17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39e0d31654091c0fe12fb56da6f89e35a85bb975c6899476a94c980f42c6f642cac8b30ac5fe8f21ebb9995a56ee5c89cc8b714bea1ab527f948c1c1b7924906
|
7
|
+
data.tar.gz: 21b72788e003e59fd2d1aa6aa413986a4e851b13eb7f141c09253a1e040f274e914e6780aef48eabe9f4905f7eeffb96b97ba9ff49d8d39ffd01eef191dbae55
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -10,13 +10,14 @@ Add this line to your fuci extension's Gemspec:
|
|
10
10
|
```ruby
|
11
11
|
Gem::Specification.new do |spec|
|
12
12
|
...
|
13
|
-
spec.add_dependency 'fuci', '~> 0.
|
13
|
+
spec.add_dependency 'fuci', '~> 0.4'
|
14
14
|
...
|
15
15
|
end
|
16
16
|
```
|
17
17
|
|
18
18
|
## Known server extensions
|
19
19
|
* [Fuci::Travis](https://github.com/davejachimiak/fuci-travis)
|
20
|
+
* [Fuci::TeamCity](https://github.com/davejachimiak/fuci-team_city)
|
20
21
|
|
21
22
|
## Native command-line options
|
22
23
|
Run the failed tests from your last `fuci` command.
|
data/lib/fuci/runner.rb
CHANGED
@@ -60,8 +60,11 @@ module Fuci
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def run_failures
|
63
|
-
|
63
|
+
command = detected_tester.command(log)
|
64
|
+
|
65
|
+
IO.popen command do |io|
|
64
66
|
puts 'Running failed specs...'
|
67
|
+
puts command
|
65
68
|
io.each { |string| puts string }
|
66
69
|
end
|
67
70
|
end
|
data/lib/fuci/version.rb
CHANGED
@@ -128,7 +128,10 @@ describe Fuci::Runner do
|
|
128
128
|
stubs(:command).
|
129
129
|
with(log).
|
130
130
|
returns command = mock
|
131
|
-
IO.expects(:popen).with
|
131
|
+
IO.expects(:popen).with(command).yields io = [line = mock]
|
132
|
+
@runner.expects(:puts).with 'Running failed specs...'
|
133
|
+
@runner.expects(:puts).with command
|
134
|
+
@runner.expects(:puts).with line
|
132
135
|
|
133
136
|
@runner.send :run_failures
|
134
137
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fuci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Jachimiak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest-spec-expect
|