cucumber_priority 0.3.3 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ed9a7072272f713e1e32b980c5ca99c41ae94d8f6610286c5fb8ca23b5d3315
4
- data.tar.gz: e1cfeb222c4461a540807af09cd09c5f6e0bf6b904c44cfd0399b44b0ee58bcf
3
+ metadata.gz: 49484d211bc3b2bc99bc8b5e8e5dd9a9f8f0596dfdb3cb1e1ceb80279f2a0f07
4
+ data.tar.gz: efec79d69bbbf8b31a063a83bfbdc08454932eb16d42a4b127fda494ec8b854a
5
5
  SHA512:
6
- metadata.gz: 73ebacfbe80292698d474854ab78e637b84732f9818335f5bbe8b0b02272ede3b2c61b0961c8cbcf9aeaea78a9ebe169f209c22cbc1f7d856801cdfdf46c8890
7
- data.tar.gz: 3a1f262fee2ee400448e7a7f357755c2c2fd6c89b721186bfff90209eb5ea4f176c9bfa72bfc692457d8294c4566e067812392d241ef3f1ad412907656574393
6
+ metadata.gz: f40da342a3b3926c9a40c16ebd2a920fbf33c2cbc8ba9e0cd9b3fbceb0ba60c2329587fa6ee3aa459e78fac08b6ca5ff864a46f89861a2360245217eb6bf482d
7
+ data.tar.gz: 779a016bab126e5b66c80218232676246719f7f941b89b8cd6c5a8885edd5ef58120c89057bd410eb0ffa3e8f9fdf5596ae527189863fca2742a29816b572f72
@@ -9,29 +9,55 @@ name: Tests
9
9
  - master
10
10
  jobs:
11
11
  test:
12
- runs-on: ubuntu-20.04
12
+ runs-on: ubuntu-24.04
13
13
  strategy:
14
14
  fail-fast: false
15
15
  matrix:
16
16
  include:
17
17
  - ruby: 2.5.3
18
18
  gemfile: Gemfile.cucumber-2.4
19
+ bundler: 2.3.27
19
20
  - ruby: 2.5.3
20
21
  gemfile: Gemfile.cucumber-3.0
22
+ bundler: 2.3.27
21
23
  - ruby: 2.5.3
22
24
  gemfile: Gemfile.cucumber-3.1
25
+ bundler: 2.3.27
26
+
23
27
  - ruby: 2.6.6
24
28
  gemfile: Gemfile.cucumber-4.1
29
+ bundler: 2.3.27
25
30
  - ruby: 2.6.6
26
31
  gemfile: Gemfile.cucumber-5.3
32
+ bundler: 2.3.27
33
+
27
34
  - ruby: 2.7.2
28
35
  gemfile: Gemfile.cucumber-4.1
36
+ bundler: 2.3.27
29
37
  - ruby: 2.7.2
30
38
  gemfile: Gemfile.cucumber-5.3
31
- - ruby: 3.0.0
39
+ bundler: 2.3.27
40
+
41
+ - ruby: 3.2.0
32
42
  gemfile: Gemfile.cucumber-4.1
33
- - ruby: 3.0.0
43
+ bundler: 2.5.23
44
+ - ruby: 3.2.0
34
45
  gemfile: Gemfile.cucumber-5.3
46
+ bundler: 2.5.23
47
+
48
+ - ruby: 3.3.6
49
+ gemfile: Gemfile.cucumber-4.1
50
+ bundler: 2.5.23
51
+ - ruby: 3.3.6
52
+ gemfile: Gemfile.cucumber-5.3
53
+ bundler: 2.5.23
54
+
55
+ - ruby: 3.4.1
56
+ gemfile: Gemfile.cucumber-9.2
57
+ bundler: 2.6.3
58
+ - ruby: 3.4.1
59
+ gemfile: Gemfile.cucumber-10.1
60
+ bundler: 2.6.3
35
61
  env:
36
62
  BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
37
63
  steps:
@@ -42,7 +68,7 @@ jobs:
42
68
  ruby-version: "${{ matrix.ruby }}"
43
69
  - name: Bundle
44
70
  run: |
45
- gem install bundler:1.17.3
46
- bundle install --no-deployment
71
+ gem install bundler:${{ matrix.bundler }}
72
+ bundle _${{ matrix.bundler }}_ install --no-deployment
47
73
  - name: Run tests
48
- run: bundle exec rake current_rspec
74
+ run: bundle _${{ matrix.bundler }}_ exec rake current_rspec
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.3
1
+ 3.2.0
data/CHANGELOG.md ADDED
@@ -0,0 +1,28 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+
8
+ ## Unreleased
9
+
10
+ ### Breaking changes
11
+
12
+ -
13
+
14
+ ### Compatible changes
15
+ -
16
+
17
+ ## 1.0.0 - 2025-01-20
18
+
19
+ ### Compatible changes
20
+
21
+ - Add Support for Ruby 3.4
22
+ NOTE: Ruby 3.4 requires [Cucumber >= 9.2.1](https://github.com/cucumber/cucumber-ruby/blob/v9.2.1/CHANGELOG.md#921---2025-01-07)
23
+
24
+ ## 1.1.0 - 2025-08-28
25
+
26
+ ### Compatible changes
27
+
28
+ - Add Support for Cucumber >= 10
data/Gemfile.cucumber-1.3 CHANGED
@@ -5,7 +5,7 @@ gem 'cucumber', '~> 1.3.20'
5
5
 
6
6
  # Development dependencies
7
7
  gem 'rspec', '~> 1.0'
8
- gem 'gemika'
8
+ gem 'gemika', '>= 0.8.1'
9
9
  gem 'rake', '=10.0.4'
10
10
  gem 'aruba', '<0.7'
11
11
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cucumber_priority (0.3.3)
4
+ cucumber_priority (1.1.0)
5
5
  cucumber
6
6
 
7
7
  GEM
@@ -22,7 +22,7 @@ GEM
22
22
  multi_test (>= 0.1.2)
23
23
  diff-lcs (1.3)
24
24
  ffi (1.9.18)
25
- gemika (0.5.0)
25
+ gemika (0.8.2)
26
26
  gherkin (2.12.2)
27
27
  multi_json (~> 1.3)
28
28
  multi_json (1.13.1)
@@ -41,9 +41,9 @@ DEPENDENCIES
41
41
  aruba (< 0.7)
42
42
  cucumber (~> 1.3.20)
43
43
  cucumber_priority!
44
- gemika
44
+ gemika (>= 0.8.1)
45
45
  rake (= 10.0.4)
46
46
  rspec (~> 1.0)
47
47
 
48
48
  BUNDLED WITH
49
- 1.16.1
49
+ 2.3.27
@@ -0,0 +1,20 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Former standard gems, see https://stdgems.org/
4
+ gem 'ostruct' # Bundled gem since Ruby 3.4
5
+ gem 'base64' # Bundled gem since Ruby 3.4
6
+ gem 'bigdecimal' # Bundled gem since Ruby 3.4
7
+ gem 'mutex_m' # Bundled gem since Ruby 3.4
8
+ gem 'logger' # Bundled gem since Ruby 3.4
9
+
10
+ # Runtime dependencies
11
+ gem 'cucumber', '~> 10.1.0'
12
+
13
+ # Development dependencies
14
+ gem 'rspec', '~> 3.0'
15
+ gem 'gemika', '>= 0.8.1'
16
+ gem 'rake', '> 10.0'
17
+ gem 'aruba', '>= 2.0.0'
18
+
19
+ # Gem under test
20
+ gem 'cucumber_priority', :path => '.'
@@ -0,0 +1,110 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ cucumber_priority (1.1.0)
5
+ cucumber
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ aruba (2.3.1)
11
+ bundler (>= 1.17, < 3.0)
12
+ contracts (>= 0.16.0, < 0.18.0)
13
+ cucumber (>= 8.0, < 11.0)
14
+ rspec-expectations (~> 3.4)
15
+ thor (~> 1.0)
16
+ base64 (0.3.0)
17
+ bigdecimal (3.2.2)
18
+ builder (3.3.0)
19
+ contracts (0.17.2)
20
+ cucumber (10.1.0)
21
+ base64 (~> 0.2)
22
+ builder (~> 3.2)
23
+ cucumber-ci-environment (> 9, < 11)
24
+ cucumber-core (> 15, < 17)
25
+ cucumber-cucumber-expressions (> 17, < 19)
26
+ cucumber-html-formatter (> 20.3, < 22)
27
+ diff-lcs (~> 1.5)
28
+ logger (~> 1.6)
29
+ mini_mime (~> 1.1)
30
+ multi_test (~> 1.1)
31
+ sys-uname (~> 1.3)
32
+ cucumber-ci-environment (10.0.1)
33
+ cucumber-core (15.2.1)
34
+ cucumber-gherkin (> 27, < 33)
35
+ cucumber-messages (> 26, < 30)
36
+ cucumber-tag-expressions (> 5, < 7)
37
+ cucumber-cucumber-expressions (18.0.1)
38
+ bigdecimal
39
+ cucumber-gherkin (32.2.0)
40
+ cucumber-messages (> 25, < 28)
41
+ cucumber-html-formatter (21.14.0)
42
+ cucumber-messages (> 19, < 28)
43
+ cucumber-messages (27.2.0)
44
+ cucumber-tag-expressions (6.1.2)
45
+ diff-lcs (1.6.2)
46
+ ffi (1.17.2)
47
+ ffi (1.17.2-aarch64-linux-gnu)
48
+ ffi (1.17.2-aarch64-linux-musl)
49
+ ffi (1.17.2-arm-linux-gnu)
50
+ ffi (1.17.2-arm-linux-musl)
51
+ ffi (1.17.2-arm64-darwin)
52
+ ffi (1.17.2-x86-linux-gnu)
53
+ ffi (1.17.2-x86-linux-musl)
54
+ ffi (1.17.2-x86_64-darwin)
55
+ ffi (1.17.2-x86_64-linux-gnu)
56
+ ffi (1.17.2-x86_64-linux-musl)
57
+ gemika (1.0.0)
58
+ logger (1.7.0)
59
+ memoist (0.16.2)
60
+ mini_mime (1.1.5)
61
+ multi_test (1.1.0)
62
+ mutex_m (0.3.0)
63
+ ostruct (0.6.3)
64
+ rake (13.3.0)
65
+ rspec (3.13.1)
66
+ rspec-core (~> 3.13.0)
67
+ rspec-expectations (~> 3.13.0)
68
+ rspec-mocks (~> 3.13.0)
69
+ rspec-core (3.13.5)
70
+ rspec-support (~> 3.13.0)
71
+ rspec-expectations (3.13.5)
72
+ diff-lcs (>= 1.2.0, < 2.0)
73
+ rspec-support (~> 3.13.0)
74
+ rspec-mocks (3.13.5)
75
+ diff-lcs (>= 1.2.0, < 2.0)
76
+ rspec-support (~> 3.13.0)
77
+ rspec-support (3.13.5)
78
+ sys-uname (1.4.0)
79
+ ffi (~> 1.1)
80
+ memoist (~> 0.16.2)
81
+ thor (1.4.0)
82
+
83
+ PLATFORMS
84
+ aarch64-linux-gnu
85
+ aarch64-linux-musl
86
+ arm-linux-gnu
87
+ arm-linux-musl
88
+ arm64-darwin
89
+ ruby
90
+ x86-linux-gnu
91
+ x86-linux-musl
92
+ x86_64-darwin
93
+ x86_64-linux-gnu
94
+ x86_64-linux-musl
95
+
96
+ DEPENDENCIES
97
+ aruba (>= 2.0.0)
98
+ base64
99
+ bigdecimal
100
+ cucumber (~> 10.1.0)
101
+ cucumber_priority!
102
+ gemika (>= 0.8.1)
103
+ logger
104
+ mutex_m
105
+ ostruct
106
+ rake (> 10.0)
107
+ rspec (~> 3.0)
108
+
109
+ BUNDLED WITH
110
+ 2.6.3
data/Gemfile.cucumber-2.4 CHANGED
@@ -5,7 +5,7 @@ gem 'cucumber', '~> 2.4.0'
5
5
 
6
6
  # Development dependencies
7
7
  gem 'rspec', '~> 3.0'
8
- gem 'gemika'
8
+ gem 'gemika', '>= 0.8.1'
9
9
  gem 'rake'
10
10
  gem 'aruba', '<0.7'
11
11
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cucumber_priority (0.3.3)
4
+ cucumber_priority (1.1.0)
5
5
  cucumber
6
6
 
7
7
  GEM
@@ -11,9 +11,9 @@ GEM
11
11
  childprocess (>= 0.3.6)
12
12
  cucumber (>= 1.1.1)
13
13
  rspec-expectations (>= 2.7.0)
14
- builder (3.2.3)
15
- childprocess (0.9.0)
16
- ffi (~> 1.0, >= 1.0.11)
14
+ builder (3.3.0)
15
+ childprocess (5.1.0)
16
+ logger (~> 1.5)
17
17
  cucumber (2.4.0)
18
18
  builder (>= 2.1.2)
19
19
  cucumber-core (~> 1.5.0)
@@ -25,26 +25,26 @@ GEM
25
25
  cucumber-core (1.5.0)
26
26
  gherkin (~> 4.0)
27
27
  cucumber-wire (0.0.1)
28
- diff-lcs (1.3)
29
- ffi (1.9.23)
30
- gemika (0.5.0)
28
+ diff-lcs (1.5.1)
29
+ gemika (0.8.4)
31
30
  gherkin (4.1.3)
32
- multi_json (1.13.1)
33
- multi_test (0.1.2)
34
- rake (10.1.0)
35
- rspec (3.4.0)
36
- rspec-core (~> 3.4.0)
37
- rspec-expectations (~> 3.4.0)
38
- rspec-mocks (~> 3.4.0)
39
- rspec-core (3.4.3)
40
- rspec-support (~> 3.4.0)
41
- rspec-expectations (3.4.0)
31
+ logger (1.6.5)
32
+ multi_json (1.15.0)
33
+ multi_test (1.1.0)
34
+ rake (13.2.1)
35
+ rspec (3.13.0)
36
+ rspec-core (~> 3.13.0)
37
+ rspec-expectations (~> 3.13.0)
38
+ rspec-mocks (~> 3.13.0)
39
+ rspec-core (3.13.2)
40
+ rspec-support (~> 3.13.0)
41
+ rspec-expectations (3.13.3)
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.4.0)
44
- rspec-mocks (3.4.1)
43
+ rspec-support (~> 3.13.0)
44
+ rspec-mocks (3.13.2)
45
45
  diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.4.0)
47
- rspec-support (3.4.1)
46
+ rspec-support (~> 3.13.0)
47
+ rspec-support (3.13.2)
48
48
 
49
49
  PLATFORMS
50
50
  ruby
@@ -53,9 +53,9 @@ DEPENDENCIES
53
53
  aruba (< 0.7)
54
54
  cucumber (~> 2.4.0)
55
55
  cucumber_priority!
56
- gemika
56
+ gemika (>= 0.8.1)
57
57
  rake
58
58
  rspec (~> 3.0)
59
59
 
60
60
  BUNDLED WITH
61
- 1.17.3
61
+ 2.3.27
data/Gemfile.cucumber-3.0 CHANGED
@@ -5,7 +5,7 @@ gem 'cucumber', '~> 3.0.0'
5
5
 
6
6
  # Development dependencies
7
7
  gem 'rspec', '~> 3.0'
8
- gem 'gemika'
8
+ gem 'gemika', '>= 0.8.1'
9
9
  gem 'rake'
10
10
  gem 'aruba', '<0.7'
11
11
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cucumber_priority (0.3.3)
4
+ cucumber_priority (1.1.0)
5
5
  cucumber
6
6
 
7
7
  GEM
@@ -33,11 +33,11 @@ GEM
33
33
  cucumber-wire (0.0.1)
34
34
  diff-lcs (1.3)
35
35
  ffi (1.9.23)
36
- gemika (0.5.0)
36
+ gemika (0.8.2)
37
37
  gherkin (4.1.3)
38
38
  multi_json (1.13.1)
39
39
  multi_test (0.1.2)
40
- rake (10.4.2)
40
+ rake (13.1.0)
41
41
  rspec (3.5.0)
42
42
  rspec-core (~> 3.5.0)
43
43
  rspec-expectations (~> 3.5.0)
@@ -59,9 +59,9 @@ DEPENDENCIES
59
59
  aruba (< 0.7)
60
60
  cucumber (~> 3.0.0)
61
61
  cucumber_priority!
62
- gemika
62
+ gemika (>= 0.8.1)
63
63
  rake
64
64
  rspec (~> 3.0)
65
65
 
66
66
  BUNDLED WITH
67
- 1.16.1
67
+ 2.3.27
data/Gemfile.cucumber-3.1 CHANGED
@@ -5,7 +5,7 @@ gem 'cucumber', '~> 3.1.0'
5
5
 
6
6
  # Development dependencies
7
7
  gem 'rspec', '~> 3.0'
8
- gem 'gemika'
8
+ gem 'gemika', '>= 0.8.1'
9
9
  gem 'rake'
10
10
  gem 'aruba', '<0.7'
11
11
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cucumber_priority (0.3.3)
4
+ cucumber_priority (1.1.0)
5
5
  cucumber
6
6
 
7
7
  GEM
@@ -33,11 +33,11 @@ GEM
33
33
  cucumber-wire (0.0.1)
34
34
  diff-lcs (1.3)
35
35
  ffi (1.9.23)
36
- gemika (0.5.0)
36
+ gemika (0.8.2)
37
37
  gherkin (5.0.0)
38
38
  multi_json (1.13.1)
39
39
  multi_test (0.1.2)
40
- rake (10.4.2)
40
+ rake (13.1.0)
41
41
  rspec (3.5.0)
42
42
  rspec-core (~> 3.5.0)
43
43
  rspec-expectations (~> 3.5.0)
@@ -59,9 +59,9 @@ DEPENDENCIES
59
59
  aruba (< 0.7)
60
60
  cucumber (~> 3.1.0)
61
61
  cucumber_priority!
62
- gemika
62
+ gemika (>= 0.8.1)
63
63
  rake
64
64
  rspec (~> 3.0)
65
65
 
66
66
  BUNDLED WITH
67
- 1.16.1
67
+ 2.3.27
data/Gemfile.cucumber-4.1 CHANGED
@@ -5,9 +5,9 @@ gem 'cucumber', '~> 4.1.0'
5
5
 
6
6
  # Development dependencies
7
7
  gem 'rspec', '~> 3.0'
8
- gem 'gemika'
9
- gem 'rake'
10
- gem 'aruba'
8
+ gem 'gemika', '>= 0.8.1'
9
+ gem 'rake', '> 10.0'
10
+ gem 'aruba', '>= 2.0.0'
11
11
 
12
12
  # Gem under test
13
13
  gem 'cucumber_priority', :path => '.'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cucumber_priority (0.3.3)
4
+ cucumber_priority (1.1.0)
5
5
  cucumber
6
6
 
7
7
  GEM
@@ -13,13 +13,17 @@ GEM
13
13
  minitest (>= 5.1)
14
14
  tzinfo (~> 2.0)
15
15
  zeitwerk (~> 2.3)
16
- aruba (0.6.2)
17
- childprocess (>= 0.3.6)
18
- cucumber (>= 1.1.1)
19
- rspec-expectations (>= 2.7.0)
16
+ aruba (2.1.0)
17
+ bundler (>= 1.17, < 3.0)
18
+ childprocess (>= 2.0, < 5.0)
19
+ contracts (>= 0.16.0, < 0.18.0)
20
+ cucumber (>= 4.0, < 9.0)
21
+ rspec-expectations (~> 3.4)
22
+ thor (~> 1.0)
20
23
  builder (3.2.4)
21
- childprocess (4.0.0)
24
+ childprocess (4.1.0)
22
25
  concurrent-ruby (1.1.8)
26
+ contracts (0.16.1)
23
27
  cucumber (4.1.0)
24
28
  builder (~> 3.2, >= 3.2.3)
25
29
  cucumber-core (~> 7.1, >= 7.1.0)
@@ -53,7 +57,7 @@ GEM
53
57
  cucumber-messages (~> 12.2, >= 12.2.0)
54
58
  diff-lcs (1.3)
55
59
  ffi (1.15.0)
56
- gemika (0.5.0)
60
+ gemika (0.8.2)
57
61
  i18n (1.8.9)
58
62
  concurrent-ruby (~> 1.0)
59
63
  middleware (0.1.0)
@@ -64,7 +68,7 @@ GEM
64
68
  middleware
65
69
  thor
66
70
  thread_safe
67
- rake (13.0.3)
71
+ rake (13.1.0)
68
72
  rspec (3.10.0)
69
73
  rspec-core (~> 3.10.0)
70
74
  rspec-expectations (~> 3.10.0)
@@ -91,12 +95,12 @@ PLATFORMS
91
95
  x86_64-linux
92
96
 
93
97
  DEPENDENCIES
94
- aruba
98
+ aruba (>= 2.0.0)
95
99
  cucumber (~> 4.1.0)
96
100
  cucumber_priority!
97
- gemika
98
- rake
101
+ gemika (>= 0.8.1)
102
+ rake (> 10.0)
99
103
  rspec (~> 3.0)
100
104
 
101
105
  BUNDLED WITH
102
- 2.2.3
106
+ 2.2.15
data/Gemfile.cucumber-5.3 CHANGED
@@ -1,13 +1,19 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ # Former standard gems, see https://stdgems.org/
4
+ gem 'ostruct' # Bundled gem since Ruby 3.4
5
+ gem 'base64' # Bundled gem since Ruby 3.4
6
+ gem 'bigdecimal' # Bundled gem since Ruby 3.4
7
+ gem 'mutex_m' # Bundled gem since Ruby 3.4
8
+
3
9
  # Runtime dependencies
4
10
  gem 'cucumber', '~> 5.3.0'
5
11
 
6
12
  # Development dependencies
7
13
  gem 'rspec', '~> 3.0'
8
- gem 'gemika'
9
- gem 'rake'
10
- gem 'aruba'
14
+ gem 'gemika', '>= 0.8.1'
15
+ gem 'rake', '> 10.0'
16
+ gem 'aruba', '>= 2.0.0'
11
17
 
12
18
  # Gem under test
13
19
  gem 'cucumber_priority', :path => '.'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cucumber_priority (0.3.3)
4
+ cucumber_priority (1.1.0)
5
5
  cucumber
6
6
 
7
7
  GEM
@@ -13,13 +13,19 @@ GEM
13
13
  minitest (>= 5.1)
14
14
  tzinfo (~> 2.0)
15
15
  zeitwerk (~> 2.3)
16
- aruba (0.6.2)
17
- childprocess (>= 0.3.6)
18
- cucumber (>= 1.1.1)
19
- rspec-expectations (>= 2.7.0)
16
+ aruba (2.1.0)
17
+ bundler (>= 1.17, < 3.0)
18
+ childprocess (>= 2.0, < 5.0)
19
+ contracts (>= 0.16.0, < 0.18.0)
20
+ cucumber (>= 4.0, < 9.0)
21
+ rspec-expectations (~> 3.4)
22
+ thor (~> 1.0)
23
+ base64 (0.2.0)
24
+ bigdecimal (3.1.9)
20
25
  builder (3.2.4)
21
- childprocess (4.0.0)
26
+ childprocess (4.1.0)
22
27
  concurrent-ruby (1.1.8)
28
+ contracts (0.16.1)
23
29
  cucumber (5.3.0)
24
30
  builder (~> 3.2, >= 3.2.4)
25
31
  cucumber-core (~> 8.0, >= 8.0.1)
@@ -53,18 +59,20 @@ GEM
53
59
  cucumber-messages (~> 13.0, >= 13.0.1)
54
60
  diff-lcs (1.4.4)
55
61
  ffi (1.15.0)
56
- gemika (0.5.0)
62
+ gemika (0.8.2)
57
63
  i18n (1.8.9)
58
64
  concurrent-ruby (~> 1.0)
59
65
  middleware (0.1.0)
60
66
  minitest (5.14.4)
61
67
  multi_test (0.1.2)
68
+ mutex_m (0.3.0)
69
+ ostruct (0.6.1)
62
70
  protobuf-cucumber (3.10.8)
63
71
  activesupport (>= 3.2)
64
72
  middleware
65
73
  thor
66
74
  thread_safe
67
- rake (13.0.3)
75
+ rake (13.1.0)
68
76
  rspec (3.10.0)
69
77
  rspec-core (~> 3.10.0)
70
78
  rspec-expectations (~> 3.10.0)
@@ -91,12 +99,16 @@ PLATFORMS
91
99
  x86_64-linux
92
100
 
93
101
  DEPENDENCIES
94
- aruba
102
+ aruba (>= 2.0.0)
103
+ base64
104
+ bigdecimal
95
105
  cucumber (~> 5.3.0)
96
106
  cucumber_priority!
97
- gemika
98
- rake
107
+ gemika (>= 0.8.1)
108
+ mutex_m
109
+ ostruct
110
+ rake (> 10.0)
99
111
  rspec (~> 3.0)
100
112
 
101
113
  BUNDLED WITH
102
- 2.2.3
114
+ 2.2.15
@@ -0,0 +1,19 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Former standard gems, see https://stdgems.org/
4
+ gem 'ostruct' # Bundled gem since Ruby 3.4
5
+ gem 'base64' # Bundled gem since Ruby 3.4
6
+ gem 'bigdecimal' # Bundled gem since Ruby 3.4
7
+ gem 'mutex_m' # Bundled gem since Ruby 3.4
8
+
9
+ # Runtime dependencies
10
+ gem 'cucumber', '~> 6.1.0'
11
+
12
+ # Development dependencies
13
+ gem 'rspec', '~> 3.0'
14
+ gem 'gemika', '>= 0.8.1'
15
+ gem 'rake', '> 10.0'
16
+ gem 'aruba', '>= 2.0.0'
17
+
18
+ # Gem under test
19
+ gem 'cucumber_priority', :path => '.'
@@ -0,0 +1,150 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ cucumber_priority (1.1.0)
5
+ cucumber
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activesupport (8.0.1)
11
+ base64
12
+ benchmark (>= 0.3)
13
+ bigdecimal
14
+ concurrent-ruby (~> 1.0, >= 1.3.1)
15
+ connection_pool (>= 2.2.5)
16
+ drb
17
+ i18n (>= 1.6, < 2)
18
+ logger (>= 1.4.2)
19
+ minitest (>= 5.1)
20
+ securerandom (>= 0.3)
21
+ tzinfo (~> 2.0, >= 2.0.5)
22
+ uri (>= 0.13.1)
23
+ aruba (2.1.0)
24
+ bundler (>= 1.17, < 3.0)
25
+ childprocess (>= 2.0, < 5.0)
26
+ contracts (>= 0.16.0, < 0.18.0)
27
+ cucumber (>= 4.0, < 9.0)
28
+ rspec-expectations (~> 3.4)
29
+ thor (~> 1.0)
30
+ base64 (0.2.0)
31
+ benchmark (0.4.0)
32
+ bigdecimal (3.1.9)
33
+ builder (3.3.0)
34
+ childprocess (4.1.0)
35
+ concurrent-ruby (1.3.5)
36
+ connection_pool (2.5.0)
37
+ contracts (0.17.2)
38
+ cucumber (6.1.0)
39
+ builder (~> 3.2, >= 3.2.4)
40
+ cucumber-core (~> 9.0, >= 9.0.1)
41
+ cucumber-create-meta (~> 4.0, >= 4.0.0)
42
+ cucumber-cucumber-expressions (~> 12.1, >= 12.1.1)
43
+ cucumber-gherkin (~> 18.1, >= 18.1.0)
44
+ cucumber-html-formatter (~> 13.0, >= 13.0.0)
45
+ cucumber-messages (~> 15.0, >= 15.0.0)
46
+ cucumber-wire (~> 5.0, >= 5.0.1)
47
+ diff-lcs (~> 1.4, >= 1.4.4)
48
+ mime-types (~> 3.3, >= 3.3.1)
49
+ multi_test (~> 0.1, >= 0.1.2)
50
+ sys-uname (~> 1.2, >= 1.2.2)
51
+ cucumber-core (9.0.1)
52
+ cucumber-gherkin (~> 18.1, >= 18.1.0)
53
+ cucumber-messages (~> 15.0, >= 15.0.0)
54
+ cucumber-tag-expressions (~> 3.0, >= 3.0.1)
55
+ cucumber-create-meta (4.0.0)
56
+ cucumber-messages (~> 15.0, >= 15.0.0)
57
+ sys-uname (~> 1.2, >= 1.2.2)
58
+ cucumber-cucumber-expressions (12.1.3)
59
+ cucumber-gherkin (18.1.1)
60
+ cucumber-messages (~> 15.0, >= 15.0.0)
61
+ cucumber-html-formatter (13.0.0)
62
+ cucumber-messages (~> 15.0, >= 15.0.0)
63
+ cucumber-messages (15.0.0)
64
+ protobuf-cucumber (~> 3.10, >= 3.10.8)
65
+ cucumber-tag-expressions (3.0.1)
66
+ cucumber-wire (5.0.1)
67
+ cucumber-core (~> 9.0, >= 9.0.1)
68
+ cucumber-cucumber-expressions (~> 12.1, >= 12.1.1)
69
+ cucumber-messages (~> 15.0, >= 15.0.0)
70
+ diff-lcs (1.5.1)
71
+ drb (2.2.1)
72
+ ffi (1.17.1)
73
+ ffi (1.17.1-aarch64-linux-gnu)
74
+ ffi (1.17.1-aarch64-linux-musl)
75
+ ffi (1.17.1-arm-linux-gnu)
76
+ ffi (1.17.1-arm-linux-musl)
77
+ ffi (1.17.1-arm64-darwin)
78
+ ffi (1.17.1-x86-linux-gnu)
79
+ ffi (1.17.1-x86-linux-musl)
80
+ ffi (1.17.1-x86_64-darwin)
81
+ ffi (1.17.1-x86_64-linux-gnu)
82
+ ffi (1.17.1-x86_64-linux-musl)
83
+ gemika (0.8.4)
84
+ i18n (1.14.6)
85
+ concurrent-ruby (~> 1.0)
86
+ logger (1.6.5)
87
+ middleware (0.1.0)
88
+ mime-types (3.6.0)
89
+ logger
90
+ mime-types-data (~> 3.2015)
91
+ mime-types-data (3.2025.0107)
92
+ minitest (5.25.4)
93
+ multi_test (0.1.2)
94
+ mutex_m (0.3.0)
95
+ ostruct (0.6.1)
96
+ protobuf-cucumber (3.10.8)
97
+ activesupport (>= 3.2)
98
+ middleware
99
+ thor
100
+ thread_safe
101
+ rake (13.2.1)
102
+ rspec (3.13.0)
103
+ rspec-core (~> 3.13.0)
104
+ rspec-expectations (~> 3.13.0)
105
+ rspec-mocks (~> 3.13.0)
106
+ rspec-core (3.13.2)
107
+ rspec-support (~> 3.13.0)
108
+ rspec-expectations (3.13.3)
109
+ diff-lcs (>= 1.2.0, < 2.0)
110
+ rspec-support (~> 3.13.0)
111
+ rspec-mocks (3.13.2)
112
+ diff-lcs (>= 1.2.0, < 2.0)
113
+ rspec-support (~> 3.13.0)
114
+ rspec-support (3.13.2)
115
+ securerandom (0.4.1)
116
+ sys-uname (1.3.1)
117
+ ffi (~> 1.1)
118
+ thor (1.3.2)
119
+ thread_safe (0.3.6)
120
+ tzinfo (2.0.6)
121
+ concurrent-ruby (~> 1.0)
122
+ uri (1.0.2)
123
+
124
+ PLATFORMS
125
+ aarch64-linux-gnu
126
+ aarch64-linux-musl
127
+ arm-linux-gnu
128
+ arm-linux-musl
129
+ arm64-darwin
130
+ ruby
131
+ x86-linux-gnu
132
+ x86-linux-musl
133
+ x86_64-darwin
134
+ x86_64-linux-gnu
135
+ x86_64-linux-musl
136
+
137
+ DEPENDENCIES
138
+ aruba
139
+ base64
140
+ bigdecimal
141
+ cucumber (~> 6.1.0)
142
+ cucumber_priority!
143
+ gemika (>= 0.8.1)
144
+ mutex_m
145
+ ostruct
146
+ rake (> 10.0)
147
+ rspec (~> 3.0)
148
+
149
+ BUNDLED WITH
150
+ 2.6.3
@@ -0,0 +1,20 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Former standard gems, see https://stdgems.org/
4
+ gem 'ostruct' # Bundled gem since Ruby 3.4
5
+ gem 'base64' # Bundled gem since Ruby 3.4
6
+ gem 'bigdecimal' # Bundled gem since Ruby 3.4
7
+ gem 'mutex_m' # Bundled gem since Ruby 3.4
8
+ gem 'logger' # Bundled gem since Ruby 3.4
9
+
10
+ # Runtime dependencies
11
+ gem 'cucumber', '~> 9.2.1'
12
+
13
+ # Development dependencies
14
+ gem 'rspec', '~> 3.0'
15
+ gem 'gemika', '>= 0.8.1'
16
+ gem 'rake', '> 10.0'
17
+ gem 'aruba', '>= 2.0.0'
18
+
19
+ # Gem under test
20
+ gem 'cucumber_priority', :path => '.'
@@ -0,0 +1,108 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ cucumber_priority (1.1.0)
5
+ cucumber
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ aruba (2.3.0)
11
+ bundler (>= 1.17, < 3.0)
12
+ contracts (>= 0.16.0, < 0.18.0)
13
+ cucumber (>= 8.0, < 10.0)
14
+ rspec-expectations (~> 3.4)
15
+ thor (~> 1.0)
16
+ base64 (0.2.0)
17
+ bigdecimal (3.1.9)
18
+ builder (3.3.0)
19
+ contracts (0.17.2)
20
+ cucumber (9.2.1)
21
+ builder (~> 3.2)
22
+ cucumber-ci-environment (> 9, < 11)
23
+ cucumber-core (> 13, < 14)
24
+ cucumber-cucumber-expressions (~> 17.0)
25
+ cucumber-gherkin (> 24, < 28)
26
+ cucumber-html-formatter (> 20.3, < 22)
27
+ cucumber-messages (> 19, < 25)
28
+ diff-lcs (~> 1.5)
29
+ mini_mime (~> 1.1)
30
+ multi_test (~> 1.1)
31
+ sys-uname (~> 1.2)
32
+ cucumber-ci-environment (10.0.1)
33
+ cucumber-core (13.0.3)
34
+ cucumber-gherkin (>= 27, < 28)
35
+ cucumber-messages (>= 20, < 23)
36
+ cucumber-tag-expressions (> 5, < 7)
37
+ cucumber-cucumber-expressions (17.1.0)
38
+ bigdecimal
39
+ cucumber-gherkin (27.0.0)
40
+ cucumber-messages (>= 19.1.4, < 23)
41
+ cucumber-html-formatter (21.7.0)
42
+ cucumber-messages (> 19, < 27)
43
+ cucumber-messages (22.0.0)
44
+ cucumber-tag-expressions (6.1.1)
45
+ diff-lcs (1.5.1)
46
+ ffi (1.17.1)
47
+ ffi (1.17.1-aarch64-linux-gnu)
48
+ ffi (1.17.1-aarch64-linux-musl)
49
+ ffi (1.17.1-arm-linux-gnu)
50
+ ffi (1.17.1-arm-linux-musl)
51
+ ffi (1.17.1-arm64-darwin)
52
+ ffi (1.17.1-x86-linux-gnu)
53
+ ffi (1.17.1-x86-linux-musl)
54
+ ffi (1.17.1-x86_64-darwin)
55
+ ffi (1.17.1-x86_64-linux-gnu)
56
+ ffi (1.17.1-x86_64-linux-musl)
57
+ gemika (0.8.4)
58
+ logger (1.6.5)
59
+ mini_mime (1.1.5)
60
+ multi_test (1.1.0)
61
+ mutex_m (0.3.0)
62
+ ostruct (0.6.1)
63
+ rake (13.2.1)
64
+ rspec (3.13.0)
65
+ rspec-core (~> 3.13.0)
66
+ rspec-expectations (~> 3.13.0)
67
+ rspec-mocks (~> 3.13.0)
68
+ rspec-core (3.13.2)
69
+ rspec-support (~> 3.13.0)
70
+ rspec-expectations (3.13.3)
71
+ diff-lcs (>= 1.2.0, < 2.0)
72
+ rspec-support (~> 3.13.0)
73
+ rspec-mocks (3.13.2)
74
+ diff-lcs (>= 1.2.0, < 2.0)
75
+ rspec-support (~> 3.13.0)
76
+ rspec-support (3.13.2)
77
+ sys-uname (1.3.1)
78
+ ffi (~> 1.1)
79
+ thor (1.3.2)
80
+
81
+ PLATFORMS
82
+ aarch64-linux-gnu
83
+ aarch64-linux-musl
84
+ arm-linux-gnu
85
+ arm-linux-musl
86
+ arm64-darwin
87
+ ruby
88
+ x86-linux-gnu
89
+ x86-linux-musl
90
+ x86_64-darwin
91
+ x86_64-linux-gnu
92
+ x86_64-linux-musl
93
+
94
+ DEPENDENCIES
95
+ aruba (>= 2.0.0)
96
+ base64
97
+ bigdecimal
98
+ cucumber (~> 9.2.1)
99
+ cucumber_priority!
100
+ gemika (>= 0.8.1)
101
+ logger
102
+ mutex_m
103
+ ostruct
104
+ rake (> 10.0)
105
+ rspec (~> 3.0)
106
+
107
+ BUNDLED WITH
108
+ 2.6.3
data/README.md CHANGED
@@ -57,7 +57,7 @@ A non-overridable step will always win over an overridable step regardless of it
57
57
  Supported Cucumber versions
58
58
  ----------------------------
59
59
 
60
- cucumber_priority is tested against Cucumber 1.3, 2.4, 3.0 and 3.1.
60
+ cucumber_priority is tested against Cucumber 1.3, 2.4, 3.0, 3.1, 4.1, 5.3, 9.2 and 10.1.
61
61
 
62
62
 
63
63
  Installation
@@ -83,9 +83,21 @@ There are tests in `spec`. We only accept PRs with tests. To run tests:
83
83
 
84
84
  We recommend to test large changes against multiple versions of Ruby and multiple dependency sets. Supported combinations are configured in `.github/workflows/test.yml`. We provide some rake tasks to help with this:
85
85
 
86
+ - Run tests for a specific version of Ruby, Bundler and Gemfile:
87
+ ```sh
88
+ rbenv shell 3.4.1
89
+ export BUNDLE_GEMFILE=Gemfile.cucumber-9.2
90
+ bundle _2.6.3_ install
91
+ bundle _2.6.3_ exec rake current_rspec
92
+ ```
86
93
  - Install development dependencies using `bundle matrix:install`
87
94
  - Run tests using `bundle matrix:spec`
95
+ - Run tests for all rubies:
88
96
 
97
+ ```sh
98
+ for version in "2.5.3" "2.6.6" "2.7.2" "3.2.0" "3.3.6" "3.4.1"; do rbenv shell $version && bundle install && bundle exec rake matrix:install && bundle exec rake matrix:spec; done
99
+ ```
100
+
89
101
  Note that we have configured GitHub Actions to automatically run tests in all supported Ruby versions and dependency sets after each push. We will only merge pull requests after a green workflow build.
90
102
 
91
103
  If you would like to contribute:
@@ -101,4 +113,3 @@ Credits
101
113
  -------
102
114
 
103
115
  Henning Koch from [makandra](https://makandra.com/)
104
-
@@ -2,24 +2,29 @@
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
  require "cucumber_priority/version"
4
4
 
5
- Gem::Specification.new do |s|
6
- s.name = %q{cucumber_priority}
7
- s.version = CucumberPriority::VERSION
8
- s.authors = ["Henning Koch"]
9
- s.email = %q{github@makandra.de}
10
- s.homepage = %q{http://github.com/makandra/cucumber_priority}
11
- s.summary = %q{Overridable step definitions for Cucumber}
12
- s.description = %q{cucumber_priority provides a way to mark step definitions as overridable, meaning that they can always be overshadowed by a more specific version without raising an error.}
13
- s.license = 'MIT'
14
- s.metadata = { 'rubygems_mfa_required' => 'true' }
5
+ Gem::Specification.new do |spec|
6
+ spec.name = %q{cucumber_priority}
7
+ spec.version = CucumberPriority::VERSION
8
+ spec.authors = ["Henning Koch"]
9
+ spec.email = %q{github@makandra.de}
10
+ spec.homepage = %q{http://github.com/makandra/cucumber_priority}
11
+ spec.summary = %q{Overridable step definitions for Cucumber}
12
+ spec.description = %q{cucumber_priority provides a way to mark step definitions as overridable, meaning that they can always be overshadowed by a more specific version without raising an error.}
13
+ spec.license = 'MIT'
14
+ spec.metadata = {
15
+ 'rubygems_mfa_required' => 'true',
16
+ 'bug_tracker_uri' => 'https://github.com/makandra/cucumber_priority/issues',
17
+ 'changelog_uri' => 'https://github.com/makandra/cucumber_priority/blob/master/CHANGELOG.md',
18
+ 'source_code_uri' => 'https://github.com/makandra/cucumber_priority',
19
+ }
15
20
 
16
- s.files = `git ls-files -z`.split("\x0").reject do |f|
21
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
22
  f.match(%r{^(gemfiles|bin|test|spec|features)/})
18
23
  end
19
- s.bindir = "exe"
20
- s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
- s.require_paths = ["lib"]
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
22
27
 
23
- s.add_dependency('cucumber')
28
+ spec.add_dependency('cucumber')
24
29
 
25
30
  end
@@ -1,6 +1,6 @@
1
1
  require 'cucumber'
2
2
 
3
- if Cucumber::VERSION >= '3'
3
+ if Gem::Version.new(Cucumber::VERSION) > Gem::Version.new('3.0')
4
4
  require 'cucumber/glue/registry_and_more'
5
5
  else
6
6
  require 'cucumber/rb_support/rb_language'
@@ -25,7 +25,7 @@ module CucumberPriority
25
25
  end
26
26
  end
27
27
 
28
- if Cucumber::VERSION >= '3'
28
+ if Gem::Version.new(Cucumber::VERSION) > Gem::Version.new('3.0')
29
29
 
30
30
  module Cucumber
31
31
  module StepMatchSearch
@@ -42,7 +42,7 @@ if Cucumber::VERSION >= '3'
42
42
  end
43
43
  end
44
44
 
45
- elsif Cucumber::VERSION >= '2.3'
45
+ elsif Gem::Version.new(Cucumber::VERSION) >= Gem::Version.new('2.3')
46
46
 
47
47
 
48
48
  # Cucumber 2.3 or higher has methods that return an array of Cucumber::StepMatch objects.
@@ -1,4 +1,4 @@
1
- step_definition_class = Cucumber::VERSION >= '3' ? Cucumber::Glue::StepDefinition : Cucumber::RbSupport::RbStepDefinition
1
+ step_definition_class = Gem::Version.new(Cucumber::VERSION) > Gem::Version.new('3.0') ? Cucumber::Glue::StepDefinition : Cucumber::RbSupport::RbStepDefinition
2
2
 
3
3
  step_definition_class.class_eval do
4
4
 
@@ -1,3 +1,3 @@
1
1
  module CucumberPriority
2
- VERSION = '0.3.3'
2
+ VERSION = '1.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber_priority
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2022-03-16 00:00:00.000000000 Z
10
+ date: 2025-08-28 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: cucumber
@@ -36,9 +35,12 @@ files:
36
35
  - ".gitignore"
37
36
  - ".rspec"
38
37
  - ".ruby-version"
38
+ - CHANGELOG.md
39
39
  - Gemfile
40
40
  - Gemfile.cucumber-1.3
41
41
  - Gemfile.cucumber-1.3.lock
42
+ - Gemfile.cucumber-10.1
43
+ - Gemfile.cucumber-10.1.lock
42
44
  - Gemfile.cucumber-2.4
43
45
  - Gemfile.cucumber-2.4.lock
44
46
  - Gemfile.cucumber-3.0
@@ -49,6 +51,10 @@ files:
49
51
  - Gemfile.cucumber-4.1.lock
50
52
  - Gemfile.cucumber-5.3
51
53
  - Gemfile.cucumber-5.3.lock
54
+ - Gemfile.cucumber-6.1
55
+ - Gemfile.cucumber-6.1.lock
56
+ - Gemfile.cucumber-9.2
57
+ - Gemfile.cucumber-9.2.lock
52
58
  - Gemfile.lock
53
59
  - LICENSE
54
60
  - README.md
@@ -66,7 +72,9 @@ licenses:
66
72
  - MIT
67
73
  metadata:
68
74
  rubygems_mfa_required: 'true'
69
- post_install_message:
75
+ bug_tracker_uri: https://github.com/makandra/cucumber_priority/issues
76
+ changelog_uri: https://github.com/makandra/cucumber_priority/blob/master/CHANGELOG.md
77
+ source_code_uri: https://github.com/makandra/cucumber_priority
70
78
  rdoc_options: []
71
79
  require_paths:
72
80
  - lib
@@ -81,8 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
89
  - !ruby/object:Gem::Version
82
90
  version: '0'
83
91
  requirements: []
84
- rubygems_version: 3.3.9
85
- signing_key:
92
+ rubygems_version: 3.6.2
86
93
  specification_version: 4
87
94
  summary: Overridable step definitions for Cucumber
88
95
  test_files: []