cucumber-wire 5.0.1 → 6.1.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 +4 -4
- data/CHANGELOG.md +64 -62
- data/CONTRIBUTING.md +8 -2
- data/lib/cucumber/wire/plugin.rb +6 -0
- data/lib/cucumber/wire/version +1 -1
- data/lib/cucumber/wire.rb +4 -2
- 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: 2ceedf3dc23c6df1e4bba79640c8a6ffd2862ca07fd8bc33ccf65febbf4f4bde
|
|
4
|
+
data.tar.gz: d9b643ca2462cbff67ac45036154cd26d535fb3f943b60d1d39f60dacab0611d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5e6d155ffc319abd095b3b310e6f7f6b6166f08d4f32df21d04acdc99525d0e6b953680c7bea28376b198e0d423f2061c673b866c01be0e4bf0c1e55ba3fb32
|
|
7
|
+
data.tar.gz: abd031b763527adbe6f26a1b9bbe30118427816d9fe64133866dfa0c2b98fe2cd4f27236dce4dbcb454f1f6e1d8103e8426997814713770bbbdda8047b0b58ab
|
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,112 +8,114 @@ 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
|
-
|
|
24
|
-
|
|
25
|
-
### Dependencies
|
|
21
|
+
## [6.1.1]
|
|
26
22
|
|
|
27
|
-
|
|
23
|
+
### Changed
|
|
28
24
|
|
|
29
|
-
|
|
25
|
+
- Use the new `InstallPlugin` hook rather than `AfterConfiguration`.
|
|
26
|
+
([#52](https://github.com/cucumber/cucumber-ruby-wire/pull/52))
|
|
30
27
|
|
|
31
|
-
|
|
28
|
+
## [6.1.0]
|
|
29
|
+
### Added
|
|
30
|
+
- The possibility to verify if the plugin has already been installed or not. To
|
|
31
|
+
do so, use `Cucumber::Wire::Plugin.installed?`.
|
|
32
|
+
([46](https://github.com/cucumber/cucumber-ruby-wire/pull/46))
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
### Changed
|
|
35
|
+
- `cucumber-wire` is now able to install itself as a plugin into `cucumber-ruby`.
|
|
36
|
+
([46](https://github.com/cucumber/cucumber-ruby-wire/pull/46))
|
|
34
37
|
|
|
38
|
+
## [6.0.1]
|
|
35
39
|
### Changed
|
|
40
|
+
- Patched `cucumber-core` and `cucumber-messages`
|
|
36
41
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
42
|
+
## [6.0.0]
|
|
43
|
+
### Changed
|
|
44
|
+
- Updated `cucumber-core` ~> 10.0.0 and `cucumber-messages` ~> 17.0.0
|
|
45
|
+
This brings breaking changes because of internal changes in Cucumber::Messages.
|
|
46
|
+
([#44](https://github.com/cucumber/cucumber-ruby-wire/pull/44))
|
|
40
47
|
|
|
41
|
-
|
|
48
|
+
## [5.0.1]
|
|
49
|
+
### Changed
|
|
50
|
+
- Updated `cucumber-core` ~> 9.0.1
|
|
42
51
|
|
|
52
|
+
## [5.0.0]
|
|
53
|
+
### Changed
|
|
54
|
+
- Update from cucumber-expressions 10 to 12 introduces significant underlying changes
|
|
55
|
+
in how step definitions are matched. This should be backward compatible but there
|
|
56
|
+
is a risk of regressions.
|
|
43
57
|
- Updated dependencies (look at the diff for details)
|
|
44
58
|
|
|
45
|
-
## [4.0.1]
|
|
46
|
-
|
|
47
|
-
### Dependencies
|
|
48
|
-
|
|
59
|
+
## [4.0.1]
|
|
60
|
+
### Changed
|
|
49
61
|
- Updated dependencies (look at the diff for details)
|
|
50
62
|
|
|
51
|
-
## [
|
|
52
|
-
|
|
53
|
-
- Release failed
|
|
54
|
-
|
|
55
|
-
## [3.1.0](https://github.com/cucumber/cucumber-ruby-wire/compare/v3.0.0...v3.1.0)
|
|
56
|
-
|
|
63
|
+
## [3.1.0]
|
|
57
64
|
### Changed
|
|
58
|
-
|
|
65
|
+
- `cucumber-core` ~> 7.1.0
|
|
66
|
+
- `cucumber-messages` ~> 12.2.0
|
|
59
67
|
- Updated gems:
|
|
60
|
-
- `cucumber-core` ~> 7.1.0
|
|
61
|
-
- `cucumber-messages` ~> 12.2.0
|
|
62
|
-
|
|
63
|
-
## [3.0.0](https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.1...v3.0.0)
|
|
64
68
|
|
|
69
|
+
## [3.0.0]
|
|
65
70
|
### Changed
|
|
66
|
-
|
|
67
71
|
- Use `cucumber-ruby-core` 7.0.0
|
|
68
|
-
|
|
72
|
+
- cucumber-cucumber-expressions ~> 10
|
|
73
|
+
- cucumber-messages ~> 12
|
|
69
74
|
- Updated monorepo libraries:
|
|
70
|
-
- cucumber-cucumber-expressions ~> 10
|
|
71
|
-
- cucumber-messages ~> 12
|
|
72
|
-
|
|
73
|
-
## [2.0.1](https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.0...v2.0.1)
|
|
74
75
|
|
|
76
|
+
## [2.0.1]
|
|
75
77
|
### Removed
|
|
76
|
-
|
|
77
78
|
- Replace use of `MultiJSON` to use native JSON gem
|
|
78
79
|
|
|
79
|
-
## [2.0.0]
|
|
80
|
-
|
|
80
|
+
## [2.0.0]
|
|
81
81
|
### Changed
|
|
82
|
-
|
|
83
82
|
- Use `cucumber-ruby-core` 6.0.0
|
|
84
83
|
|
|
85
|
-
## [1.2.0]
|
|
86
|
-
|
|
87
|
-
### Removed
|
|
88
|
-
|
|
89
|
-
- Multiline arguments do not need `Location` anymore
|
|
90
|
-
|
|
84
|
+
## [1.2.0]
|
|
91
85
|
### Added
|
|
92
|
-
|
|
93
86
|
- Use `Cucumber:Messages::IdGenerator::UUID` to provide ids for `Hooks`
|
|
94
87
|
|
|
95
|
-
|
|
88
|
+
### Removed
|
|
89
|
+
- Multiline arguments do not need `Location` anymore
|
|
96
90
|
|
|
91
|
+
## [1.1.0]
|
|
97
92
|
### Changed
|
|
98
|
-
|
|
99
93
|
- Update to cucumber-expressions 8.0.2
|
|
100
94
|
- Update to cucumber 4.0.0
|
|
101
95
|
|
|
102
|
-
## [1.0.0]
|
|
103
|
-
|
|
96
|
+
## [1.0.0]
|
|
104
97
|
### Added
|
|
105
|
-
|
|
106
98
|
- 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))
|
|
107
99
|
|
|
108
100
|
### Changed
|
|
109
|
-
|
|
110
101
|
- Changes to work with a modern Cucumber-Ruby ([#14](https://github.com/cucumber/cucumber-ruby-wire/pull/14) [brasmusson](https://github.com/brasmusson))
|
|
111
102
|
- 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))
|
|
112
103
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
[
|
|
116
|
-
[
|
|
117
|
-
[
|
|
118
|
-
[
|
|
119
|
-
[
|
|
104
|
+
[Unreleased]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.1.1...main
|
|
105
|
+
[6.1.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.1.0...v6.1.1
|
|
106
|
+
[6.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.1...v6.1.0
|
|
107
|
+
[6.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.0...v6.0.1
|
|
108
|
+
[6.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v5.0.1...v6.0.0
|
|
109
|
+
[5.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v5.0.0...v5.0.1
|
|
110
|
+
[5.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v4.0.1...v5.0.0
|
|
111
|
+
[4.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v4.0.0...v4.0.1
|
|
112
|
+
[3.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v3.0.0...v3.1.0
|
|
113
|
+
[3.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.1...v3.0.0
|
|
114
|
+
[2.0.1]: https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.0...v2.0.1
|
|
115
|
+
[2.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v1.2.0...v2.0.0
|
|
116
|
+
[1.2.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v1.1.0...v1.2.0
|
|
117
|
+
[1.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v1.0.0...v1.1.0
|
|
118
|
+
[1.0.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v0.0.1...v1.0.0
|
|
119
|
+
ire/compare/v6.1.0...main
|
|
120
|
+
[6.1.0]: https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.1...v6.1.0
|
|
121
|
+
[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/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.1
|
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:
|
|
4
|
+
version: 6.1.1
|
|
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-27 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
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
version: '12.1'
|
|
40
40
|
- - ">="
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: 12.1.
|
|
42
|
+
version: 12.1.2
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -49,67 +49,67 @@ dependencies:
|
|
|
49
49
|
version: '12.1'
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: 12.1.
|
|
52
|
+
version: 12.1.2
|
|
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: '
|
|
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
|
|
@@ -203,7 +203,7 @@ requirements: []
|
|
|
203
203
|
rubygems_version: 3.1.2
|
|
204
204
|
signing_key:
|
|
205
205
|
specification_version: 4
|
|
206
|
-
summary: cucumber-wire-
|
|
206
|
+
summary: cucumber-wire-6.1.1
|
|
207
207
|
test_files:
|
|
208
208
|
- spec/cucumber/wire/connection_spec.rb
|
|
209
209
|
- spec/cucumber/wire/configuration_spec.rb
|