File tree 4 files changed +14
-7
lines changed
4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blo
10
10
11
11
## [ Unreleased]
12
12
13
+ ### Changed
14
+
15
+ - Use the new ` InstallPlugin ` hook rather than ` AfterConfiguration ` .
16
+ ([ #52 ] ( https://github.com/cucumber/cucumber-ruby-wire/pull/52 ) )
17
+
13
18
## [ 6.1.0]
14
19
### Added
15
20
- The possibility to verify if the plugin has already been installed or not. To
Original file line number Diff line number Diff line change 1
1
# Upgrading from 6.0.1 to 6.1.0
2
2
3
3
Usage of ** built-in** wire protocol with ` cucumber-ruby ` will be deprecated in cucumber
4
- 8.0 .0, and removed in cucumber 9 .0.0.
4
+ 7.1 .0, and removed in cucumber 8 .0.0.
5
5
6
6
The wire protocol will still be available by explicitely using the ` cucumber-wire `
7
7
gem.
8
8
9
- ### Before cucumber 8.0 .0
9
+ ### Before cucumber 7.1 .0
10
10
11
11
Before cucumber 7.1.0, the wire protocol was automatically installed with cucumber,
12
12
and automatically activated when it had detected a ` .wire ` file.
13
13
14
- ### With cucumber 8.0 .0
14
+ ### With cucumber 7.1 .0
15
15
16
16
The wire protocol will work as before, but you will notice a deprecation message.
17
17
@@ -46,8 +46,8 @@ require 'cucumber/wire'
46
46
47
47
The wire protocol will be installed, and no deprecation message will be shown anymore.
48
48
49
- ### With cucumber 9 .0.0
49
+ ### With cucumber 8 .0.0
50
50
51
51
The usage of the built-in wire protocol will be removed. You will have to install
52
52
` cucumber-wire ` and add ` require 'cucumber/wire' ` in your support code in order
53
- to continue using it, as explained [ above] ( #with-cucumber-800 ) .
53
+ to continue using it, as explained [ above] ( #with-cucumber-710 ) .
Original file line number Diff line number Diff line change 1
- default : --format progress
1
+ default : --format progress --publish-quiet
Original file line number Diff line number Diff line change 1
1
require 'cucumber/wire/plugin'
2
2
3
- AfterConfiguration do |config , registry |
3
+ return unless respond_to? ( :InstallPlugin )
4
+
5
+ InstallPlugin do |config , registry |
4
6
Cucumber ::Wire ::Plugin . new ( config , registry ) . install
5
7
end
You can’t perform that action at this time.
0 commit comments