cucumber_priority 1.0.0 → 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 +4 -4
- data/.github/workflows/test.yml +4 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile.cucumber-1.3.lock +1 -1
- data/Gemfile.cucumber-10.1 +20 -0
- data/Gemfile.cucumber-10.1.lock +110 -0
- data/Gemfile.cucumber-2.4.lock +1 -1
- data/Gemfile.cucumber-3.0.lock +1 -1
- data/Gemfile.cucumber-3.1.lock +1 -1
- data/Gemfile.cucumber-4.1.lock +2 -2
- data/Gemfile.cucumber-5.3.lock +2 -2
- data/Gemfile.cucumber-6.1.lock +1 -1
- data/Gemfile.cucumber-9.2.lock +1 -1
- data/README.md +1 -1
- data/lib/cucumber_priority/require_cucumber.rb +1 -1
- data/lib/cucumber_priority/resolve_ambiguous_error.rb +2 -2
- data/lib/cucumber_priority/step_definition_ext.rb +1 -1
- data/lib/cucumber_priority/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49484d211bc3b2bc99bc8b5e8e5dd9a9f8f0596dfdb3cb1e1ceb80279f2a0f07
|
4
|
+
data.tar.gz: efec79d69bbbf8b31a063a83bfbdc08454932eb16d42a4b127fda494ec8b854a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f40da342a3b3926c9a40c16ebd2a920fbf33c2cbc8ba9e0cd9b3fbceb0ba60c2329587fa6ee3aa459e78fac08b6ca5ff864a46f89861a2360245217eb6bf482d
|
7
|
+
data.tar.gz: 779a016bab126e5b66c80218232676246719f7f941b89b8cd6c5a8885edd5ef58120c89057bd410eb0ffa3e8f9fdf5596ae527189863fca2742a29816b572f72
|
data/.github/workflows/test.yml
CHANGED
@@ -9,7 +9,7 @@ name: Tests
|
|
9
9
|
- master
|
10
10
|
jobs:
|
11
11
|
test:
|
12
|
-
runs-on: ubuntu-
|
12
|
+
runs-on: ubuntu-24.04
|
13
13
|
strategy:
|
14
14
|
fail-fast: false
|
15
15
|
matrix:
|
@@ -55,6 +55,9 @@ jobs:
|
|
55
55
|
- ruby: 3.4.1
|
56
56
|
gemfile: Gemfile.cucumber-9.2
|
57
57
|
bundler: 2.6.3
|
58
|
+
- ruby: 3.4.1
|
59
|
+
gemfile: Gemfile.cucumber-10.1
|
60
|
+
bundler: 2.6.3
|
58
61
|
env:
|
59
62
|
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
|
60
63
|
steps:
|
data/CHANGELOG.md
CHANGED
@@ -20,3 +20,9 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
20
20
|
|
21
21
|
- Add Support for Ruby 3.4
|
22
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.lock
CHANGED
@@ -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.lock
CHANGED
data/Gemfile.cucumber-3.0.lock
CHANGED
data/Gemfile.cucumber-3.1.lock
CHANGED
data/Gemfile.cucumber-4.1.lock
CHANGED
data/Gemfile.cucumber-5.3.lock
CHANGED
data/Gemfile.cucumber-6.1.lock
CHANGED
data/Gemfile.cucumber-9.2.lock
CHANGED
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
|
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
|
@@ -25,7 +25,7 @@ module CucumberPriority
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
if Cucumber::VERSION
|
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
|
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
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber_priority
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-08-28 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: cucumber
|
@@ -39,6 +39,8 @@ files:
|
|
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
|
@@ -87,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
89
|
- !ruby/object:Gem::Version
|
88
90
|
version: '0'
|
89
91
|
requirements: []
|
90
|
-
rubygems_version: 3.6.
|
92
|
+
rubygems_version: 3.6.2
|
91
93
|
specification_version: 4
|
92
94
|
summary: Overridable step definitions for Cucumber
|
93
95
|
test_files: []
|