cucumber 2.0.0.rc.5 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/History.md +14 -1
- data/cucumber.gemspec +1 -1
- data/features/docs/cli/dry_run.feature +7 -2
- data/features/docs/cli/exclude_files.feature +1 -2
- data/features/docs/cli/run_specific_scenarios.feature +11 -66
- data/features/docs/getting_started.feature +1 -1
- data/features/docs/writing_support_code/after_hooks.feature +24 -0
- data/lib/cucumber/cli/main.rb +1 -1
- data/lib/cucumber/core_ext/instance_exec.rb +1 -1
- data/lib/cucumber/formatter/legacy_api/adapter.rb +1 -1
- data/lib/cucumber/platform.rb +2 -1
- data/lib/cucumber/runtime.rb +1 -1
- data/lib/cucumber/runtime/after_hooks.rb +1 -1
- data/spec/cucumber/core_ext/instance_exec_spec.rb +4 -0
- metadata +61 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f689c6406ffc1e57288a28a0f95964ee7e9cd8a9
|
4
|
+
data.tar.gz: bf78142a081688825cc6df788f4ac8ce53157f8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ea1190a5e0b95e005c51c5e863f6013cb48ece1d38b8517417e34fa3776712bf6847dd610dbe690f4878b2b0b3e2334650254fb5a47089718ea62b4667ce7bf
|
7
|
+
data.tar.gz: 75e0e18e55d05db858de5b290986d4c7d304670c5c9061ec3dbd500621ebfa89b45d562d0a4ed74273807339a7c4e6a078ff40a72dcf8bd3fd39f7033de34cf4
|
data/.travis.yml
CHANGED
data/History.md
CHANGED
@@ -1,4 +1,17 @@
|
|
1
|
-
## [In Git](https://github.com/cucumber/cucumber/compare/v2.0.0
|
1
|
+
## [In Git](https://github.com/cucumber/cucumber/compare/v2.0.0...master)
|
2
|
+
|
3
|
+
## [v2.0.0](https://github.com/cucumber/cucumber/compare/v2.0.0.rc.5...v2.0.0)
|
4
|
+
|
5
|
+
### New Features
|
6
|
+
|
7
|
+
* Support ruby 2.2 in master (@mattwynne, @tooky)
|
8
|
+
* Tell users to use the `--init` command ([818](https://github.com/cucumber/cucumber/pull/818) @olleolleolle)
|
9
|
+
|
10
|
+
### Bugfixes
|
11
|
+
|
12
|
+
* Ensure After Hooks execute in reverse order (@tooky)
|
13
|
+
|
14
|
+
## [v2.0.0.rc5](https://github.com/cucumber/cucumber/compare/v2.0.0.rc.4...v2.0.0.rc.5)
|
2
15
|
|
3
16
|
### New Features
|
4
17
|
|
data/cucumber.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.platform = Gem::Platform::RUBY
|
15
15
|
s.required_ruby_version = ">= 1.9.3"
|
16
16
|
|
17
|
-
s.add_dependency 'cucumber-core', '~> 1.1.
|
17
|
+
s.add_dependency 'cucumber-core', '~> 1.1.3'
|
18
18
|
s.add_dependency 'builder', '>= 2.1.2'
|
19
19
|
s.add_dependency 'diff-lcs', '>= 1.1.3'
|
20
20
|
s.add_dependency 'gherkin', '~> 2.12'
|
@@ -1,4 +1,7 @@
|
|
1
1
|
Feature: Dry Run
|
2
|
+
|
3
|
+
Dry run gives you a way to quickly scan your features without actually running them.
|
4
|
+
|
2
5
|
- Invokes formatters without executing the steps.
|
3
6
|
- This also omits the loading of your support/env.rb file if it exists.
|
4
7
|
|
@@ -23,7 +26,8 @@ Feature: Dry Run
|
|
23
26
|
0m0.012s
|
24
27
|
|
25
28
|
"""
|
26
|
-
|
29
|
+
|
30
|
+
Scenario: In strict mode
|
27
31
|
Given a file named "features/test.feature" with:
|
28
32
|
"""
|
29
33
|
Feature: test
|
@@ -44,7 +48,8 @@ Feature: Dry Run
|
|
44
48
|
0m0.012s
|
45
49
|
|
46
50
|
"""
|
47
|
-
|
51
|
+
|
52
|
+
Scenario: In strict mode with an undefined step
|
48
53
|
Given a file named "features/test.feature" with:
|
49
54
|
"""
|
50
55
|
Feature: test
|
@@ -1,4 +1,5 @@
|
|
1
1
|
Feature: Excluding ruby and feature files from runs
|
2
|
+
|
2
3
|
Developers are able to easily exclude files from cucumber runs
|
3
4
|
This is a nice feature to have in conjunction with profiles, so you can exclude
|
4
5
|
certain environment files from certain runs.
|
@@ -9,9 +10,7 @@ Feature: Excluding ruby and feature files from runs
|
|
9
10
|
And an empty file named "features/step_definitions/foof.rb"
|
10
11
|
And an empty file named "features/step_definitions/foot.rb"
|
11
12
|
And an empty file named "features/support/require_me.rb"
|
12
|
-
|
13
13
|
When I run `cucumber features -q --verbose --exclude features/support/dont --exclude foo[zf]`
|
14
|
-
|
15
14
|
Then "features/support/require_me.rb" should be required
|
16
15
|
And "features/step_definitions/foot.rb" should be required
|
17
16
|
And "features/support/dont_require_me.rb" should not be required
|
@@ -3,6 +3,12 @@ Feature: Run specific scenarios
|
|
3
3
|
You can choose to run a specific scenario using the file:line format,
|
4
4
|
or you can pass in a file with a list of scenarios using @-notation.
|
5
5
|
|
6
|
+
The line number can fall anywhere within the body of a scenario, including
|
7
|
+
steps, tags, comments, description, data tables or doc strings.
|
8
|
+
|
9
|
+
For scenario outlines, if the line hits one example row, just that one
|
10
|
+
will be run. Otherwise all examples in the table or outline will be run.
|
11
|
+
|
6
12
|
Background:
|
7
13
|
Given the standard step definitions
|
8
14
|
|
@@ -10,83 +16,22 @@ Feature: Run specific scenarios
|
|
10
16
|
Given a file named "features/test.feature" with:
|
11
17
|
"""
|
12
18
|
Feature:
|
13
|
-
|
19
|
+
|
20
|
+
Scenario: Miss
|
14
21
|
Given this step is undefined
|
15
22
|
|
16
23
|
Scenario: Hit
|
17
24
|
Given this step passes
|
18
25
|
"""
|
19
|
-
When I run `cucumber features/test.feature:
|
26
|
+
When I run `cucumber features/test.feature:7 --format pretty --quiet`
|
20
27
|
Then it should pass with:
|
21
28
|
"""
|
22
|
-
|
23
|
-
"""
|
24
|
-
|
25
|
-
Scenario: Single example from a scenario outline
|
26
|
-
Given a file named "features/test.feature" with:
|
27
|
-
"""
|
28
|
-
Feature:
|
29
|
-
Scenario Outline:
|
30
|
-
Given this step <something>
|
31
|
-
|
32
|
-
Examples:
|
33
|
-
| something |
|
34
|
-
| is undefined |
|
35
|
-
| fails |
|
36
|
-
|
37
|
-
Scenario: Miss
|
38
|
-
Given this step passes
|
39
|
-
"""
|
40
|
-
When I run `cucumber features/test.feature:8 -f progress`
|
41
|
-
Then it should fail with:
|
42
|
-
"""
|
43
|
-
1 scenario (1 failed)
|
44
|
-
"""
|
45
|
-
|
46
|
-
@spawn
|
47
|
-
Scenario: Specify 2 line numbers where one is a tag
|
48
|
-
Given a file named "features/test.feature" with:
|
49
|
-
"""
|
50
|
-
Feature: Sample
|
51
|
-
|
52
|
-
@two @three
|
53
|
-
Scenario:
|
54
|
-
Given this step passes
|
29
|
+
Feature:
|
55
30
|
|
56
|
-
|
57
|
-
Scenario:
|
31
|
+
Scenario: Hit
|
58
32
|
Given this step passes
|
59
|
-
"""
|
60
|
-
When I run `cucumber -q features/test.feature:3:8`
|
61
|
-
Then it should pass with:
|
62
|
-
"""
|
63
|
-
2 scenarios (2 passed)
|
64
|
-
2 steps (2 passed)
|
65
|
-
"""
|
66
|
-
|
67
|
-
Scenario: Specify the line number of a row
|
68
|
-
Given a file named "features/test.feature" with:
|
69
|
-
"""
|
70
|
-
Feature: Sample
|
71
|
-
Scenario: Passing
|
72
|
-
Given this step is a table step
|
73
|
-
| a | b |
|
74
|
-
| c | d |
|
75
|
-
|
76
|
-
"""
|
77
|
-
When I run `cucumber -q features/test.feature:4`
|
78
|
-
Then it should pass with:
|
79
|
-
"""
|
80
|
-
Feature: Sample
|
81
|
-
|
82
|
-
Scenario: Passing
|
83
|
-
Given this step is a table step
|
84
|
-
| a | b |
|
85
|
-
| c | d |
|
86
33
|
|
87
34
|
1 scenario (1 passed)
|
88
|
-
1 step (1 passed)
|
89
|
-
|
90
35
|
"""
|
91
36
|
|
92
37
|
Scenario: Use @-notation to specify a file containing feature file list
|
@@ -9,7 +9,7 @@ Feature: Getting started
|
|
9
9
|
When I run `cucumber`
|
10
10
|
Then it should fail with:
|
11
11
|
"""
|
12
|
-
No such file or directory - features.
|
12
|
+
No such file or directory - features. You can use `cucumber --init` to get started.
|
13
13
|
"""
|
14
14
|
|
15
15
|
Scenario: Accidentally run Cucumber in a folder with Ruby files in it.
|
@@ -54,3 +54,27 @@ Feature: After Hooks
|
|
54
54
|
./features/support/bad_hook.rb:2:in `After'
|
55
55
|
"""
|
56
56
|
|
57
|
+
Scenario: After hooks are executed in reverse order of definition
|
58
|
+
Given a file named "features/support/hooks.rb" with:
|
59
|
+
"""
|
60
|
+
After do
|
61
|
+
puts "First"
|
62
|
+
end
|
63
|
+
|
64
|
+
After do
|
65
|
+
puts "Second"
|
66
|
+
end
|
67
|
+
"""
|
68
|
+
And a file named "features/pass.feature" with:
|
69
|
+
"""
|
70
|
+
Feature:
|
71
|
+
Scenario:
|
72
|
+
Given this step passes
|
73
|
+
"""
|
74
|
+
When I run `cucumber -f progress`
|
75
|
+
Then the output should contain:
|
76
|
+
"""
|
77
|
+
Second
|
78
|
+
|
79
|
+
First
|
80
|
+
"""
|
data/lib/cucumber/cli/main.rb
CHANGED
@@ -43,7 +43,7 @@ module Cucumber
|
|
43
43
|
@err.puts("Couldn't open #{e.path}")
|
44
44
|
@kernel.exit(1)
|
45
45
|
rescue FeatureFolderNotFoundException => e
|
46
|
-
@err.puts(e.message + ".
|
46
|
+
@err.puts(e.message + ". You can use `cucumber --init` to get started.")
|
47
47
|
@kernel.exit(1)
|
48
48
|
rescue ProfilesNotDefinedError, YmlLoadError, ProfileNotFound => e
|
49
49
|
@err.puts(e.message)
|
@@ -47,7 +47,7 @@ class Object #:nodoc:
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
INSTANCE_EXEC_OFFSET =
|
50
|
+
INSTANCE_EXEC_OFFSET = -3
|
51
51
|
|
52
52
|
def replace_instance_exec_invocation_line!(backtrace, instance_exec_invocation_line, pseudo_method)
|
53
53
|
return if Cucumber.use_full_backtrace
|
@@ -1005,7 +1005,7 @@ module Cucumber
|
|
1005
1005
|
def filtered_step_exception(step)
|
1006
1006
|
exception = filtered_exception
|
1007
1007
|
exception.backtrace << StepBacktraceLine.new(step).to_s
|
1008
|
-
return exception
|
1008
|
+
return BacktraceFilter.new(exception).exception
|
1009
1009
|
end
|
1010
1010
|
end
|
1011
1011
|
|
data/lib/cucumber/platform.rb
CHANGED
@@ -4,7 +4,7 @@ require 'rbconfig'
|
|
4
4
|
|
5
5
|
module Cucumber
|
6
6
|
unless defined?(Cucumber::VERSION)
|
7
|
-
VERSION = '2.0.0
|
7
|
+
VERSION = '2.0.0'
|
8
8
|
BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
|
9
9
|
LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
|
10
10
|
JRUBY = defined?(JRUBY_VERSION)
|
@@ -13,6 +13,7 @@ module Cucumber
|
|
13
13
|
WINDOWS_MRI = WINDOWS && !JRUBY
|
14
14
|
RAILS = defined?(Rails)
|
15
15
|
RUBY_BINARY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
|
16
|
+
RUBY_2_2 = RUBY_VERSION =~ /^2\.2/
|
16
17
|
RUBY_2_1 = RUBY_VERSION =~ /^2\.1/
|
17
18
|
RUBY_2_0 = RUBY_VERSION =~ /^2\.0/
|
18
19
|
RUBY_1_9 = RUBY_VERSION =~ /^1\.9/
|
data/lib/cucumber/runtime.rb
CHANGED
metadata
CHANGED
@@ -1,313 +1,313 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.1.
|
19
|
+
version: 1.1.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.1.
|
26
|
+
version: 1.1.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: builder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 2.1.2
|
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
40
|
version: 2.1.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: diff-lcs
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.1.3
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.1.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: gherkin
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '2.12'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.12'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: multi_json
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 1.7.5
|
76
|
-
- -
|
76
|
+
- - <
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '2.0'
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: 1.7.5
|
86
|
-
- -
|
86
|
+
- - <
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '2.0'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: multi_test
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- -
|
93
|
+
- - '>='
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: 0.1.2
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- -
|
100
|
+
- - '>='
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: 0.1.2
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: aruba
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ~>
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: 0.6.1
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- -
|
114
|
+
- - ~>
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: 0.6.1
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: json
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- -
|
121
|
+
- - ~>
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '1.7'
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- -
|
128
|
+
- - ~>
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '1.7'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: nokogiri
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - ~>
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '1.5'
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - ~>
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '1.5'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: rake
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
|
-
- -
|
149
|
+
- - '>='
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: 0.9.2
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
|
-
- -
|
156
|
+
- - '>='
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: 0.9.2
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: rspec
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
|
-
- -
|
163
|
+
- - '>='
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '3.0'
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
|
-
- -
|
170
|
+
- - '>='
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: '3.0'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: simplecov
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
|
-
- -
|
177
|
+
- - '>='
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: 0.6.2
|
180
180
|
type: :development
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
|
-
- -
|
184
|
+
- - '>='
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: 0.6.2
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: coveralls
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
|
-
- -
|
191
|
+
- - ~>
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: '0.7'
|
194
194
|
type: :development
|
195
195
|
prerelease: false
|
196
196
|
version_requirements: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
|
-
- -
|
198
|
+
- - ~>
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0.7'
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: syntax
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
|
-
- -
|
205
|
+
- - '>='
|
206
206
|
- !ruby/object:Gem::Version
|
207
207
|
version: 1.0.0
|
208
208
|
type: :development
|
209
209
|
prerelease: false
|
210
210
|
version_requirements: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
|
-
- -
|
212
|
+
- - '>='
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: 1.0.0
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
216
|
name: pry
|
217
217
|
requirement: !ruby/object:Gem::Requirement
|
218
218
|
requirements:
|
219
|
-
- -
|
219
|
+
- - '>='
|
220
220
|
- !ruby/object:Gem::Version
|
221
221
|
version: '0'
|
222
222
|
type: :development
|
223
223
|
prerelease: false
|
224
224
|
version_requirements: !ruby/object:Gem::Requirement
|
225
225
|
requirements:
|
226
|
-
- -
|
226
|
+
- - '>='
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: '0'
|
229
229
|
- !ruby/object:Gem::Dependency
|
230
230
|
name: bcat
|
231
231
|
requirement: !ruby/object:Gem::Requirement
|
232
232
|
requirements:
|
233
|
-
- -
|
233
|
+
- - ~>
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: 0.6.2
|
236
236
|
type: :development
|
237
237
|
prerelease: false
|
238
238
|
version_requirements: !ruby/object:Gem::Requirement
|
239
239
|
requirements:
|
240
|
-
- -
|
240
|
+
- - ~>
|
241
241
|
- !ruby/object:Gem::Version
|
242
242
|
version: 0.6.2
|
243
243
|
- !ruby/object:Gem::Dependency
|
244
244
|
name: kramdown
|
245
245
|
requirement: !ruby/object:Gem::Requirement
|
246
246
|
requirements:
|
247
|
-
- -
|
247
|
+
- - ~>
|
248
248
|
- !ruby/object:Gem::Version
|
249
249
|
version: '0.14'
|
250
250
|
type: :development
|
251
251
|
prerelease: false
|
252
252
|
version_requirements: !ruby/object:Gem::Requirement
|
253
253
|
requirements:
|
254
|
-
- -
|
254
|
+
- - ~>
|
255
255
|
- !ruby/object:Gem::Version
|
256
256
|
version: '0.14'
|
257
257
|
- !ruby/object:Gem::Dependency
|
258
258
|
name: yard
|
259
259
|
requirement: !ruby/object:Gem::Requirement
|
260
260
|
requirements:
|
261
|
-
- -
|
261
|
+
- - ~>
|
262
262
|
- !ruby/object:Gem::Version
|
263
263
|
version: 0.8.0
|
264
264
|
type: :development
|
265
265
|
prerelease: false
|
266
266
|
version_requirements: !ruby/object:Gem::Requirement
|
267
267
|
requirements:
|
268
|
-
- -
|
268
|
+
- - ~>
|
269
269
|
- !ruby/object:Gem::Version
|
270
270
|
version: 0.8.0
|
271
271
|
- !ruby/object:Gem::Dependency
|
272
272
|
name: capybara
|
273
273
|
requirement: !ruby/object:Gem::Requirement
|
274
274
|
requirements:
|
275
|
-
- -
|
275
|
+
- - '>='
|
276
276
|
- !ruby/object:Gem::Version
|
277
277
|
version: '2.1'
|
278
278
|
type: :development
|
279
279
|
prerelease: false
|
280
280
|
version_requirements: !ruby/object:Gem::Requirement
|
281
281
|
requirements:
|
282
|
-
- -
|
282
|
+
- - '>='
|
283
283
|
- !ruby/object:Gem::Version
|
284
284
|
version: '2.1'
|
285
285
|
- !ruby/object:Gem::Dependency
|
286
286
|
name: rack-test
|
287
287
|
requirement: !ruby/object:Gem::Requirement
|
288
288
|
requirements:
|
289
|
-
- -
|
289
|
+
- - '>='
|
290
290
|
- !ruby/object:Gem::Version
|
291
291
|
version: 0.6.1
|
292
292
|
type: :development
|
293
293
|
prerelease: false
|
294
294
|
version_requirements: !ruby/object:Gem::Requirement
|
295
295
|
requirements:
|
296
|
-
- -
|
296
|
+
- - '>='
|
297
297
|
- !ruby/object:Gem::Version
|
298
298
|
version: 0.6.1
|
299
299
|
- !ruby/object:Gem::Dependency
|
300
300
|
name: sinatra
|
301
301
|
requirement: !ruby/object:Gem::Requirement
|
302
302
|
requirements:
|
303
|
-
- -
|
303
|
+
- - '>='
|
304
304
|
- !ruby/object:Gem::Version
|
305
305
|
version: 1.3.2
|
306
306
|
type: :development
|
307
307
|
prerelease: false
|
308
308
|
version_requirements: !ruby/object:Gem::Requirement
|
309
309
|
requirements:
|
310
|
-
- -
|
310
|
+
- - '>='
|
311
311
|
- !ruby/object:Gem::Version
|
312
312
|
version: 1.3.2
|
313
313
|
description: Behaviour Driven Development with elegance and joy
|
@@ -317,11 +317,11 @@ executables:
|
|
317
317
|
extensions: []
|
318
318
|
extra_rdoc_files: []
|
319
319
|
files:
|
320
|
-
-
|
321
|
-
-
|
322
|
-
-
|
323
|
-
-
|
324
|
-
-
|
320
|
+
- .coveralls.yml
|
321
|
+
- .rspec
|
322
|
+
- .ruby-gemset
|
323
|
+
- .travis.yml
|
324
|
+
- .yardopts
|
325
325
|
- CONTRIBUTING.md
|
326
326
|
- Gemfile
|
327
327
|
- History.md
|
@@ -765,6 +765,7 @@ files:
|
|
765
765
|
- spec/cucumber/cli/profile_loader_spec.rb
|
766
766
|
- spec/cucumber/configuration_spec.rb
|
767
767
|
- spec/cucumber/constantize_spec.rb
|
768
|
+
- spec/cucumber/core_ext/instance_exec_spec.rb
|
768
769
|
- spec/cucumber/core_ext/proc_spec.rb
|
769
770
|
- spec/cucumber/file_specs_spec.rb
|
770
771
|
- spec/cucumber/filters/activate_steps_spec.rb
|
@@ -812,25 +813,25 @@ licenses:
|
|
812
813
|
metadata: {}
|
813
814
|
post_install_message:
|
814
815
|
rdoc_options:
|
815
|
-
-
|
816
|
+
- --charset=UTF-8
|
816
817
|
require_paths:
|
817
818
|
- lib
|
818
819
|
required_ruby_version: !ruby/object:Gem::Requirement
|
819
820
|
requirements:
|
820
|
-
- -
|
821
|
+
- - '>='
|
821
822
|
- !ruby/object:Gem::Version
|
822
823
|
version: 1.9.3
|
823
824
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
824
825
|
requirements:
|
825
|
-
- -
|
826
|
+
- - '>='
|
826
827
|
- !ruby/object:Gem::Version
|
827
|
-
version:
|
828
|
+
version: '0'
|
828
829
|
requirements: []
|
829
830
|
rubyforge_project:
|
830
|
-
rubygems_version: 2.
|
831
|
+
rubygems_version: 2.0.14
|
831
832
|
signing_key:
|
832
833
|
specification_version: 4
|
833
|
-
summary: cucumber-2.0.0
|
834
|
+
summary: cucumber-2.0.0
|
834
835
|
test_files:
|
835
836
|
- features/docs/api/list_step_defs_as_json.feature
|
836
837
|
- features/docs/api/run_cli_main_with_existing_runtime.feature
|
@@ -920,6 +921,7 @@ test_files:
|
|
920
921
|
- spec/cucumber/cli/profile_loader_spec.rb
|
921
922
|
- spec/cucumber/configuration_spec.rb
|
922
923
|
- spec/cucumber/constantize_spec.rb
|
924
|
+
- spec/cucumber/core_ext/instance_exec_spec.rb
|
923
925
|
- spec/cucumber/core_ext/proc_spec.rb
|
924
926
|
- spec/cucumber/file_specs_spec.rb
|
925
927
|
- spec/cucumber/filters/activate_steps_spec.rb
|