cucumber-cucumber-expressions 15.1.1 → 16.1.2

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: 3292e1a5438afffcfbc8f3c34cb1ebe7529d9087e8f86a14deebdb7646abc027
4
+ data.tar.gz: 671b555f547d195a883a7012704f881b6bbbda692ecd49e32fb52f26f351b822
5
5
  SHA512:
6
- metadata.gz: fa959ea1a85cb6d6d9a054d19a0bb53fb79e64b8d48eefd4d3f9c587ca29b43c66a58201be6e0a2354f8f978ffb829734021d1fc647a96ae9522f20f4099c185
7
- data.tar.gz: ab57cb4006a885929cf936fbe996f664d6351e2eccb96d61f2d29d14705a088368efaa1acc78afb193946bf0c9f76165d16c54dd4c13a3b5beab2c44eb233619
6
+ metadata.gz: dd0989b60bc8048947f251fcf309e6a81f7e034123a5dd89c1f959150a71ff2d95bdc87700697b911bed175e44cf17d763b15dbb901c3da7e2d18cb14bf4e235
7
+ data.tar.gz: da4fb18fe6dc9661b96bd30806d58dd326416c02548bae2d884b8cdb6f06c8cfb31339a73ae52badf4786cfdc95b53e429f677ba942d87ddaa321a528d84b92f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 15.1.1
1
+ 16.1.2
@@ -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: 16.1.2
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: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -58,8 +58,6 @@ extra_rdoc_files: []
58
58
  files:
59
59
  - ".rspec"
60
60
  - Gemfile
61
- - LICENSE
62
- - README.md
63
61
  - Rakefile
64
62
  - VERSION
65
63
  - cucumber-cucumber-expressions.gemspec
@@ -123,7 +121,7 @@ requirements: []
123
121
  rubygems_version: 3.2.22
124
122
  signing_key:
125
123
  specification_version: 4
126
- summary: cucumber-expressions-15.1.1
124
+ summary: cucumber-expressions-16.1.2
127
125
  test_files:
128
126
  - spec/capture_warnings.rb
129
127
  - spec/cucumber/cucumber_expressions/argument_spec.rb
data/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) Cucumber Ltd
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
data/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Cucumber Expressions for Ruby
2
-
3
- [The docs are here](https://github.com/cucumber/cucumber-expressions#readme).