cucumber_spinner 0.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +3 -3
- data/Rakefile +1 -1
- data/cucumber_spinner.gemspec +1 -1
- data/lib/cucumber_spinner/progress_bar_formatter.rb +1 -1
- metadata +2 -1
data/README.rdoc
CHANGED
@@ -13,11 +13,11 @@ Install the gem with
|
|
13
13
|
To use the CucumberSpinner formatter, call cucumber with the following command
|
14
14
|
line option:
|
15
15
|
|
16
|
-
--
|
16
|
+
--format CucumberSpinner::ProgressBarFormatter
|
17
17
|
|
18
18
|
You might want to use an alias, so for example put this at the end of your
|
19
19
|
.bashrc
|
20
|
-
alias cuc='script/cucumber --
|
20
|
+
alias cuc='script/cucumber --format CucumberSpinner::ProgressBarFormatter'
|
21
21
|
and then start your features with
|
22
22
|
cuc features
|
23
23
|
|
@@ -42,7 +42,7 @@ The Gem is inspired and based on nofxx's RSpecSpinner gem
|
|
42
42
|
(http://github.com/nofxx/rspec_spinner), which is in turn based on the Advanced Progress Bar by Nicholas A. Evans.
|
43
43
|
|
44
44
|
|
45
|
-
|
45
|
+
by Tobias Kraze
|
46
46
|
|
47
47
|
{makandra.com}[http://makandra.com/]
|
48
48
|
|
data/Rakefile
CHANGED
@@ -24,7 +24,7 @@ begin
|
|
24
24
|
require 'jeweler'
|
25
25
|
Jeweler::Tasks.new do |gemspec|
|
26
26
|
gemspec.name = "cucumber_spinner"
|
27
|
-
gemspec.version = '0.1'
|
27
|
+
gemspec.version = '0.1.1'
|
28
28
|
gemspec.summary = "Progress bar formatter for cucumber, shows failing scenarios immediately."
|
29
29
|
gemspec.email = "tobias.kraze@makandra.de"
|
30
30
|
gemspec.homepage = "http://github.com/makandra/cucumber_spinner"
|
data/cucumber_spinner.gemspec
CHANGED
@@ -12,7 +12,7 @@ module CucumberSpinner
|
|
12
12
|
def initialize(step_mother, path_or_io, options)
|
13
13
|
@step_mother, @io, @options = step_mother, ensure_io(path_or_io, "progress"), options
|
14
14
|
@error_state = :passed
|
15
|
-
@coloured_io = FormattedIo.new(@io)
|
15
|
+
@coloured_io = CucumberSpinner::FormattedIo.new(@io)
|
16
16
|
@coloured_io.status = @error_state
|
17
17
|
@pretty_printer_io = StringIO.new
|
18
18
|
@pretty_printer = Cucumber::Formatter::Pretty.new(step_mother, @pretty_printer_io, options)
|