cucumber-cucumber-expressions 15.0.2 → 15.2.0

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
  SHA256:
3
- metadata.gz: 2ef20202d47a4e26bfaad49aeae395550fdf1a676dfd4a20295fc037a534e2a1
4
- data.tar.gz: 6e5e0cba8961035a9eae0bbf0377ca687e6a4636d3399710bd279edcc26eb93e
3
+ metadata.gz: 0bdeb47f27f47df87456711f1efa4a343a8f643041a9e3aa3b7c06f5ba45d718
4
+ data.tar.gz: ccd1faff1edfa0392d5e0a9f98e7f87df4b38fbf162d48368120007be7a0739c
5
5
  SHA512:
6
- metadata.gz: 4c8451036eeb1c7846a88dc2e16e7641446a8fbd4eb2b5a3909b77d3630ea26b47195c90061007820baab4d08e61ec38ee9031148f4daf08e8798982d5a5014d
7
- data.tar.gz: 8600450db1083601afb7a7df6de20d9b9c5e10c165beb6bcd31bac244c299d580fa91088412f0882ab87c4f23cf0c74dbf1fa62d7921f198738dd5f6bacd2782
6
+ metadata.gz: a4f16a4e6094de191d31454f45cc1173feebfaa4f9b8fea908c560481e203cc6618a1b3022f32f32470a6e37b95d2b31f7ea156c33731e047b9e99589c01229c
7
+ data.tar.gz: fc7048862a358a5c7e98b7002ca823123a7c3272e6da49994526edd4c5ced67662224be9da9c44881918a649f65f26bdf4d524c3c544abdd3051479a51c75dbb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 15.0.2
1
+ 15.2.0
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  }
24
24
 
25
25
  s.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
26
- s.add_development_dependency 'rspec', '~> 3.10', '>= 3.10.0'
26
+ s.add_development_dependency 'rspec', '~> 3.11', '>= 3.11.0'
27
27
 
28
28
  s.rubygems_version = ">= 1.6.1"
29
29
  s.files = `git ls-files`.split("\n").reject {|path| path =~ /\.gitignore$/ }
@@ -32,7 +32,7 @@ module Cucumber
32
32
  end
33
33
 
34
34
  def to_s
35
- @source.inspect
35
+ source.inspect
36
36
  end
37
37
 
38
38
  private
@@ -95,6 +95,11 @@ module Cucumber
95
95
  expect(CucumberExpression.new(expr, ParameterTypeRegistry.new).source).to eq(expr)
96
96
  end
97
97
 
98
+ it "exposes source via #to_s" do
99
+ expr = "I have {int} cuke(s)"
100
+ expect(CucumberExpression.new(expr, ParameterTypeRegistry.new).to_s).to eq(expr.inspect)
101
+ end
102
+
98
103
  it "unmatched optional groups have undefined values" do
99
104
  parameter_type_registry = ParameterTypeRegistry.new
100
105
  parameter_type_registry.define_parameter_type(
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-cucumber-expressions
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.2
4
+ version: 15.2.0
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: 2022-03-15 00:00:00.000000000 Z
11
+ date: 2022-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -36,20 +36,20 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '3.10'
39
+ version: '3.11'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 3.10.0
42
+ version: 3.11.0
43
43
  type: :development
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '3.10'
49
+ version: '3.11'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 3.10.0
52
+ version: 3.11.0
53
53
  description: Cucumber Expressions - a simpler alternative to Regular Expressions
54
54
  email: cukes@googlegroups.com
55
55
  executables: []
@@ -123,7 +123,7 @@ requirements: []
123
123
  rubygems_version: 3.2.22
124
124
  signing_key:
125
125
  specification_version: 4
126
- summary: cucumber-expressions-15.0.2
126
+ summary: cucumber-expressions-15.2.0
127
127
  test_files:
128
128
  - spec/capture_warnings.rb
129
129
  - spec/cucumber/cucumber_expressions/argument_spec.rb