gurke 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cd784fe71ce083826f06bc56a0c2688468a85ef
4
- data.tar.gz: e18151208f931bd806513d2be7639221a0e59325
3
+ metadata.gz: 853a3ee7ea89ffb4f171b4608f70fcdd6e50dcaf
4
+ data.tar.gz: 643c2f5b69b99678197f6379e466ee1ac6f792d0
5
5
  SHA512:
6
- metadata.gz: ac6c0e0c475b508ac69fcb3632e0f2b402fc3db9664f0d9783fa9bdd00be4c880733be1cc1382ce36edaae3a355f892ea8cc2e33f199ff033d5a80e0c02a40a9
7
- data.tar.gz: 535e2ddbfee0a1f991c1fe60929c3a546f634fcd23741422bfe42f99e6dd43e061ad7039e0fc3d95b4553a359de45ba6216616a3fb02fa1e7ccf6563305f034e
6
+ metadata.gz: 21f8099e43efb5fc9c37da59e6185aa9b1beab329b7356e382dac675546f551f6f19df8dc071314f58f03c42c4404ec7110adf0c40c457e9c900fce02a424fb6
7
+ data.tar.gz: d42e61f8196ff1f2c1e967af116d997fd6243e1f529d40f3e043d954acd88d5b20e202e9a26a58110ee720494425487c95fc03538fb9f44a3b9b2d5c23e0ebba
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.require_paths = %w(lib)
27
27
 
28
28
  spec.add_dependency 'trollop'
29
- spec.add_dependency 'gherkin'
29
+ spec.add_dependency 'gherkin', '~> 2.0'
30
30
  spec.add_dependency 'colorize'
31
31
 
32
32
  spec.add_development_dependency 'bundler', '~> 1.3'
@@ -2,7 +2,7 @@ module Gurke
2
2
  module VERSION
3
3
  MAJOR = 2
4
4
  MINOR = 4
5
- PATCH = 0
5
+ PATCH = 1
6
6
  STAGE = nil
7
7
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.').freeze
8
8
 
@@ -27,8 +27,9 @@ describe Gurke::Scenario do
27
27
  end
28
28
 
29
29
  it 'runs hook in scenario world' do
30
- expect(runner).to receive(:hook) do |scope, world|
30
+ expect(runner).to receive(:hook) do |scope, context, world|
31
31
  expect(scope).to eq :scenario
32
+ expect(context).to eq scenario
32
33
  expect(world).to eq scenario.send(:world)
33
34
  end
34
35
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gurke
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-28 00:00:00.000000000 Z
11
+ date: 2016-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: gherkin
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: colorize
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  version: '0'
140
140
  requirements: []
141
141
  rubyforge_project:
142
- rubygems_version: 2.4.6
142
+ rubygems_version: 2.5.1
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: An alternative gherkin feature runner inspired by rspec and turnip.