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: 50ebfcf2cfdb4abd82cbb5249315229fb737aad6
4
- data.tar.gz: bc852a832a6723d2bd3d49fbcf9b2bd1cc88f8a0
3
+ metadata.gz: a59cd1371965787d16c983cbc3f568a4009a5d65
4
+ data.tar.gz: c1e5fc09c6975c2816d91d459303cee6b12f02b7
5
5
  SHA512:
6
- metadata.gz: 6770cad378c2a1661e6dd9f645fd38d7e0ba1e7cfc388f50613570a1bd0433b02601552831207e4c3b2ceff504d58ad0baf95ab41711f9f5dfeb041b7f8d9b4a
7
- data.tar.gz: 2610566bef43fae42a66c1290538a8ca868b061b3ac9218266607921c3feea5a3406bc04601786e2c987558630b127fb0e522a620e9fb6a7d5f53909897d02f4
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.10'
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.10
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.10
134
+ summary: cucumber-expressions-5.0.11
135
135
  test_files:
136
136
  - spec/capture_warnings.rb
137
137
  - spec/coverage.rb