cucumber-expressions 5.0.2 → 5.0.3
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: 2f6d1d92f85498715647c16f17c01f4781820134
|
4
|
+
data.tar.gz: 62e68065f30a37035524028e31291d37d761830b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 596176ff170ac4f68362dc8a44264dc9c1e3f2334b65c3aefdfb293497b440ade4e5ab4aba46c14ad0ac69081bb9d3f923055a45622d4974a5a66bf9c5185496
|
7
|
+
data.tar.gz: cbae0a9a49e9538b9768e2f985599898681b12d4a98b3922eb1b311dc1020c6defd92cb45f53b107e35686db64167f7ba026ca0738e95c84457257f74638cee5
|
@@ -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.3'
|
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}"
|
@@ -54,12 +54,18 @@ module Cucumber
|
|
54
54
|
end
|
55
55
|
|
56
56
|
it 'captures non capturing groups with capturing groups inside' do
|
57
|
-
tr = TreeRegexp.new(
|
57
|
+
tr = TreeRegexp.new(/the stdout(?: from "(.*?)")?/)
|
58
58
|
group = tr.match("the stdout")
|
59
59
|
expect(group.value).to eq("the stdout")
|
60
60
|
expect(group.children[0].value).to eq(nil)
|
61
61
|
expect(group.children.length).to eq(1)
|
62
62
|
end
|
63
|
+
|
64
|
+
it 'works with flags' do
|
65
|
+
tr = TreeRegexp.new(/HELLO/i)
|
66
|
+
group = tr.match("hello")
|
67
|
+
expect(group.value).to eq("hello")
|
68
|
+
end
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -130,7 +130,7 @@ rubyforge_project:
|
|
130
130
|
rubygems_version: 2.6.8
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
|
-
summary: cucumber-expressions-5.0.
|
133
|
+
summary: cucumber-expressions-5.0.3
|
134
134
|
test_files:
|
135
135
|
- spec/capture_warnings.rb
|
136
136
|
- spec/coverage.rb
|