cucumber-expressions 5.0.11 → 5.0.12
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: ea398357223ad8b15e08a3c66821af289a60c175
|
4
|
+
data.tar.gz: 6d4cfdf4cb89c2272673ff6c95310964031273c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f045c24da07f978651d62e2b7a8bf729c439d5170e0074fefb42c7a8801e25b0d07b4baa91cc4b79f088a7852b615980541cf28fd5a8e9fbf78689404c4535f
|
7
|
+
data.tar.gz: 68f8e6cd42e31f3e4132332ef1a114de435d9b678db4d1459c44452150a2b1d84c80497920b6933a7b3a6edb3294ebdede54369eff0611c67d037c14ceab207a
|
@@ -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.12'
|
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}"
|
@@ -23,10 +23,18 @@ module Cucumber
|
|
23
23
|
expect(match('three {string} mice', 'three "blind" mice')).to eq(['blind'])
|
24
24
|
end
|
25
25
|
|
26
|
+
it('matches multiple double quoted strings') do
|
27
|
+
expect(match('three {string} and {string} mice', 'three "blind" and "crippled" mice')).to eq(['blind', 'crippled'])
|
28
|
+
end
|
29
|
+
|
26
30
|
it('matches single quoted string') do
|
27
31
|
expect(match('three {string} mice', "three 'blind' mice")).to eq(['blind'])
|
28
32
|
end
|
29
33
|
|
34
|
+
it('matches multiple single quoted strings') do
|
35
|
+
expect(match('three {string} and {string} mice', "three 'blind' and 'crippled' mice")).to eq(['blind', 'crippled'])
|
36
|
+
end
|
37
|
+
|
30
38
|
it('does not match misquoted string') do
|
31
39
|
expect(match('three {string} mice', 'three "blind\' mice')).to eq(nil)
|
32
40
|
end
|
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.12
|
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.12
|
135
135
|
test_files:
|
136
136
|
- spec/capture_warnings.rb
|
137
137
|
- spec/coverage.rb
|