cucumber-expressions 5.0.10 → 5.0.11
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a59cd1371965787d16c983cbc3f568a4009a5d65
|
4
|
+
data.tar.gz: c1e5fc09c6975c2816d91d459303cee6b12f02b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48fda53b1da3954c54f12a88479d216765e364d13b54da55f97a67269f3ac4c2fb46f6d46a879bdc0790144b1ec6650ce8eacc051ee9fe1a1963375dd47ae778
|
7
|
+
data.tar.gz: 2ac9107c28dd05f8ec2fdb7cd97487ea7b48f5a04707b5c0c2cd2d072ae0b92fba7ba9db5e3062f0c6f587b87c47ee02d4b4f80decc2a2cd289e302e1f179708
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'cucumber-expressions'
|
4
|
-
s.version = '5.0.
|
4
|
+
s.version = '5.0.11'
|
5
5
|
s.authors = ["Aslak Hellesøy"]
|
6
6
|
s.description = 'Cucumber Expressions - a simpler alternative to Regular Expressions'
|
7
7
|
s.summary = "cucumber-expressions-#{s.version}"
|
@@ -59,6 +59,12 @@ module Cucumber
|
|
59
59
|
expect(group.children.length).to eq(1)
|
60
60
|
end
|
61
61
|
|
62
|
+
it 'works with escaped slash' do
|
63
|
+
tr = TreeRegexp.new(/^I go to '\/(.+)'$/)
|
64
|
+
group = tr.match("I go to '/hello'")
|
65
|
+
expect(group.children.length).to eq(1)
|
66
|
+
end
|
67
|
+
|
62
68
|
it 'captures non capturing groups with capturing groups inside' do
|
63
69
|
tr = TreeRegexp.new(/the stdout(?: from "(.*?)")?/)
|
64
70
|
group = tr.match("the stdout")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-expressions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
@@ -131,7 +131,7 @@ rubyforge_project:
|
|
131
131
|
rubygems_version: 2.6.8
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
|
-
summary: cucumber-expressions-5.0.
|
134
|
+
summary: cucumber-expressions-5.0.11
|
135
135
|
test_files:
|
136
136
|
- spec/capture_warnings.rb
|
137
137
|
- spec/coverage.rb
|