aslakhellesoy-cucumber 0.1.99.8 → 0.1.99.9

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -57,6 +57,7 @@ Scenario Outlines, the rich command line, the nice output format and everything
57
57
  pure Ruby users have been enjoying for a while.
58
58
 
59
59
  == Bugfixes
60
+ * Can't use an empty string as a table value in a scenario outline (#172 Aslak Hellesøy)
60
61
  * Really skip skipped steps (#90 Aslak Hellesøy)
61
62
  * No output for multi-line strings (#71 Aslak Hellesøy)
62
63
  * Fix cucumber/formatters/unicode flaws on Windows (#145 Michael)
data/Manifest.txt CHANGED
@@ -127,6 +127,7 @@ examples/test_unit/features/step_definitions/test_unit_steps.rb
127
127
  examples/test_unit/features/test_unit.feature
128
128
  examples/tickets/Rakefile
129
129
  examples/tickets/cucumber.yml
130
+ examples/tickets/features/77.feature
130
131
  examples/tickets/features/lib/eatting_machine.rb
131
132
  examples/tickets/features/lib/pantry.rb
132
133
  examples/tickets/features/scenario_outline.feature
@@ -76,7 +76,7 @@ module Cucumber
76
76
  end
77
77
 
78
78
  def previous_step(step)
79
- i = @steps.index(step)
79
+ i = @steps.index(step) || -1
80
80
  @steps[i-1]
81
81
  end
82
82
 
@@ -118,7 +118,7 @@ module Cucumber
118
118
  def replace_name_arguments(argument_hash)
119
119
  name_with_arguments_replaced = @name
120
120
  argument_hash.each do |name, value|
121
- name_with_arguments_replaced = name_with_arguments_replaced.gsub(name, value)
121
+ name_with_arguments_replaced = name_with_arguments_replaced.gsub(name, value) if value
122
122
  end
123
123
  name_with_arguments_replaced
124
124
  end
@@ -3,7 +3,7 @@ module Cucumber #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
5
  TINY = 99
6
- PATCH = 8 # Set to nil for official release
6
+ PATCH = 9 # Set to nil for official release
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aslakhellesoy-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.99.8
4
+ version: 0.1.99.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Aslak Helles\xC3\xB8y"