cucumber-wire 6.0.1 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -79
- 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 +13 -13
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,126 +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/v6.0.1...main)
|
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
|
-
### Removed
|
22
|
-
|
23
|
-
### Fixed
|
24
|
-
|
25
|
-
### Dependencies
|
26
|
-
|
27
|
-
## [6.0.1](https://github.com/cucumber/cucumber-ruby-wire/compare/v6.0.0...v6.0.1)
|
28
|
-
|
29
|
-
### Dependencies
|
30
|
-
|
23
|
+
## [6.0.1]
|
24
|
+
### Changed
|
31
25
|
- Patched `cucumber-core` and `cucumber-messages`
|
32
26
|
|
33
|
-
## [6.0.0]
|
34
|
-
|
35
|
-
### Dependencies
|
36
|
-
|
27
|
+
## [6.0.0]
|
28
|
+
### Changed
|
37
29
|
- Updated `cucumber-core` ~> 10.0.0 and `cucumber-messages` ~> 17.0.0
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
## [5.0.1](https://github.com/cucumber/cucumber-ruby-wire/compare/v5.0.0...v5.0.1)
|
42
|
-
|
43
|
-
### Dependencies
|
30
|
+
This brings breaking changes because of internal changes in Cucumber::Messages.
|
31
|
+
([#44](https://github.com/cucumber/cucumber-ruby-wire/pull/44))
|
44
32
|
|
33
|
+
## [5.0.1]
|
34
|
+
### Changed
|
45
35
|
- Updated `cucumber-core` ~> 9.0.1
|
46
36
|
|
47
|
-
## [5.0.0]
|
48
|
-
|
37
|
+
## [5.0.0]
|
49
38
|
### Changed
|
50
|
-
|
51
39
|
- Update from cucumber-expressions 10 to 12 introduces significant underlying changes
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
### Dependencies
|
56
|
-
|
40
|
+
in how step definitions are matched. This should be backward compatible but there
|
41
|
+
is a risk of regressions.
|
57
42
|
- Updated dependencies (look at the diff for details)
|
58
43
|
|
59
|
-
## [4.0.1]
|
60
|
-
|
61
|
-
### Dependencies
|
62
|
-
|
44
|
+
## [4.0.1]
|
45
|
+
### Changed
|
63
46
|
- Updated dependencies (look at the diff for details)
|
64
47
|
|
65
|
-
## [
|
66
|
-
|
67
|
-
- Release failed
|
68
|
-
|
69
|
-
## [3.1.0](https://github.com/cucumber/cucumber-ruby-wire/compare/v3.0.0...v3.1.0)
|
70
|
-
|
48
|
+
## [3.1.0]
|
71
49
|
### Changed
|
72
|
-
|
50
|
+
- `cucumber-core` ~> 7.1.0
|
51
|
+
- `cucumber-messages` ~> 12.2.0
|
73
52
|
- Updated gems:
|
74
|
-
- `cucumber-core` ~> 7.1.0
|
75
|
-
- `cucumber-messages` ~> 12.2.0
|
76
|
-
|
77
|
-
## [3.0.0](https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.1...v3.0.0)
|
78
53
|
|
54
|
+
## [3.0.0]
|
79
55
|
### Changed
|
80
|
-
|
81
56
|
- Use `cucumber-ruby-core` 7.0.0
|
82
|
-
|
57
|
+
- cucumber-cucumber-expressions ~> 10
|
58
|
+
- cucumber-messages ~> 12
|
83
59
|
- Updated monorepo libraries:
|
84
|
-
- cucumber-cucumber-expressions ~> 10
|
85
|
-
- cucumber-messages ~> 12
|
86
|
-
|
87
|
-
## [2.0.1](https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.0...v2.0.1)
|
88
60
|
|
61
|
+
## [2.0.1]
|
89
62
|
### Removed
|
90
|
-
|
91
63
|
- Replace use of `MultiJSON` to use native JSON gem
|
92
64
|
|
93
|
-
## [2.0.0]
|
94
|
-
|
65
|
+
## [2.0.0]
|
95
66
|
### Changed
|
96
|
-
|
97
67
|
- Use `cucumber-ruby-core` 6.0.0
|
98
68
|
|
99
|
-
## [1.2.0]
|
100
|
-
|
101
|
-
### Removed
|
102
|
-
|
103
|
-
- Multiline arguments do not need `Location` anymore
|
104
|
-
|
69
|
+
## [1.2.0]
|
105
70
|
### Added
|
106
|
-
|
107
71
|
- Use `Cucumber:Messages::IdGenerator::UUID` to provide ids for `Hooks`
|
108
72
|
|
109
|
-
|
73
|
+
### Removed
|
74
|
+
- Multiline arguments do not need `Location` anymore
|
110
75
|
|
76
|
+
## [1.1.0]
|
111
77
|
### Changed
|
112
|
-
|
113
78
|
- Update to cucumber-expressions 8.0.2
|
114
79
|
- Update to cucumber 4.0.0
|
115
80
|
|
116
|
-
## [1.0.0]
|
117
|
-
|
81
|
+
## [1.0.0]
|
118
82
|
### Added
|
119
|
-
|
120
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))
|
121
84
|
|
122
85
|
### Changed
|
123
|
-
|
124
86
|
- Changes to work with a modern Cucumber-Ruby ([#14](https://github.com/cucumber/cucumber-ruby-wire/pull/14) [brasmusson](https://github.com/brasmusson))
|
125
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))
|
126
88
|
|
127
|
-
|
128
|
-
|
129
|
-
[
|
130
|
-
[
|
131
|
-
[
|
132
|
-
[
|
133
|
-
[
|
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
|
-
6.0
|
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: 6.0
|
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
|
@@ -76,40 +76,40 @@ dependencies:
|
|
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
|
@@ -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-6.0
|
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
|