cucumber-cucumber-expressions 15.1.0 → 16.0.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: 8628e719f25a444f3a037e9a361b9b19b4f9023a0b9d047d0171b843931d8a3e
4
- data.tar.gz: 9efbaac6092ddc16918a7b878d7bc05036451891dcfaaaead7e967d6547c64ec
3
+ metadata.gz: 91cee9bdbffb2c07a144c3b86524beb51a1ac6e7abd905a5fb5dea2913e7e551
4
+ data.tar.gz: bc1f87955e23bedf942dae8ffdfbb53fea7300b73e2ccc6666dd87246a84b928
5
5
  SHA512:
6
- metadata.gz: 409bacfe1c4dbf2aa2fda4eef18fbf8975bfd0f709e5ca3e0380259d7f59cb925939ef37a077cacc88794b2f885a059a07dcdf8facbe47fec32996dea65a7d45
7
- data.tar.gz: 78d3abbeae4da6de3b5c96c4a22c44fdab57e9a6543a5446d16228ff5c475e48810be0a3e8ef5fc555a8a134c94b0cf453b66948feb52b3ef98696a9c3732159
6
+ metadata.gz: 30ecd73f08ffef41ab55d13f8867bc28b63bb69033cd2e96bcca3d33d44171ab1a1ac2b98dc1ad7b25ccb571ef3304fa2a2ac14f5157793a4331f49ee6590770
7
+ data.tar.gz: 772807eafe35b2f3515727a7e38b373cd49537e4e5b96eb05083aef829c5bd55176b37ba8a6733356437f9c9b9bad9d1c993eda13eb5fc52b645cbc12f4f7c9d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 15.1.0
1
+ 16.0.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.0
4
+ version: 16.0.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-06-12 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.0
126
+ summary: cucumber-expressions-16.0.0
127
127
  test_files:
128
128
  - spec/capture_warnings.rb
129
129
  - spec/cucumber/cucumber_expressions/argument_spec.rb