cucumber-tag-expressions 6.1.1 → 6.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +7 -24
- data/spec/errors_spec.rb +0 -13
- data/spec/evaluations_spec.rb +0 -17
- data/spec/parsing_spec.rb +0 -13
- data/spec/spec_helper.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bddf0d042650b79fc5886aed9537224e09c014fcdf858606cf71a78ed3a039c1
|
4
|
+
data.tar.gz: 6f22aa0faeb10909fed7db9af1f4b7dff6e040d46a10da31681edb55df4376f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0b216d933ee4aca4eae8e1114b75acff19565f179931c3b61c531b94eb4d233af2ec16ac954513121d06d35d352ade10e730949314b137adf7bf114612309b6
|
7
|
+
data.tar.gz: d1f799fa7b759c0c6be6a7cd2d49e89924880b5a1aa708659755448ccec974fecfaad43f6945bd3f3dd5c3c4afff4c850c74637631b3f8991d9b24035ac1892f
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-tag-expressions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.
|
4
|
+
version: 6.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrea Nodari
|
8
8
|
- Aslak Hellesøy
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
@@ -17,20 +16,14 @@ dependencies:
|
|
17
16
|
requirements:
|
18
17
|
- - "~>"
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version: '13.
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 13.0.6
|
19
|
+
version: '13.1'
|
24
20
|
type: :development
|
25
21
|
prerelease: false
|
26
22
|
version_requirements: !ruby/object:Gem::Requirement
|
27
23
|
requirements:
|
28
24
|
- - "~>"
|
29
25
|
- !ruby/object:Gem::Version
|
30
|
-
version: '13.
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 13.0.6
|
26
|
+
version: '13.1'
|
34
27
|
- !ruby/object:Gem::Dependency
|
35
28
|
name: rspec
|
36
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -69,10 +62,6 @@ files:
|
|
69
62
|
- lib/cucumber/tag_expressions.rb
|
70
63
|
- lib/cucumber/tag_expressions/expressions.rb
|
71
64
|
- lib/cucumber/tag_expressions/parser.rb
|
72
|
-
- spec/errors_spec.rb
|
73
|
-
- spec/evaluations_spec.rb
|
74
|
-
- spec/parsing_spec.rb
|
75
|
-
- spec/spec_helper.rb
|
76
65
|
homepage: https://cucumber.io/docs/cucumber/api/#tag-expressions
|
77
66
|
licenses:
|
78
67
|
- MIT
|
@@ -82,7 +71,6 @@ metadata:
|
|
82
71
|
documentation_uri: https://cucumber.io/docs/cucumber/api/#tag-expressions
|
83
72
|
mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
|
84
73
|
source_code_uri: https://github.com/cucumber/tag-expressions/tree/main/ruby
|
85
|
-
post_install_message:
|
86
74
|
rdoc_options:
|
87
75
|
- "--charset=UTF-8"
|
88
76
|
require_paths:
|
@@ -98,12 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
86
|
- !ruby/object:Gem::Version
|
99
87
|
version: 3.0.8
|
100
88
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
102
|
-
signing_key:
|
89
|
+
rubygems_version: 3.6.2
|
103
90
|
specification_version: 4
|
104
|
-
summary: cucumber-tag-expressions-6.1.
|
105
|
-
test_files:
|
106
|
-
- spec/errors_spec.rb
|
107
|
-
- spec/evaluations_spec.rb
|
108
|
-
- spec/parsing_spec.rb
|
109
|
-
- spec/spec_helper.rb
|
91
|
+
summary: cucumber-tag-expressions-6.1.2
|
92
|
+
test_files: []
|
data/spec/errors_spec.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
tests = YAML.load_file('../testdata/errors.yml')
|
4
|
-
|
5
|
-
describe 'Errors' do
|
6
|
-
tests.each do |test|
|
7
|
-
let(:parser) { Cucumber::TagExpressions::Parser.new }
|
8
|
-
|
9
|
-
it "fails to parse '#{test['expression']}' with '#{test['error']}'" do
|
10
|
-
expect { parser.parse(test['expression']) }.to raise_error(test['error'])
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
data/spec/evaluations_spec.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
evaluations = YAML.load_file('../testdata/evaluations.yml')
|
4
|
-
|
5
|
-
describe 'Evaluations' do
|
6
|
-
evaluations.each do |evaluation|
|
7
|
-
context evaluation['expression'] do
|
8
|
-
let(:parser) { Cucumber::TagExpressions::Parser.new }
|
9
|
-
|
10
|
-
evaluation['tests'].each do |test|
|
11
|
-
it "evaluates [#{test['variables'].join(', ')}] to #{test['result']}" do
|
12
|
-
expect(parser.parse(evaluation['expression']).evaluate(test['variables'])).to eq(test['result'])
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
data/spec/parsing_spec.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
tests = YAML.load_file('../testdata/parsing.yml')
|
4
|
-
|
5
|
-
describe 'Parsing' do
|
6
|
-
let(:parser) { Cucumber::TagExpressions::Parser.new }
|
7
|
-
|
8
|
-
tests.each do |test|
|
9
|
-
it "parses '#{test['expression']}' into '#{test['formatted']}'" do
|
10
|
-
expect(parser.parse(test['expression']).to_s).to eq(test['formatted'])
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
data/spec/spec_helper.rb
DELETED