fuubar-cucumber 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## 0.1.6 (July 20, 2012) ##
2
+
3
+ ### bug fix
4
+ * Conform to Cucumber 1.2.0 formatter API change (by [@iain](https://github.com/iain))
5
+ * Reflect failures that coming from After callbacks (closes #10) (by [@nashby](https://github.com/nashby))
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in fuubar.gemspec
3
+ gem 'rake'
4
+
4
5
  gemspec
data/README.textile CHANGED
@@ -1,8 +1,8 @@
1
1
  h1. Fuubar-cucumber
2
2
 
3
- Fuubar-cucumber is an instafailing "Cucumber":https://github.com/aslakhellesoy/cucumber formatter that uses a progress bar instead of a string of letters and dots as feedback. It is based on RSpec formatter "Fuubar":https://github.com/jeffkreeftmeijer/fuubar.
3
+ Fuubar-cucumber is an instafailing "Cucumber":https://github.com/aslakhellesoy/cucumber formatter that uses a progress bar instead of a string of letters and dots as feedback. It is based on the "Fuubar" RSpec formatter:https://github.com/jeffkreeftmeijer/fuubar.
4
4
 
5
- Fuubar displays progress bar with percentage of steps completed and ETA instead of green dots. When one of the steps fails, it is instantly displayed so you can go and fix it witchout waiting for all scenarios.
5
+ Fuubar displays progress bar with percentage of steps completed and ETA instead of green dots. When one of the steps fails, it is instantly displayed so you can go and fix it without waiting for all scenarios.
6
6
 
7
7
  h2. Installation
8
8
 
@@ -12,7 +12,7 @@ bc. gem 'fuubar-cucumber'
12
12
 
13
13
  run @bundle install@
14
14
 
15
- If you don't user Bundler you can install it using @gem@ command:
15
+ If you don't user Bundler you can install it using the @gem@ command:
16
16
 
17
17
  bc. $ gem install fuubar-cucumber
18
18
 
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "fuubar-cucumber"
3
- s.version = '0.0.15'
3
+ s.version = '0.0.16'
4
4
  s.platform = Gem::Platform::RUBY
5
- s.authors = ["Marcin Ciunelis"]
6
- s.email = ["marcin.ciunelis@gmail.com"]
5
+ s.authors = ["Marcin Ciunelis", "Vasiliy Ermolovich"]
6
+ s.email = ["marcin.ciunelis@gmail.com", "younash@gmail.com"]
7
7
  s.homepage = "https://github.com/martinciu/fuubar-cucumber"
8
8
  s.summary = %q{the instafailing Cucumber progress bar formatter}
9
9
  s.description = %q{the instafailing Cucumber progress bar formatter}
@@ -13,8 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
14
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
15
15
  s.require_paths = ["lib"]
16
-
17
- s.add_dependency 'cucumber', [">= 1.0.2"]
16
+
17
+ s.add_dependency 'cucumber', ["~> 1.2.0"]
18
18
  s.add_dependency 'ruby-progressbar', ["~> 0.0.10"]
19
-
20
19
  end
@@ -16,6 +16,7 @@ module Cucumber
16
16
  end
17
17
 
18
18
  def after_features(features)
19
+ @state = :red if step_mother.scenarios(:failed).any?
19
20
  @io.print COLORS[state]
20
21
  @progress_bar.finish
21
22
  @io.print "\e[0m"
@@ -38,7 +39,7 @@ module Cucumber
38
39
  @in_background = false
39
40
  end
40
41
 
41
- def after_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background)
42
+ def after_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background, file_colon_line)
42
43
  return if @in_background || status == :skipped
43
44
  @state = :red if status == :failed
44
45
  if exception and [:failed, :undefined].include? status
metadata CHANGED
@@ -1,30 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuubar-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marcin Ciunelis
9
+ - Vasiliy Ermolovich
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2011-10-04 00:00:00.000000000Z
13
+ date: 2012-07-20 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: cucumber
16
- requirement: &2156145380 !ruby/object:Gem::Requirement
17
+ requirement: &21897360 !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
- - - ! '>='
20
+ - - ~>
20
21
  - !ruby/object:Gem::Version
21
- version: 1.0.2
22
+ version: 1.2.0
22
23
  type: :runtime
23
24
  prerelease: false
24
- version_requirements: *2156145380
25
+ version_requirements: *21897360
25
26
  - !ruby/object:Gem::Dependency
26
27
  name: ruby-progressbar
27
- requirement: &2156137580 !ruby/object:Gem::Requirement
28
+ requirement: &21890680 !ruby/object:Gem::Requirement
28
29
  none: false
29
30
  requirements:
30
31
  - - ~>
@@ -32,10 +33,11 @@ dependencies:
32
33
  version: 0.0.10
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *2156137580
36
+ version_requirements: *21890680
36
37
  description: the instafailing Cucumber progress bar formatter
37
38
  email:
38
39
  - marcin.ciunelis@gmail.com
40
+ - younash@gmail.com
39
41
  executables: []
40
42
  extensions: []
41
43
  extra_rdoc_files: []
@@ -43,6 +45,7 @@ files:
43
45
  - .document
44
46
  - .gitignore
45
47
  - .rspec
48
+ - CHANGELOG.md
46
49
  - Gemfile
47
50
  - LICENSE.txt
48
51
  - README.textile
@@ -63,12 +66,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
66
  - - ! '>='
64
67
  - !ruby/object:Gem::Version
65
68
  version: '0'
69
+ segments:
70
+ - 0
71
+ hash: 572475715868378928
66
72
  required_rubygems_version: !ruby/object:Gem::Requirement
67
73
  none: false
68
74
  requirements:
69
75
  - - ! '>='
70
76
  - !ruby/object:Gem::Version
71
77
  version: '0'
78
+ segments:
79
+ - 0
80
+ hash: 572475715868378928
72
81
  requirements: []
73
82
  rubyforge_project:
74
83
  rubygems_version: 1.8.10