cucumber-wire 6.0.0 → 6.2.0
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 +4 -4
- data/CHANGELOG.md +67 -67
- data/CONTRIBUTING.md +2 -13
- data/lib/cucumber/wire/plugin.rb +6 -0
- data/lib/cucumber/wire/version +1 -1
- data/lib/cucumber/wire.rb +4 -2
- metadata +25 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1fd0ef9db88f635f118ea111bfcacf07c78c9ba12188bf9665f1295b1a62c109
|
|
4
|
+
data.tar.gz: d6711c945d6dc8d73df55acd712857ccea77f1ef61cbdc31acedda8f7f159236
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f8e6bfcdd0864a50bf3213cbe4704308100fa67affdf4cb945646433bf9f3434d943dfb04429f15a1be8c12b3ada3f2bea39f750ea2b5f4f693063180fb7c2c
|
|
7
|
+
data.tar.gz: b19e74fb0b2ed1ed30fd0fb027569982f67128bc749e7d006eec7cf7e54607651a07a83e9fa0f5f19d64596172308481b04c222712dcab94fc92901745223306
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
@@ -8,121 +8,121 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt
|
|
|
8
8
|
|
|
9
9
|
Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md) for more info on how to contribute to Cucumber.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## [Unreleased]
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
### Changed
|
|
14
14
|
|
|
15
15
|
### Added
|
|
16
16
|
|
|
17
|
-
###
|
|
18
|
-
|
|
19
|
-
### Deprecated
|
|
17
|
+
### Fixed
|
|
20
18
|
|
|
21
19
|
### Removed
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
## [6.2.0]
|
|
24
22
|
|
|
25
|
-
###
|
|
23
|
+
### Changed
|
|
26
24
|
|
|
25
|
+
- Patched `cucumber-core`, `cucumber-expressions` and `cucumber-messages`
|
|
27
26
|
|
|
28
|
-
## [6.
|
|
27
|
+
## [6.1.1]
|
|
29
28
|
|
|
30
|
-
###
|
|
29
|
+
### Changed
|
|
31
30
|
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
([#44](https://github.com/cucumber/cucumber-ruby-wire/pull/44))
|
|
31
|
+
- Use the new `InstallPlugin` hook rather than `AfterConfiguration`.
|
|
32
|
+
([#52](https://github.com/cucumber/cucumber-ruby-wire/pull/52))
|
|
35
33
|
|
|
36
|
-
## [
|
|
34
|
+
## [6.1.0]
|
|
35
|
+
### Added
|
|
36
|
+
- The possibility to verify if the plugin has already been installed or not. To
|
|
37
|
+
do so, use `Cucumber::Wire::Plugin.installed?`.
|
|
38
|
+
([46](https://github.com/cucumber/cucumber-ruby-wire/pull/46))
|
|
37
39
|
|
|
38
|
-
###
|
|
40
|
+
### Changed
|
|
41
|
+
- `cucumber-wire` is now able to install itself as a plugin into `cucumber-ruby`.
|
|
42
|
+
([46](https://github.com/cucumber/cucumber-ruby-wire/pull/46))
|
|
39
43
|
|
|
40
|
-
|
|
44
|
+
## [6.0.1]
|
|
45
|
+
### Changed
|
|
46
|
+
- Patched `cucumber-core` and `cucumber-messages`
|
|
41
47
|
|
|
42
|
-
## [
|
|
48
|
+
## [6.0.0]
|
|
49
|
+
### Changed
|
|
50
|
+
- Updated `cucumber-core` ~> 10.0.0 and `cucumber-messages` ~> 17.0.0
|
|
51
|
+
This brings breaking changes because of internal changes in Cucumber::Messages.
|
|
52
|
+
([#44](https://github.com/cucumber/cucumber-ruby-wire/pull/44))
|
|
43
53
|
|
|
54
|
+
## [5.0.1]
|
|
44
55
|
### Changed
|
|
56
|
+
- Updated `cucumber-core` ~> 9.0.1
|
|
45
57
|
|
|
58
|
+
## [5.0.0]
|
|
59
|
+
### Changed
|
|
46
60
|
- Update from cucumber-expressions 10 to 12 introduces significant underlying changes
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
### Dependencies
|
|
51
|
-
|
|
61
|
+
in how step definitions are matched. This should be backward compatible but there
|
|
62
|
+
is a risk of regressions.
|
|
52
63
|
- Updated dependencies (look at the diff for details)
|
|
53
64
|
|
|
54
|
-
## [4.0.1]
|
|
55
|
-
|
|
56
|
-
### Dependencies
|
|
57
|
-
|
|
65
|
+
## [4.0.1]
|
|
66
|
+
### Changed
|
|
58
67
|
- Updated dependencies (look at the diff for details)
|
|
59
68
|
|
|
60
|
-
## [
|
|
61
|
-
|
|
62
|
-
- Release failed
|
|
63
|
-
|
|
64
|
-
## [3.1.0](https://github.com/cucumber/cucumber-ruby-wire/compare/v3.0.0...v3.1.0)
|
|
65
|
-
|
|
69
|
+
## [3.1.0]
|
|
66
70
|
### Changed
|
|
67
|
-
|
|
71
|
+
- `cucumber-core` ~> 7.1.0
|
|
72
|
+
- `cucumber-messages` ~> 12.2.0
|
|
68
73
|
- Updated gems:
|
|
69
|
-
- `cucumber-core` ~> 7.1.0
|
|
70
|
-
- `cucumber-messages` ~> 12.2.0
|
|
71
|
-
|
|
72
|
-
## [3.0.0](https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.1...v3.0.0)
|
|
73
74
|
|
|
75
|
+
## [3.0.0]
|
|
74
76
|
### Changed
|
|
75
|
-
|
|
76
77
|
- Use `cucumber-ruby-core` 7.0.0
|
|
77
|
-
|
|
78
|
+
- cucumber-cucumber-expressions ~> 10
|
|
79
|
+
- cucumber-messages ~> 12
|
|
78
80
|
- Updated monorepo libraries:
|
|
79
|
-
- cucumber-cucumber-expressions ~> 10
|
|
80
|
-
- cucumber-messages ~> 12
|
|
81
|
-
|
|
82
|
-
## [2.0.1](https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.0...v2.0.1)
|
|
83
81
|
|
|
82
|
+
## [2.0.1]
|
|
84
83
|
### Removed
|
|
85
|
-
|
|
86
84
|
- Replace use of `MultiJSON` to use native JSON gem
|
|
87
85
|
|
|
88
|
-
## [2.0.0]
|
|
89
|
-
|
|
86
|
+
## [2.0.0]
|
|
90
87
|
### Changed
|
|
91
|
-
|
|
92
88
|
- Use `cucumber-ruby-core` 6.0.0
|
|
93
89
|
|
|
94
|
-
## [1.2.0]
|
|
95
|
-
|
|
96
|
-
### Removed
|
|
97
|
-
|
|
98
|
-
- Multiline arguments do not need `Location` anymore
|
|
99
|
-
|
|
90
|
+
## [1.2.0]
|
|
100
91
|
### Added
|
|
101
|
-
|
|
102
92
|
- Use `Cucumber:Messages::IdGenerator::UUID` to provide ids for `Hooks`
|
|
103
93
|
|
|
104
|
-
|
|
94
|
+
### Removed
|
|
95
|
+
- Multiline arguments do not need `Location` anymore
|
|
105
96
|
|
|
97
|
+
## [1.1.0]
|
|
106
98
|
### Changed
|
|
107
|
-
|
|
108
99
|
- Update to cucumber-expressions 8.0.2
|
|
109
100
|
- Update to cucumber 4.0.0
|
|
110
101
|
|
|
111
|
-
## [1.0.0]
|
|
112
|
-
|
|
102
|
+
## [1.0.0]
|
|
113
103
|
### Added
|
|
114
|
-
|
|
115
104
|
- Added this CHANGELOG.md file per [cucumber/cucumber #251](https://github.com/cucumber/cucumber/issues/251) ([#13](https://github.com/cucumber/cucumber-ruby-wire/pull/13) [jaysonesmith](https://github.com/jaysonesmith))
|
|
116
105
|
|
|
117
106
|
### Changed
|
|
118
|
-
|
|
119
107
|
- Changes to work with a modern Cucumber-Ruby ([#14](https://github.com/cucumber/cucumber-ruby-wire/pull/14) [brasmusson](https://github.com/brasmusson))
|
|
120
108
|
- Adapt to the move of Location to Cucumber::Core::Test ([#14](https://github.com/cucumber/cucumber-ruby-wire/pull/14) [brasmusson](https://github.com/brasmusson))
|
|
121
109
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
[
|
|
125
|
-
[
|
|
126
|
-
[
|
|
127
|
-
[
|
|
128
|
-
[
|
|
110
|
+
[Unreleased]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.2.0...main
|
|
111
|
+
[6.2.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.1.1...v6.2.0
|
|
112
|
+
[6.1.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.1.0...v6.1.1
|
|
113
|
+
[6.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.1...v6.1.0
|
|
114
|
+
[6.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.0...v6.0.1
|
|
115
|
+
[6.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v5.0.1...v6.0.0
|
|
116
|
+
[5.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v5.0.0...v5.0.1
|
|
117
|
+
[5.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v4.0.1...v5.0.0
|
|
118
|
+
[4.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v4.0.0...v4.0.1
|
|
119
|
+
[3.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v3.0.0...v3.1.0
|
|
120
|
+
[3.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.1...v3.0.0
|
|
121
|
+
[2.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.0...v2.0.1
|
|
122
|
+
[2.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v1.2.0...v2.0.0
|
|
123
|
+
[1.2.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v1.1.0...v1.2.0
|
|
124
|
+
[1.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v1.0.0...v1.1.0
|
|
125
|
+
[1.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v0.0.1...v1.0.0
|
|
126
|
+
ire/compare/v6.1.0...main
|
|
127
|
+
[6.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.1...v6.1.0
|
|
128
|
+
[6.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.0...v6.0.1
|
data/CONTRIBUTING.md
CHANGED
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Upgrade gems with `scripts/update-gemspec`
|
|
5
|
-
* Bump the version number in `lib/cucumber/wire/version`
|
|
6
|
-
* Update `CHANGELOG.md` with the upcoming version number and create a new `In Git` section
|
|
7
|
-
* Remove empty sections from `CHANGELOG.md`
|
|
8
|
-
* Now release it:
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
git commit -am "Release X.Y.Z"
|
|
12
|
-
make release
|
|
13
|
-
```
|
|
1
|
+
Please see https://github.com/cucumber/cucumber-ruby/blob/main/CONTRIBUTING.md for
|
|
2
|
+
more info about how to contribute to cucumber
|
data/lib/cucumber/wire/plugin.rb
CHANGED
|
@@ -8,6 +8,10 @@ module Cucumber
|
|
|
8
8
|
attr_reader :config, :registry
|
|
9
9
|
private :config, :registry
|
|
10
10
|
|
|
11
|
+
def self.installed?
|
|
12
|
+
@@installed ||= false
|
|
13
|
+
end
|
|
14
|
+
|
|
11
15
|
def initialize(config, registry)
|
|
12
16
|
@config = config
|
|
13
17
|
@registry = registry
|
|
@@ -18,6 +22,8 @@ module Cucumber
|
|
|
18
22
|
config.filters << Filters::ActivateSteps.new(StepMatchSearch.new(connections.method(:step_matches), @config), @config)
|
|
19
23
|
config.filters << AddHooksFilter.new(connections) unless @config.dry_run?
|
|
20
24
|
config.register_snippet_generator Snippet::Generator.new(connections)
|
|
25
|
+
|
|
26
|
+
@@installed = true
|
|
21
27
|
end
|
|
22
28
|
|
|
23
29
|
def create_connection(wire_file)
|
data/lib/cucumber/wire/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.2.0
|
data/lib/cucumber/wire.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cucumber-wire
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Wynne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-10-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber-core
|
|
@@ -16,100 +16,100 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '10.
|
|
19
|
+
version: '10.1'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 10.
|
|
22
|
+
version: 10.1.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
27
|
- - "~>"
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '10.
|
|
29
|
+
version: '10.1'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 10.
|
|
32
|
+
version: 10.1.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: cucumber-cucumber-expressions
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '
|
|
39
|
+
version: '14.0'
|
|
40
40
|
- - ">="
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version:
|
|
42
|
+
version: 14.0.0
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
47
|
- - "~>"
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: '
|
|
49
|
+
version: '14.0'
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version:
|
|
52
|
+
version: 14.0.0
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: cucumber-messages
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
57
|
- - "~>"
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: '17.
|
|
59
|
+
version: '17.1'
|
|
60
60
|
- - ">="
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: 17.
|
|
62
|
+
version: 17.1.1
|
|
63
63
|
type: :runtime
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
67
|
- - "~>"
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '17.
|
|
69
|
+
version: '17.1'
|
|
70
70
|
- - ">="
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
|
-
version: 17.
|
|
72
|
+
version: 17.1.1
|
|
73
73
|
- !ruby/object:Gem::Dependency
|
|
74
74
|
name: aruba
|
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
|
77
77
|
- - "~>"
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
|
-
version: '
|
|
79
|
+
version: '2.0'
|
|
80
80
|
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
82
|
+
version: 2.0.0
|
|
83
83
|
type: :development
|
|
84
84
|
prerelease: false
|
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
87
|
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
89
|
+
version: '2.0'
|
|
90
90
|
- - ">="
|
|
91
91
|
- !ruby/object:Gem::Version
|
|
92
|
-
version:
|
|
92
|
+
version: 2.0.0
|
|
93
93
|
- !ruby/object:Gem::Dependency
|
|
94
94
|
name: cucumber
|
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
|
96
96
|
requirements:
|
|
97
97
|
- - "~>"
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
|
-
version: '
|
|
99
|
+
version: '7.0'
|
|
100
100
|
- - ">="
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version:
|
|
102
|
+
version: 7.0.0
|
|
103
103
|
type: :development
|
|
104
104
|
prerelease: false
|
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
106
106
|
requirements:
|
|
107
107
|
- - "~>"
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '
|
|
109
|
+
version: '7.0'
|
|
110
110
|
- - ">="
|
|
111
111
|
- !ruby/object:Gem::Version
|
|
112
|
-
version:
|
|
112
|
+
version: 7.0.0
|
|
113
113
|
- !ruby/object:Gem::Dependency
|
|
114
114
|
name: rake
|
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -203,10 +203,10 @@ requirements: []
|
|
|
203
203
|
rubygems_version: 3.1.2
|
|
204
204
|
signing_key:
|
|
205
205
|
specification_version: 4
|
|
206
|
-
summary: cucumber-wire-6.
|
|
206
|
+
summary: cucumber-wire-6.2.0
|
|
207
207
|
test_files:
|
|
208
|
-
- spec/cucumber/wire/connection_spec.rb
|
|
209
|
-
- spec/cucumber/wire/configuration_spec.rb
|
|
210
208
|
- spec/cucumber/wire/connections_spec.rb
|
|
209
|
+
- spec/cucumber/wire/connection_spec.rb
|
|
211
210
|
- spec/cucumber/wire/data_packet_spec.rb
|
|
212
211
|
- spec/cucumber/wire/exception_spec.rb
|
|
212
|
+
- spec/cucumber/wire/configuration_spec.rb
|