cucumber-tag-expressions 5.0.1 → 5.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cucumber/tag_expressions/expressions.rb +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2312b78c7cff8f3e217b2d1bf5ed62d3d19a10d589f07af122ab60a99f673b0c
|
4
|
+
data.tar.gz: 7ffb987ae6e9f033bcdb32ad41d4c69ca425b63f091ce8a2ce628fc4855fe123
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d482565331f707b19b224d9a67dbaeeca84b8707e53abf653274b465afc18d8cc36f20d93a6d644d631171ec1073eabc4a634bac8f1826db7bf48af1323fa044
|
7
|
+
data.tar.gz: 78cf8ecaf1a210a8a4374b608305256f8565274993f388f819060da2ec0c1483e7966e3bd7b952fbe3d655f5408369b515d542fab53a1a5f8acef7afc1883c38
|
@@ -30,7 +30,12 @@ module Cucumber
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def to_s
|
33
|
-
|
33
|
+
if @expression.is_a?(And)|| @expression.is_a?(Or)
|
34
|
+
# -- HINT: Binary operatos provides already "( ... )"
|
35
|
+
"not #{@expression}"
|
36
|
+
else
|
37
|
+
"not ( #{@expression} )"
|
38
|
+
end
|
34
39
|
end
|
35
40
|
end
|
36
41
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-tag-expressions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrea Nodari
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-07-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -92,7 +92,7 @@ requirements: []
|
|
92
92
|
rubygems_version: 3.2.22
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
|
-
summary: cucumber-tag-expressions-5.0.
|
95
|
+
summary: cucumber-tag-expressions-5.0.2
|
96
96
|
test_files:
|
97
97
|
- spec/errors_spec.rb
|
98
98
|
- spec/evaluations_spec.rb
|