cucumber-wire 5.0.0 → 6.1.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 +54 -62
- data/CONTRIBUTING.md +8 -2
- data/lib/cucumber/wire.rb +2 -2
- data/lib/cucumber/wire/plugin.rb +6 -0
- data/lib/cucumber/wire/version +1 -1
- metadata +23 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8797844284c54f46a0ea487eef8c9aeaeb08e80ff55532865970d9d47f4bf2f1
|
|
4
|
+
data.tar.gz: ef96404eff4d459566bd15517d08b6ab01ecc87275dc52dafe4a8fdc47092c8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27660e12edfa1c158bed09ee5d05833e53f499398c5fbea5677f268907065d8e7370e93ed4cb2f9ca84e20e18c444ca21dc4fa20267fd969f6bf9caae5e6379a
|
|
7
|
+
data.tar.gz: be2ed84b0884b743d07e5b3023f7966d715d31c674a101b9061cd8afe12089935b3899895a4a4e8e0d4cf9fc1a7af6f43cc31a2a5751884518b049f65f017987
|
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,106 +8,98 @@ 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
|
-
|
|
12
|
-
|
|
13
|
-
## [In GIT](https://github.com/cucumber/cucumber-ruby-wire/compare/v5.0.0...master)
|
|
11
|
+
## [Unreleased]
|
|
14
12
|
|
|
13
|
+
## [6.1.0]
|
|
15
14
|
### Added
|
|
15
|
+
- The possibility to verify if the plugin has already been installed or not. To
|
|
16
|
+
do so, use `Cucumber::Wire::Plugin.installed?`.
|
|
17
|
+
([46](https://github.com/cucumber/cucumber-ruby-wire/pull/46))
|
|
16
18
|
|
|
17
19
|
### Changed
|
|
20
|
+
- `cucumber-wire` is now able to install itself as a plugin into `cucumber-ruby`.
|
|
21
|
+
([46](https://github.com/cucumber/cucumber-ruby-wire/pull/46))
|
|
18
22
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### Fixed
|
|
24
|
-
|
|
25
|
-
### Dependencies
|
|
23
|
+
## [6.0.1]
|
|
24
|
+
### Changed
|
|
25
|
+
- Patched `cucumber-core` and `cucumber-messages`
|
|
26
26
|
|
|
27
|
-
## [
|
|
27
|
+
## [6.0.0]
|
|
28
|
+
### Changed
|
|
29
|
+
- Updated `cucumber-core` ~> 10.0.0 and `cucumber-messages` ~> 17.0.0
|
|
30
|
+
This brings breaking changes because of internal changes in Cucumber::Messages.
|
|
31
|
+
([#44](https://github.com/cucumber/cucumber-ruby-wire/pull/44))
|
|
28
32
|
|
|
33
|
+
## [5.0.1]
|
|
29
34
|
### Changed
|
|
35
|
+
- Updated `cucumber-core` ~> 9.0.1
|
|
30
36
|
|
|
37
|
+
## [5.0.0]
|
|
38
|
+
### Changed
|
|
31
39
|
- Update from cucumber-expressions 10 to 12 introduces significant underlying changes
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
### Dependencies
|
|
36
|
-
|
|
40
|
+
in how step definitions are matched. This should be backward compatible but there
|
|
41
|
+
is a risk of regressions.
|
|
37
42
|
- Updated dependencies (look at the diff for details)
|
|
38
43
|
|
|
39
|
-
## [4.0.1]
|
|
40
|
-
|
|
41
|
-
### Dependencies
|
|
42
|
-
|
|
44
|
+
## [4.0.1]
|
|
45
|
+
### Changed
|
|
43
46
|
- Updated dependencies (look at the diff for details)
|
|
44
47
|
|
|
45
|
-
## [
|
|
46
|
-
|
|
47
|
-
- Release failed
|
|
48
|
-
|
|
49
|
-
## [3.1.0](https://github.com/cucumber/cucumber-ruby-wire/compare/v3.0.0...v3.1.0)
|
|
50
|
-
|
|
48
|
+
## [3.1.0]
|
|
51
49
|
### Changed
|
|
52
|
-
|
|
50
|
+
- `cucumber-core` ~> 7.1.0
|
|
51
|
+
- `cucumber-messages` ~> 12.2.0
|
|
53
52
|
- Updated gems:
|
|
54
|
-
- `cucumber-core` ~> 7.1.0
|
|
55
|
-
- `cucumber-messages` ~> 12.2.0
|
|
56
|
-
|
|
57
|
-
## [3.0.0](https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.1...v3.0.0)
|
|
58
53
|
|
|
54
|
+
## [3.0.0]
|
|
59
55
|
### Changed
|
|
60
|
-
|
|
61
56
|
- Use `cucumber-ruby-core` 7.0.0
|
|
62
|
-
|
|
57
|
+
- cucumber-cucumber-expressions ~> 10
|
|
58
|
+
- cucumber-messages ~> 12
|
|
63
59
|
- Updated monorepo libraries:
|
|
64
|
-
- cucumber-cucumber-expressions ~> 10
|
|
65
|
-
- cucumber-messages ~> 12
|
|
66
|
-
|
|
67
|
-
## [2.0.1](https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.0...v2.0.1)
|
|
68
60
|
|
|
61
|
+
## [2.0.1]
|
|
69
62
|
### Removed
|
|
70
|
-
|
|
71
63
|
- Replace use of `MultiJSON` to use native JSON gem
|
|
72
64
|
|
|
73
|
-
## [2.0.0]
|
|
74
|
-
|
|
65
|
+
## [2.0.0]
|
|
75
66
|
### Changed
|
|
76
|
-
|
|
77
67
|
- Use `cucumber-ruby-core` 6.0.0
|
|
78
68
|
|
|
79
|
-
## [1.2.0]
|
|
80
|
-
|
|
81
|
-
### Removed
|
|
82
|
-
|
|
83
|
-
- Multiline arguments do not need `Location` anymore
|
|
84
|
-
|
|
69
|
+
## [1.2.0]
|
|
85
70
|
### Added
|
|
86
|
-
|
|
87
71
|
- Use `Cucumber:Messages::IdGenerator::UUID` to provide ids for `Hooks`
|
|
88
72
|
|
|
89
|
-
|
|
73
|
+
### Removed
|
|
74
|
+
- Multiline arguments do not need `Location` anymore
|
|
90
75
|
|
|
76
|
+
## [1.1.0]
|
|
91
77
|
### Changed
|
|
92
|
-
|
|
93
78
|
- Update to cucumber-expressions 8.0.2
|
|
94
79
|
- Update to cucumber 4.0.0
|
|
95
80
|
|
|
96
|
-
## [1.0.0]
|
|
97
|
-
|
|
81
|
+
## [1.0.0]
|
|
98
82
|
### Added
|
|
99
|
-
|
|
100
83
|
- 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))
|
|
101
84
|
|
|
102
85
|
### Changed
|
|
103
|
-
|
|
104
86
|
- Changes to work with a modern Cucumber-Ruby ([#14](https://github.com/cucumber/cucumber-ruby-wire/pull/14) [brasmusson](https://github.com/brasmusson))
|
|
105
87
|
- 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))
|
|
106
88
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
[
|
|
110
|
-
[
|
|
111
|
-
[
|
|
112
|
-
[
|
|
113
|
-
[
|
|
89
|
+
[Unreleased]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.1.0...main
|
|
90
|
+
[6.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.1...v6.1.0
|
|
91
|
+
[6.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.0...v6.0.1
|
|
92
|
+
[6.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v5.0.1...v6.0.0
|
|
93
|
+
[5.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v5.0.0...v5.0.1
|
|
94
|
+
[5.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v4.0.1...v5.0.0
|
|
95
|
+
[4.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v4.0.0...v4.0.1
|
|
96
|
+
[3.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v3.0.0...v3.1.0
|
|
97
|
+
[3.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.1...v3.0.0
|
|
98
|
+
[2.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.0...v2.0.1
|
|
99
|
+
[2.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v1.2.0...v2.0.0
|
|
100
|
+
[1.2.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v1.1.0...v1.2.0
|
|
101
|
+
[1.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v1.0.0...v1.1.0
|
|
102
|
+
[1.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v0.0.1...v1.0.0
|
|
103
|
+
ire/compare/v6.1.0...main
|
|
104
|
+
[6.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.1...v6.1.0
|
|
105
|
+
[6.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.0...v6.0.1
|
data/CONTRIBUTING.md
CHANGED
|
@@ -3,11 +3,17 @@ Release Process
|
|
|
3
3
|
|
|
4
4
|
* Upgrade gems with `scripts/update-gemspec`
|
|
5
5
|
* Bump the version number in `lib/cucumber/wire/version`
|
|
6
|
-
* Update `CHANGELOG.md` with the upcoming version number and create a new `
|
|
6
|
+
* Update `CHANGELOG.md` with the upcoming version number and create a new `Unreleased` section
|
|
7
7
|
* Remove empty sections from `CHANGELOG.md`
|
|
8
8
|
* Now release it:
|
|
9
9
|
|
|
10
10
|
```
|
|
11
11
|
git commit -am "Release X.Y.Z"
|
|
12
|
-
|
|
12
|
+
git push
|
|
13
13
|
```
|
|
14
|
+
|
|
15
|
+
This will trigger the [`pre-release`](.github/workflows/pre-release.yml) workflow which creates a PR
|
|
16
|
+
to a `release/*` branch.
|
|
17
|
+
|
|
18
|
+
Once a member of the [@cucumber/cucumber-ruby](https://github.com/orgs/cucumber/teams/cucumber-ruby) core team has approved the release by merging the PR, the new version of the gem will be released automatically
|
|
19
|
+
by the [`release`](.github/workflows/release.yml) workflow.
|
data/lib/cucumber/wire.rb
CHANGED
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
|
-
|
|
1
|
+
6.1.0
|
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:
|
|
4
|
+
version: 6.1.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-08-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber-core
|
|
@@ -16,20 +16,20 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '10.0'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version:
|
|
22
|
+
version: 10.0.1
|
|
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: '
|
|
29
|
+
version: '10.0'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version:
|
|
32
|
+
version: 10.0.1
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: cucumber-cucumber-expressions
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -56,60 +56,60 @@ dependencies:
|
|
|
56
56
|
requirements:
|
|
57
57
|
- - "~>"
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: '
|
|
59
|
+
version: '17.0'
|
|
60
60
|
- - ">="
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version:
|
|
62
|
+
version: 17.0.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: '
|
|
69
|
+
version: '17.0'
|
|
70
70
|
- - ">="
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
|
-
version:
|
|
72
|
+
version: 17.0.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
|
|
@@ -119,7 +119,7 @@ dependencies:
|
|
|
119
119
|
version: '13.0'
|
|
120
120
|
- - ">="
|
|
121
121
|
- !ruby/object:Gem::Version
|
|
122
|
-
version: 13.0.
|
|
122
|
+
version: 13.0.6
|
|
123
123
|
type: :development
|
|
124
124
|
prerelease: false
|
|
125
125
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -129,7 +129,7 @@ dependencies:
|
|
|
129
129
|
version: '13.0'
|
|
130
130
|
- - ">="
|
|
131
131
|
- !ruby/object:Gem::Version
|
|
132
|
-
version: 13.0.
|
|
132
|
+
version: 13.0.6
|
|
133
133
|
- !ruby/object:Gem::Dependency
|
|
134
134
|
name: rspec
|
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -200,13 +200,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
200
200
|
- !ruby/object:Gem::Version
|
|
201
201
|
version: '0'
|
|
202
202
|
requirements: []
|
|
203
|
-
rubygems_version: 3.
|
|
203
|
+
rubygems_version: 3.2.22
|
|
204
204
|
signing_key:
|
|
205
205
|
specification_version: 4
|
|
206
|
-
summary: cucumber-wire-
|
|
206
|
+
summary: cucumber-wire-6.1.0
|
|
207
207
|
test_files:
|
|
208
|
-
- spec/cucumber/wire/connection_spec.rb
|
|
209
208
|
- spec/cucumber/wire/configuration_spec.rb
|
|
209
|
+
- spec/cucumber/wire/connection_spec.rb
|
|
210
210
|
- spec/cucumber/wire/connections_spec.rb
|
|
211
211
|
- spec/cucumber/wire/data_packet_spec.rb
|
|
212
212
|
- spec/cucumber/wire/exception_spec.rb
|