fuubar-cucumber 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## 0.0.21 ## (November 2, 2013)
1
+ ## 0.0.22 (July 14, 2014) ##
2
+ * Display exceptions that do not cause a specific step to fail (by [@mthorn](https://github.com/mthorn))
3
+ * Change ruby-progressbar dependency constraint to `~> 1.2` (by [@lime](https://github.com/lime))
4
+
5
+ ## 0.0.21 (November 2, 2013) ##
2
6
  * Fix `uninitialized constant Cucumber::RbSupport::RbLanguage::LanguageSupport` error when `cucumber`
3
7
  gem is not in Gemfile (by [@nashby](https://github.com/nashby))
4
8
  * Update ruby-progressbar depedency to `~> 1.2.0` (by [@jaredmoody](https://github.com/jaredmoody))
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "fuubar-cucumber"
3
- s.version = '0.0.21'
3
+ s.version = '0.0.22'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ["Marcin Ciunelis", "Vasiliy Ermolovich"]
6
6
  s.email = ["marcin.ciunelis@gmail.com", "younash@gmail.com"]
@@ -15,5 +15,5 @@ Gem::Specification.new do |s|
15
15
  s.require_paths = ["lib"]
16
16
 
17
17
  s.add_dependency 'cucumber', ["~> 1.3.0"]
18
- s.add_dependency 'ruby-progressbar', ["~> 1.2.0"]
18
+ s.add_dependency 'ruby-progressbar', ["~> 1.2"]
19
19
  end
@@ -40,15 +40,6 @@ module Cucumber
40
40
  def after_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background, file_colon_line)
41
41
  return if @in_background || status == :skipped
42
42
  @state = :red if status == :failed
43
- if exception and [:failed, :undefined].include? status
44
- @io.print "\e[K" if colors_enabled?
45
- @issues_count += 1
46
- @io.puts
47
- @io.puts "#{@issues_count})"
48
- print_exception(exception, status, 2)
49
- @io.puts
50
- @io.flush
51
- end
52
43
  progress(status)
53
44
  end
54
45
 
@@ -72,6 +63,16 @@ module Cucumber
72
63
  end
73
64
  end
74
65
 
66
+ def exception(exception, status)
67
+ @io.print "\e[K" if colors_enabled?
68
+ @issues_count += 1
69
+ @io.puts
70
+ @io.puts "#{@issues_count})"
71
+ print_exception(exception, status, 2)
72
+ @io.puts
73
+ @io.flush
74
+ end
75
+
75
76
  protected
76
77
  def state
77
78
  @state ||= :green
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuubar-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Marcin Ciunelis
@@ -9,11 +10,12 @@ authors:
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-11-01 00:00:00.000000000 Z
13
+ date: 2014-07-14 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: cucumber
16
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
20
  - - ~>
19
21
  - !ruby/object:Gem::Version
@@ -21,6 +23,7 @@ dependencies:
21
23
  type: :runtime
22
24
  prerelease: false
23
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
24
27
  requirements:
25
28
  - - ~>
26
29
  - !ruby/object:Gem::Version
@@ -28,17 +31,19 @@ dependencies:
28
31
  - !ruby/object:Gem::Dependency
29
32
  name: ruby-progressbar
30
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
31
35
  requirements:
32
36
  - - ~>
33
37
  - !ruby/object:Gem::Version
34
- version: 1.2.0
38
+ version: '1.2'
35
39
  type: :runtime
36
40
  prerelease: false
37
41
  version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
38
43
  requirements:
39
44
  - - ~>
40
45
  - !ruby/object:Gem::Version
41
- version: 1.2.0
46
+ version: '1.2'
42
47
  description: the instafailing Cucumber progress bar formatter
43
48
  email:
44
49
  - marcin.ciunelis@gmail.com
@@ -61,25 +66,32 @@ files:
61
66
  homepage: https://github.com/martinciu/fuubar-cucumber
62
67
  licenses:
63
68
  - MIT
64
- metadata: {}
65
69
  post_install_message:
66
70
  rdoc_options: []
67
71
  require_paths:
68
72
  - lib
69
73
  required_ruby_version: !ruby/object:Gem::Requirement
74
+ none: false
70
75
  requirements:
71
- - - '>='
76
+ - - ! '>='
72
77
  - !ruby/object:Gem::Version
73
78
  version: '0'
79
+ segments:
80
+ - 0
81
+ hash: 1594091018100426814
74
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
+ none: false
75
84
  requirements:
76
- - - '>='
85
+ - - ! '>='
77
86
  - !ruby/object:Gem::Version
78
87
  version: '0'
88
+ segments:
89
+ - 0
90
+ hash: 1594091018100426814
79
91
  requirements: []
80
92
  rubyforge_project:
81
- rubygems_version: 2.1.5
93
+ rubygems_version: 1.8.24
82
94
  signing_key:
83
- specification_version: 4
95
+ specification_version: 3
84
96
  summary: the instafailing Cucumber progress bar formatter
85
97
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 2edb663f2054275ae3d3234facf032a4b169559c
4
- data.tar.gz: 9498d85a86fb99d5a665903a72da457faea6941d
5
- SHA512:
6
- metadata.gz: e8d8a12976b94e081979f81a174a5c089b74f300dd5f0685e1fdd43f9bf220a4cbc4747b03266ca8f382f7162f141ab32d4ddf6d1401cc86ccc90363107b23cb
7
- data.tar.gz: ac535ad5f25437dd48aa546da5b4e44e8c294ee946dee1c4d5898cdf5f5de46bcdcb7cbc6863cbae5fb61dac0ba593d361894019564fcc414c2710b1ebd4af22