cucumber-cucumber-expressions 17.1.0 → 18.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: 8e68d546b3422fc947fbcd15c3469f0bea883537f6f6131c083a8068f5ed7d70
4
- data.tar.gz: 1a02b2f92ff2f48f855b38ec001c9302ab0f3c71079a52a1976e266eb6afd98f
3
+ metadata.gz: 74dfb3a8151a73da673923ef13ec0c49ab504d40e83e6c20d133de45dba91871
4
+ data.tar.gz: 22995bcfc331f804ffd26e74d7882f11774cce317bdf70895d349beaaa59ba3a
5
5
  SHA512:
6
- metadata.gz: 5d97f8253195c1888b345d26d8bb0e818f9fb34d181ee2e74c9dbfea5db18e33a623fb5b1823befc1a4083d6629dbc935ec5b8f254bca20f0135d06d0ab7a565
7
- data.tar.gz: 6c27affcc0f95a98ce86e66061af2028fcaae76c67b44253fb7d2649bf3529a1fa69c796ddd3f2e144c11bbf345c28aa93b41303cfb04ea796ff5e57b843502a
6
+ metadata.gz: d2433c63c28863c62c8fd21693fb0afb4be7184251be3bc3014d7364ca8e5f30b290efd1ef61f4082c1019e2fc5307af9e03a7d232af1e590ae316f57f6883e6
7
+ data.tar.gz: 9f01eb45afe0069a5bbadd8a87aa785b34760bca61bfe8816c730a0cda827e8fbcf7d08aa0063a12fb016102674c57a4bdd85454d8c4a9d7b900146345107703
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Cucumber Ltd and contributors
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.
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: 17.1.0
4
+ version: 18.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: 2024-03-21 00:00:00.000000000 Z
11
+ date: 2024-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal
@@ -30,40 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '13.0'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 13.0.6
33
+ version: '13.1'
37
34
  type: :development
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: '13.0'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 13.0.6
40
+ version: '13.1'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: rspec
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '3.11'
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: 3.11.0
47
+ version: '3.13'
57
48
  type: :development
58
49
  prerelease: false
59
50
  version_requirements: !ruby/object:Gem::Requirement
60
51
  requirements:
61
52
  - - "~>"
62
53
  - !ruby/object:Gem::Version
63
- version: '3.11'
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: 3.11.0
54
+ version: '3.13'
67
55
  - !ruby/object:Gem::Dependency
68
56
  name: rubocop
69
57
  requirement: !ruby/object:Gem::Requirement
@@ -126,12 +114,7 @@ executables: []
126
114
  extensions: []
127
115
  extra_rdoc_files: []
128
116
  files:
129
- - ".rubocop.yml"
130
- - ".rubocop_todo.yml"
131
- - Gemfile
132
- - Rakefile
133
- - VERSION
134
- - cucumber-cucumber-expressions.gemspec
117
+ - LICENSE
135
118
  - lib/cucumber/cucumber_expressions/argument.rb
136
119
  - lib/cucumber/cucumber_expressions/ast.rb
137
120
  - lib/cucumber/cucumber_expressions/combinatorial_generated_expression_factory.rb
@@ -149,19 +132,6 @@ files:
149
132
  - lib/cucumber/cucumber_expressions/parameter_type_registry.rb
150
133
  - lib/cucumber/cucumber_expressions/regular_expression.rb
151
134
  - lib/cucumber/cucumber_expressions/tree_regexp.rb
152
- - spec/cucumber/cucumber_expressions/argument_spec.rb
153
- - spec/cucumber/cucumber_expressions/combinatorial_generated_expression_factory_spec.rb
154
- - spec/cucumber/cucumber_expressions/cucumber_expression_generator_spec.rb
155
- - spec/cucumber/cucumber_expressions/cucumber_expression_parser_spec.rb
156
- - spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb
157
- - spec/cucumber/cucumber_expressions/cucumber_expression_tokenizer_spec.rb
158
- - spec/cucumber/cucumber_expressions/cucumber_expression_transformation_spec.rb
159
- - spec/cucumber/cucumber_expressions/custom_parameter_type_spec.rb
160
- - spec/cucumber/cucumber_expressions/expression_factory_spec.rb
161
- - spec/cucumber/cucumber_expressions/parameter_type_registry_spec.rb
162
- - spec/cucumber/cucumber_expressions/parameter_type_spec.rb
163
- - spec/cucumber/cucumber_expressions/regular_expression_spec.rb
164
- - spec/cucumber/cucumber_expressions/tree_regexp_spec.rb
165
135
  homepage: https://github.com/cucumber/cucumber-expressions
166
136
  licenses:
167
137
  - MIT
@@ -180,15 +150,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
150
  requirements:
181
151
  - - ">="
182
152
  - !ruby/object:Gem::Version
183
- version: '2.5'
153
+ version: '2.7'
184
154
  required_rubygems_version: !ruby/object:Gem::Requirement
185
155
  requirements:
186
156
  - - ">="
187
157
  - !ruby/object:Gem::Version
188
158
  version: '0'
189
159
  requirements: []
190
- rubygems_version: 3.4.19
160
+ rubygems_version: 3.5.16
191
161
  signing_key:
192
162
  specification_version: 4
193
- summary: cucumber-expressions-17.1.0
163
+ summary: cucumber-expressions-18.0.0
194
164
  test_files: []
data/.rubocop.yml DELETED
@@ -1,37 +0,0 @@
1
- require:
2
- - rubocop-performance
3
- - rubocop-rake
4
- - rubocop-rspec
5
-
6
- inherit_from: .rubocop_todo.yml
7
-
8
- inherit_mode:
9
- merge:
10
- - Exclude
11
-
12
- AllCops:
13
- TargetRubyVersion: 2.5
14
- NewCops: enable
15
-
16
- # Disabled on our repo's to enable polyglot-release
17
- Gemspec/RequireMFA:
18
- Enabled: false
19
-
20
- Layout/LineLength:
21
- Max: 200
22
-
23
- # This is documented in this spec to showcase why it's not working and people shouldn't use it
24
- # cf:
25
- Lint/MixedRegexpCaptureTypes:
26
- Exclude:
27
- - 'spec/cucumber/cucumber_expressions/tree_regexp_spec.rb'
28
-
29
- Style/Documentation:
30
- Enabled: false
31
-
32
- Style/RegexpLiteral:
33
- EnforcedStyle: slashes
34
- AllowInnerSlashes: true
35
-
36
- RSpec/MessageSpies:
37
- EnforcedStyle: receive
data/.rubocop_todo.yml DELETED
@@ -1,443 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2023-11-27 17:52:56 UTC using RuboCop version 1.27.0.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # TODO: Oct '23 -> 33 files inspected, 1004 offenses detected, 859 offenses auto-correctable
10
- # TODO: Oct '23 (later) -> 33 files inspected, 344 offenses detected, 205 offenses auto-correctable
11
- # TODO: Nov '23 -> 33 files inspected, 399 offenses detected, 192 offenses auto-correctable
12
-
13
- # Offense count: 2
14
- # This cop supports safe auto-correction (--auto-correct).
15
- # Configuration parameters: IndentationWidth.
16
- # SupportedStyles: special_inside_parentheses, consistent, align_brackets
17
- Layout/FirstArrayElementIndentation:
18
- EnforcedStyle: consistent
19
-
20
- # Offense count: 1
21
- # This cop supports safe auto-correction (--auto-correct).
22
- Lint/AmbiguousOperatorPrecedence:
23
- Exclude:
24
- - 'lib/cucumber/cucumber_expressions/errors.rb'
25
-
26
- # Offense count: 3
27
- # Configuration parameters: AllowedMethods.
28
- # AllowedMethods: enums
29
- Lint/ConstantDefinitionInBlock:
30
- Exclude:
31
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_generator_spec.rb'
32
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb'
33
-
34
- # Offense count: 8
35
- # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
36
- Lint/DuplicateBranch:
37
- Exclude:
38
- - 'lib/cucumber/cucumber_expressions/ast.rb'
39
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_parser.rb'
40
-
41
- # Offense count: 5
42
- # Configuration parameters: AllowComments.
43
- Lint/EmptyClass:
44
- Exclude:
45
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_generator_spec.rb'
46
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb'
47
- - 'spec/cucumber/cucumber_expressions/parameter_type_registry_spec.rb'
48
-
49
- # Offense count: 1
50
- # This cop supports unsafe auto-correction (--auto-correct-all).
51
- Lint/NonDeterministicRequireOrder:
52
- Exclude:
53
- - 'Rakefile'
54
-
55
- # Offense count: 5
56
- # Configuration parameters: AllowKeywordBlockArguments.
57
- Lint/UnderscorePrefixedVariableName:
58
- Exclude:
59
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_parser.rb'
60
- - 'lib/cucumber/cucumber_expressions/group.rb'
61
-
62
- # Offense count: 10
63
- # Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
64
- Metrics/AbcSize:
65
- Max: 59
66
-
67
- # Offense count: 11
68
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
69
- # IgnoredMethods: refine
70
- Metrics/BlockLength:
71
- Max: 183
72
-
73
- # Offense count: 1
74
- # Configuration parameters: CountBlocks.
75
- Metrics/BlockNesting:
76
- Max: 4
77
-
78
- # Offense count: 1
79
- # Configuration parameters: CountComments, CountAsOne.
80
- Metrics/ClassLength:
81
- Max: 141
82
-
83
- # Offense count: 7
84
- # Configuration parameters: IgnoredMethods.
85
- Metrics/CyclomaticComplexity:
86
- Max: 15
87
-
88
- # Offense count: 20
89
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
90
- Metrics/MethodLength:
91
- Max: 61
92
-
93
- # Offense count: 4
94
- # Configuration parameters: CountComments, CountAsOne.
95
- Metrics/ModuleLength:
96
- Max: 184
97
-
98
- # Offense count: 1
99
- # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
100
- Metrics/ParameterLists:
101
- Max: 6
102
-
103
- # Offense count: 6
104
- # Configuration parameters: IgnoredMethods.
105
- Metrics/PerceivedComplexity:
106
- Max: 17
107
-
108
- # Offense count: 7
109
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
110
- # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
111
- Naming/MethodParameterName:
112
- Exclude:
113
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_generator.rb'
114
- - 'lib/cucumber/cucumber_expressions/tree_regexp.rb'
115
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb'
116
- - 'spec/cucumber/cucumber_expressions/custom_parameter_type_spec.rb'
117
-
118
- # Offense count: 3
119
- # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
120
- # NamePrefix: is_, has_, have_
121
- # ForbiddenPrefixes: is_, has_, have_
122
- # AllowedMethods: is_a?
123
- # MethodDefinitionMacros: define_method, define_singleton_method
124
- Naming/PredicateName:
125
- Exclude:
126
- - 'lib/cucumber/cucumber_expressions/ast.rb'
127
- - 'lib/cucumber/cucumber_expressions/parameter_type.rb'
128
- - 'lib/cucumber/cucumber_expressions/tree_regexp.rb'
129
-
130
- # Offense count: 3
131
- # This cop supports safe auto-correction (--auto-correct).
132
- Performance/RedundantBlockCall:
133
- Exclude:
134
- - 'lib/cucumber/cucumber_expressions/cucumber_expression.rb'
135
-
136
- # Offense count: 2
137
- # Configuration parameters: Prefixes.
138
- # Prefixes: when, with, without
139
- RSpec/ContextWording:
140
- Exclude:
141
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_generator_spec.rb'
142
-
143
- # Offense count: 29
144
- # Configuration parameters: Max.
145
- RSpec/ExampleLength:
146
- Exclude:
147
- - 'spec/cucumber/cucumber_expressions/combinatorial_generated_expression_factory_spec.rb'
148
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_generator_spec.rb'
149
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_parser_spec.rb'
150
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb'
151
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_tokenizer_spec.rb'
152
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_transformation_spec.rb'
153
- - 'spec/cucumber/cucumber_expressions/custom_parameter_type_spec.rb'
154
- - 'spec/cucumber/cucumber_expressions/parameter_type_registry_spec.rb'
155
- - 'spec/cucumber/cucumber_expressions/parameter_type_spec.rb'
156
- - 'spec/cucumber/cucumber_expressions/regular_expression_spec.rb'
157
- - 'spec/cucumber/cucumber_expressions/tree_regexp_spec.rb'
158
-
159
- # Offense count: 3
160
- RSpec/LeakyConstantDeclaration:
161
- Exclude:
162
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_generator_spec.rb'
163
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb'
164
-
165
- # Offense count: 34
166
- RSpec/MultipleExpectations:
167
- Max: 30
168
-
169
- # Offense count: 1
170
- # Configuration parameters: AllowSubject.
171
- RSpec/MultipleMemoizedHelpers:
172
- Max: 6
173
-
174
- # Offense count: 2
175
- RSpec/RepeatedDescription:
176
- Exclude:
177
- - 'spec/cucumber/cucumber_expressions/tree_regexp_spec.rb'
178
-
179
- # Offense count: 2
180
- RSpec/RepeatedExample:
181
- Exclude:
182
- - 'spec/cucumber/cucumber_expressions/tree_regexp_spec.rb'
183
-
184
- # Offense count: 2
185
- # Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols.
186
- # SupportedStyles: inline, group
187
- Style/AccessModifierDeclarations:
188
- Exclude:
189
- - 'lib/cucumber/cucumber_expressions/tree_regexp.rb'
190
-
191
- # Offense count: 4
192
- # This cop supports safe auto-correction (--auto-correct).
193
- # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
194
- # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
195
- # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
196
- # FunctionalMethods: let, let!, subject, watch
197
- # IgnoredMethods: lambda, proc, it
198
- Style/BlockDelimiters:
199
- Exclude:
200
- - 'lib/cucumber/cucumber_expressions/cucumber_expression.rb'
201
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb'
202
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_transformation_spec.rb'
203
- - 'spec/cucumber/cucumber_expressions/custom_parameter_type_spec.rb'
204
-
205
- # Offense count: 1
206
- # This cop supports unsafe auto-correction (--auto-correct-all).
207
- Style/CaseLikeIf:
208
- Exclude:
209
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_parser.rb'
210
-
211
- # Offense count: 3
212
- # This cop supports safe auto-correction (--auto-correct).
213
- Style/ColonMethodCall:
214
- Exclude:
215
- - 'lib/cucumber/cucumber_expressions/errors.rb'
216
-
217
- # Offense count: 1
218
- # This cop supports safe auto-correction (--auto-correct).
219
- Style/EmptyLiteral:
220
- Exclude:
221
- - 'lib/cucumber/cucumber_expressions/ast.rb'
222
-
223
- # Offense count: 1
224
- # This cop supports safe auto-correction (--auto-correct).
225
- Style/Encoding:
226
- Exclude:
227
- - 'cucumber-cucumber-expressions.gemspec'
228
-
229
- # Offense count: 1
230
- # This cop supports safe auto-correction (--auto-correct).
231
- Style/ExpandPathArguments:
232
- Exclude:
233
- - 'Rakefile'
234
-
235
- # Offense count: 2
236
- # This cop supports safe auto-correction (--auto-correct).
237
- # Configuration parameters: EnforcedStyle.
238
- # SupportedStyles: each, for
239
- Style/For:
240
- Exclude:
241
- - 'lib/cucumber/cucumber_expressions/errors.rb'
242
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_generator_spec.rb'
243
-
244
- # Offense count: 1
245
- # This cop supports safe auto-correction (--auto-correct).
246
- # Configuration parameters: EnforcedStyle.
247
- # SupportedStyles: format, sprintf, percent
248
- Style/FormatString:
249
- Exclude:
250
- - 'lib/cucumber/cucumber_expressions/generated_expression.rb'
251
-
252
- # Offense count: 2
253
- # Configuration parameters: MinBodyLength.
254
- Style/GuardClause:
255
- Exclude:
256
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_generator.rb'
257
- - 'lib/cucumber/cucumber_expressions/parameter_type_registry.rb'
258
-
259
- # Offense count: 1
260
- # This cop supports unsafe auto-correction (--auto-correct-all).
261
- # Configuration parameters: InverseMethods, InverseBlocks.
262
- Style/InverseMethods:
263
- Exclude:
264
- - 'lib/cucumber/cucumber_expressions/parameter_type.rb'
265
-
266
- # Offense count: 1
267
- # This cop supports safe auto-correction (--auto-correct).
268
- Style/MultilineTernaryOperator:
269
- Exclude:
270
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb'
271
-
272
- # Offense count: 1
273
- # This cop supports safe auto-correction (--auto-correct).
274
- Style/NegatedIfElseCondition:
275
- Exclude:
276
- - 'lib/cucumber/cucumber_expressions/parameter_type_registry.rb'
277
-
278
- # Offense count: 1
279
- # This cop supports safe auto-correction (--auto-correct).
280
- Style/NestedTernaryOperator:
281
- Exclude:
282
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb'
283
-
284
- # Offense count: 2
285
- # This cop supports safe auto-correction (--auto-correct).
286
- # Configuration parameters: IncludeSemanticChanges.
287
- Style/NonNilCheck:
288
- Exclude:
289
- - 'lib/cucumber/cucumber_expressions/parameter_type_registry.rb'
290
-
291
- # Offense count: 11
292
- # This cop supports unsafe auto-correction (--auto-correct-all).
293
- # Configuration parameters: EnforcedStyle, IgnoredMethods.
294
- # SupportedStyles: predicate, comparison
295
- Style/NumericPredicate:
296
- Exclude:
297
- - 'lib/cucumber/cucumber_expressions/cucumber_expression.rb'
298
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_parser.rb'
299
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_tokenizer.rb'
300
- - 'lib/cucumber/cucumber_expressions/parameter_type_matcher.rb'
301
- - 'lib/cucumber/cucumber_expressions/parameter_type_registry.rb'
302
-
303
- # Offense count: 6
304
- # This cop supports safe auto-correction (--auto-correct).
305
- Style/ParallelAssignment:
306
- Exclude:
307
- - 'lib/cucumber/cucumber_expressions/argument.rb'
308
- - 'lib/cucumber/cucumber_expressions/ast.rb'
309
- - 'lib/cucumber/cucumber_expressions/generated_expression.rb'
310
- - 'lib/cucumber/cucumber_expressions/parameter_type.rb'
311
- - 'lib/cucumber/cucumber_expressions/parameter_type_matcher.rb'
312
- - 'spec/cucumber/cucumber_expressions/custom_parameter_type_spec.rb'
313
-
314
- # Offense count: 1
315
- # This cop supports unsafe auto-correction (--auto-correct-all).
316
- # Configuration parameters: EnforcedStyle.
317
- # SupportedStyles: short, verbose
318
- Style/PreferredHashMethods:
319
- Exclude:
320
- - 'lib/cucumber/cucumber_expressions/parameter_type_registry.rb'
321
-
322
- # Offense count: 9
323
- # This cop supports safe auto-correction (--auto-correct).
324
- # Configuration parameters: AllowedCompactTypes.
325
- # SupportedStyles: compact, exploded
326
- Style/RaiseArgs:
327
- EnforcedStyle: compact
328
-
329
- # Offense count: 6
330
- # This cop supports unsafe auto-correction (--auto-correct-all).
331
- # Configuration parameters: Methods.
332
- Style/RedundantArgument:
333
- Exclude:
334
- - 'lib/cucumber/cucumber_expressions/ast.rb'
335
- - 'lib/cucumber/cucumber_expressions/cucumber_expression.rb'
336
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_tokenizer.rb'
337
- - 'lib/cucumber/cucumber_expressions/errors.rb'
338
-
339
- # Offense count: 1
340
- # This cop supports safe auto-correction (--auto-correct).
341
- Style/RedundantInterpolation:
342
- Exclude:
343
- - 'lib/cucumber/cucumber_expressions/cucumber_expression.rb'
344
-
345
- # Offense count: 1
346
- # This cop supports safe auto-correction (--auto-correct).
347
- Style/RedundantRegexpCharacterClass:
348
- Exclude:
349
- - 'lib/cucumber/cucumber_expressions/parameter_type_registry.rb'
350
-
351
- # Offense count: 19
352
- # This cop supports safe auto-correction (--auto-correct).
353
- # Configuration parameters: AllowMultipleReturnValues.
354
- Style/RedundantReturn:
355
- Exclude:
356
- - 'lib/cucumber/cucumber_expressions/ast.rb'
357
- - 'lib/cucumber/cucumber_expressions/cucumber_expression.rb'
358
- - 'lib/cucumber/cucumber_expressions/parameter_type.rb'
359
-
360
- # Offense count: 1
361
- # This cop supports safe auto-correction (--auto-correct).
362
- Style/RedundantSelf:
363
- Exclude:
364
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb'
365
-
366
- # Offense count: 1
367
- # This cop supports safe auto-correction (--auto-correct).
368
- Style/SelectByRegexp:
369
- Exclude:
370
- - 'cucumber-cucumber-expressions.gemspec'
371
-
372
- # Offense count: 1
373
- # This cop supports safe auto-correction (--auto-correct).
374
- # Configuration parameters: AllowAsExpressionSeparator.
375
- Style/Semicolon:
376
- Exclude:
377
- - 'lib/cucumber/cucumber_expressions/parameter_type_registry.rb'
378
-
379
- # Offense count: 1
380
- # This cop supports safe auto-correction (--auto-correct).
381
- # Configuration parameters: RequireEnglish.
382
- # SupportedStyles: use_perl_names, use_english_names
383
- Style/SpecialGlobalVars:
384
- EnforcedStyle: use_perl_names
385
-
386
- # Offense count: 3
387
- # This cop supports unsafe auto-correction (--auto-correct-all).
388
- # Configuration parameters: Mode.
389
- Style/StringConcatenation:
390
- Exclude:
391
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_parser.rb'
392
- - 'lib/cucumber/cucumber_expressions/errors.rb'
393
-
394
- # Offense count: 7
395
- # This cop supports unsafe auto-correction (--auto-correct-all).
396
- # Configuration parameters: AllowMethodsWithArguments, IgnoredMethods.
397
- # IgnoredMethods: respond_to, define_method
398
- Style/SymbolProc:
399
- Exclude:
400
- - 'lib/cucumber/cucumber_expressions/ast.rb'
401
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_parser.rb'
402
- - 'lib/cucumber/cucumber_expressions/errors.rb'
403
- - 'spec/cucumber/cucumber_expressions/combinatorial_generated_expression_factory_spec.rb'
404
- - 'spec/cucumber/cucumber_expressions/cucumber_expression_tokenizer_spec.rb'
405
- - 'spec/cucumber/cucumber_expressions/tree_regexp_spec.rb'
406
-
407
- # Offense count: 2
408
- # This cop supports safe auto-correction (--auto-correct).
409
- # Configuration parameters: EnforcedStyleForMultiline.
410
- # SupportedStylesForMultiline: comma, consistent_comma, no_comma
411
- Style/TrailingCommaInArrayLiteral:
412
- Exclude:
413
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_parser.rb'
414
- - 'spec/cucumber/cucumber_expressions/combinatorial_generated_expression_factory_spec.rb'
415
-
416
- # Offense count: 1
417
- # This cop supports safe auto-correction (--auto-correct).
418
- # Configuration parameters: EnforcedStyleForMultiline.
419
- # SupportedStylesForMultiline: comma, consistent_comma, no_comma
420
- Style/TrailingCommaInHashLiteral:
421
- Exclude:
422
- - 'cucumber-cucumber-expressions.gemspec'
423
-
424
- # Offense count: 1
425
- # This cop supports safe auto-correction (--auto-correct).
426
- Style/WhileUntilDo:
427
- Exclude:
428
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_parser.rb'
429
-
430
- # Offense count: 6
431
- # This cop supports safe auto-correction (--auto-correct).
432
- # Configuration parameters: MinSize, WordRegex.
433
- # SupportedStyles: percent, brackets
434
- Style/WordArray:
435
- EnforcedStyle: brackets
436
-
437
- # Offense count: 6
438
- # This cop supports unsafe auto-correction (--auto-correct-all).
439
- Style/ZeroLengthPredicate:
440
- Exclude:
441
- - 'lib/cucumber/cucumber_expressions/cucumber_expression.rb'
442
- - 'lib/cucumber/cucumber_expressions/cucumber_expression_tokenizer.rb'
443
- - 'lib/cucumber/cucumber_expressions/parameter_type_registry.rb'
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
- gemspec
data/Rakefile DELETED
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- $:.unshift File.expand_path('../lib', __FILE__)
4
-
5
- Dir['./rake/*.rb'].each do |f|
6
- require f
7
- end
8
-
9
- require 'rspec/core/rake_task'
10
- RSpec::Core::RakeTask.new(:spec)
11
-
12
- task default: :spec
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 17.1.0
@@ -1,38 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- # frozen_string_literal: true
3
-
4
- version = File.read(File.expand_path('VERSION', __dir__)).strip
5
-
6
- Gem::Specification.new do |s|
7
- s.name = 'cucumber-cucumber-expressions'
8
- s.version = version
9
- s.authors = ['Aslak Hellesøy']
10
- s.description = 'Cucumber Expressions - a simpler alternative to Regular Expressions'
11
- s.summary = "cucumber-expressions-#{s.version}"
12
- s.email = 'cukes@googlegroups.com'
13
- s.homepage = 'https://github.com/cucumber/cucumber-expressions'
14
- s.platform = Gem::Platform::RUBY
15
- s.license = 'MIT'
16
- s.required_ruby_version = '>= 2.5'
17
-
18
- s.metadata = {
19
- 'bug_tracker_uri' => 'https://github.com/cucumber/cucumber/issues',
20
- 'changelog_uri' => 'https://github.com/cucumber/cucumber-expressions/blob/main/CHANGELOG.md',
21
- 'documentation_uri' => 'https://github.com/cucumber/cucumber-expressions#readme',
22
- 'mailing_list_uri' => 'https://community.smartbear.com/category/cucumber/discussions/cucumberos',
23
- 'source_code_uri' => 'https://github.com/cucumber/cucumber-expressions/tree/main/ruby',
24
- }
25
-
26
- s.add_runtime_dependency 'bigdecimal'
27
-
28
- s.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
29
- s.add_development_dependency 'rspec', '~> 3.11', '>= 3.11.0'
30
- s.add_development_dependency 'rubocop', '~> 1.27.0'
31
- s.add_development_dependency 'rubocop-performance', '~> 1.7.0'
32
- s.add_development_dependency 'rubocop-rake', '~> 0.5.0'
33
- s.add_development_dependency 'rubocop-rspec', '~> 2.0.0'
34
-
35
- s.files = `git ls-files`.split("\n").reject { |path| path =~ /\.gitignore$/ }
36
- s.rdoc_options = ['--charset=UTF-8']
37
- s.require_path = 'lib'
38
- end