sauce-cucumber 3.2.0 → 3.2.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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDkxMjQ3OGRhOTJkYTBlMDZiOTY4NjQwN2MzMjE0ZDFmNmVhNzE3Zg==
4
+ MTFiZDdiZmU1MTNlODhmYzEyY2Y3MjQxZDAwN2IyZjViMmEyYjhlOQ==
5
5
  data.tar.gz: !binary |-
6
- ZmM5OGZlNzQwNzE5MmYxNDUzNmE1MDgzNDMzNjI5YTZjYzNkZTFhYg==
6
+ ZjU4ZjQ4ZDc5MzU3NDJiNDBiN2I5YzhmODNmOThlOTQxMjE2NDBhMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTE3ZmZkNzRjMTY2YTRiNzNiYWU4NDBiZjAwODgzOWRjZTBkMWZjOGViZjM3
10
- OTA0ZmU1Y2IzZDY4OTYwYWZmNTkxMTIwZTViNzQ2ZDRhNDVhMzkxN2Q3MzUw
11
- MWNiZTRlY2E1NTRjNzEzNGFiZmQ3NjJhZjYxZmFkOWMxNDAwMjM=
9
+ NjJiMTYxYjA4NjA1NGZhNTEwYzU4NzQ5ZWZlNDk3MDdmOWJhNDBiMzQxYWQx
10
+ NDhmMWEyZjI1ZWQ3NjdmZmZhZDUyMTNmZTk1YTY4ZjI2MmQyMjRiMDQxOTZl
11
+ NDcwZjdkMWY4NTEyMjE3ZjYxMGIxMTUwZmM4MmFmMDhjMTQyNmQ=
12
12
  data.tar.gz: !binary |-
13
- ZjgwMjAzYzkzZTdhMmRiNTAzZmU4MDU4MTYxY2I0MTgxYjM5NDY2ODM4MmJk
14
- YzkyNTgxNDFmYWNkZjJiZTM4YzIwNmE3YzI3Njg3YzcxNGI4N2IzNjQ1OGVl
15
- YzA3YTgxZjcyNmViMWE5MWUyNTk2MTY4ZTAyMjE2YjY1MTBlYzc=
13
+ MGYyNmQxYjQxYzI2MmIzYWRlODI5ZWNkMWE0YTBlYjQ5NDY3OTdhMGRiMjNj
14
+ YWRhNzVmMzg5ODAyNGQ5NTIxZWE0ODEwOGM2ZjJlY2EzY2IyZTAzOTgwYjkx
15
+ MDg2NmRlYjAyMTJkMGI2NTMxMWJiM2FjY2QwMjQ2YzMxMGFiMzM=
data/changelog.markdown CHANGED
@@ -1,5 +1,9 @@
1
1
  Changelog
2
2
  =========
3
+ 3.2.1
4
+ -----
5
+ * Allowed scenario outlines to run more then once
6
+
3
7
  3.1.2
4
8
  -----
5
9
  * Removed Sauce::Job is favour of sauce\_whisk
@@ -124,10 +124,11 @@ module Sauce
124
124
  job.save unless job.nil?
125
125
 
126
126
  # This allow us to execute steps (n) times
127
- unless scenario.instance_of? ::Cucumber::Ast::OutlineTable::ExampleRow
128
- scenario.steps.each do |step|
129
- step.instance_variable_set(:@skip_invoke, false)
130
- end
127
+ is_example_row = scenario.instance_of? ::Cucumber::Ast::OutlineTable::ExampleRow
128
+ steps = is_example_row ? scenario.instance_variable_get(:@step_invocations) : scenario.steps
129
+
130
+ steps.each do |step|
131
+ step.instance_variable_set(:@skip_invoke, false)
131
132
  end
132
133
 
133
134
  block.call
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = "sauce-cucumber"
15
15
  gem.require_paths = ["lib"]
16
- gem.version = "#{Sauce::MAJOR_VERSION}.0"
16
+ gem.version = "#{Sauce::MAJOR_VERSION}.1"
17
17
 
18
18
  gem.add_dependency('sauce', "~> #{Sauce.version}")
19
19
  gem.add_dependency('sauce_whisk', "~>0.0.10")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - R. Tyler Croy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-25 00:00:00.000000000 Z
12
+ date: 2013-11-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sauce
@@ -90,3 +90,4 @@ signing_key:
90
90
  specification_version: 4
91
91
  summary: ''
92
92
  test_files: []
93
+ has_rdoc: