cucumber-expressions 5.0.11 → 5.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a59cd1371965787d16c983cbc3f568a4009a5d65
4
- data.tar.gz: c1e5fc09c6975c2816d91d459303cee6b12f02b7
3
+ metadata.gz: ea398357223ad8b15e08a3c66821af289a60c175
4
+ data.tar.gz: 6d4cfdf4cb89c2272673ff6c95310964031273c7
5
5
  SHA512:
6
- metadata.gz: 48fda53b1da3954c54f12a88479d216765e364d13b54da55f97a67269f3ac4c2fb46f6d46a879bdc0790144b1ec6650ce8eacc051ee9fe1a1963375dd47ae778
7
- data.tar.gz: 2ac9107c28dd05f8ec2fdb7cd97487ea7b48f5a04707b5c0c2cd2d072ae0b92fba7ba9db5e3062f0c6f587b87c47ee02d4b4f80decc2a2cd289e302e1f179708
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.11'
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.11
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.11
134
+ summary: cucumber-expressions-5.0.12
135
135
  test_files:
136
136
  - spec/capture_warnings.rb
137
137
  - spec/coverage.rb