cucumber-cucumber-expressions 15.1.1 → 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: 8fd2e4c4649be9176001615436235c16321f886e07eacc98194e90ebd57f041b
4
- data.tar.gz: c4e6ab42ee51bd3e6f23851dee02aec0da7012006862d20da1b017343ca5b77f
3
+ metadata.gz: 0bdeb47f27f47df87456711f1efa4a343a8f643041a9e3aa3b7c06f5ba45d718
4
+ data.tar.gz: ccd1faff1edfa0392d5e0a9f98e7f87df4b38fbf162d48368120007be7a0739c
5
5
  SHA512:
6
- metadata.gz: fa959ea1a85cb6d6d9a054d19a0bb53fb79e64b8d48eefd4d3f9c587ca29b43c66a58201be6e0a2354f8f978ffb829734021d1fc647a96ae9522f20f4099c185
7
- data.tar.gz: ab57cb4006a885929cf936fbe996f664d6351e2eccb96d61f2d29d14705a088368efaa1acc78afb193946bf0c9f76165d16c54dd4c13a3b5beab2c44eb233619
6
+ metadata.gz: a4f16a4e6094de191d31454f45cc1173feebfaa4f9b8fea908c560481e203cc6618a1b3022f32f32470a6e37b95d2b31f7ea156c33731e047b9e99589c01229c
7
+ data.tar.gz: fc7048862a358a5c7e98b7002ca823123a7c3272e6da49994526edd4c5ced67662224be9da9c44881918a649f65f26bdf4d524c3c544abdd3051479a51c75dbb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 15.1.1
1
+ 15.2.0
@@ -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.1.1
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-04-21 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
@@ -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.1.1
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