cucumber-timed_formatter 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ spec = Gem::Specification.new do |s|
21
21
  s.rdoc_options = ['--charset=utf-8', '--fmt=shtml', '--all']
22
22
  # s.extra_rdoc_files = []
23
23
 
24
- s.add_dependency 'cucumber', '>= 0.4'
24
+ s.add_dependency 'cucumber', '~> 1.2'
25
25
 
26
26
  # for release and doc generation, more less optional
27
27
  # s.add_development_dependency 'rake'
@@ -1,7 +1,7 @@
1
1
  module Cucumber
2
2
  module Formatter
3
3
  class Timed
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
6
6
  end
7
7
  end
data/lib/timed.rb CHANGED
@@ -21,7 +21,7 @@ module Cucumber
21
21
  @duration += Time.now - @my_time
22
22
  end
23
23
 
24
- def after_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background)
24
+ def after_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background, *args)
25
25
  super
26
26
  if status == :failed
27
27
  error_msg = "#{exception.message} (#{exception.class.name})\n#{exception.backtrace.join("\n")}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-timed_formatter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matthias Viehweger
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-14 00:00:00 Z
18
+ date: 2012-07-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: cucumber
@@ -23,13 +23,13 @@ dependencies:
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
- - - ">="
26
+ - - ~>
27
27
  - !ruby/object:Gem::Version
28
- hash: 3
28
+ hash: 11
29
29
  segments:
30
- - 0
31
- - 4
32
- version: "0.4"
30
+ - 1
31
+ - 2
32
+ version: "1.2"
33
33
  type: :runtime
34
34
  version_requirements: *id001
35
35
  description: "A progress-formatter with a little more info: Each Scenario is one line and the time is measured."
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  requirements: []
79
79
 
80
80
  rubyforge_project: "[none]"
81
- rubygems_version: 1.8.18
81
+ rubygems_version: 1.8.24
82
82
  signing_key:
83
83
  specification_version: 3
84
84
  summary: A progress-formatter with a little more info