cuke_modeler 3.4.0 → 3.5.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: ab8068e33b09b4e508b0cd53f77c954052796fbbd33686070cbf6e65cd616378
4
- data.tar.gz: 57849a93b03a7d6d0cc56548e4e6482eb61557c4b42a68950c82e3b43542e482
3
+ metadata.gz: ba3e400ea68f67944c0c5bf170179fb50a60237e507d3113a921c844010f7d91
4
+ data.tar.gz: 6224ca8ff2505acfb0415c82e9b1963ba5cf21573e2a9cac8857cb63171b288f
5
5
  SHA512:
6
- metadata.gz: 3077bf8a1a1defacc92d371db01044c2ea5c7ef44dc7a194079a1e8721b4e8dad598eb4705acc4882d04a5934c27a70103a7eca2795f45ea9f5bebad37d24e7d
7
- data.tar.gz: 0a9e2fbae81285bad22f59ef8626fd020be7516a824292fd08387eb38f34d1bc185f41d71084c1be84f331574c7d65145fa3e37ae28d8585ab5369f25adfffa5
6
+ metadata.gz: a447530c96482e6464ad31151262e5a0fbfd11527445ae8965c834e6ece15ee33f89381eb2276d7ee043823ab491eaed932bb35f492bfdb2fe8a43defd605e37
7
+ data.tar.gz: e8b05b052cad1f7395dec1e8da58bd84145c1699dce19b9bb261eb76bf29ceb1ebf3e7fa2cfe13773ff9f29f8c86d93543f9a5a34f79b1fc2fe402257618bbe7
@@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
 
9
9
  Nothing yet...
10
10
 
11
+ ## [3.5.0] - 2020-12-19
12
+
13
+ ### Added
14
+ - Support added for more versions of the `cucumber-gherkin` gem
15
+ - 16.x
16
+
11
17
  ## [3.4.0] - 2020-09-02
12
18
 
13
19
  ### Added
@@ -334,7 +340,8 @@ Nothing yet...
334
340
  - Initial release
335
341
 
336
342
 
337
- [Unreleased]: https://github.com/enkessler/cuke_modeler/compare/v3.4.0...HEAD
343
+ [Unreleased]: https://github.com/enkessler/cuke_modeler/compare/v3.5.0...HEAD
344
+ [3.5.0]: https://github.com/enkessler/cuke_modeler/compare/v3.4.0...v3.5.0
338
345
  [3.4.0]: https://github.com/enkessler/cuke_modeler/compare/v3.3.0...v3.4.0
339
346
  [3.3.0]: https://github.com/enkessler/cuke_modeler/compare/v3.2.0...v3.3.0
340
347
  [3.2.0]: https://github.com/enkessler/cuke_modeler/compare/v3.1.0...v3.2.0
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
 
29
29
  spec.required_ruby_version = '>= 2.3', '< 3.0'
30
30
 
31
- spec.add_runtime_dependency 'cucumber-gherkin', '< 16.0'
31
+ spec.add_runtime_dependency 'cucumber-gherkin', '< 17.0'
32
32
 
33
33
  spec.add_development_dependency 'bundler', '< 3.0'
34
34
  spec.add_development_dependency 'coveralls', '< 1.0.0'
@@ -0,0 +1,13 @@
1
+ require_relative 'gherkin_9_adapter'
2
+
3
+
4
+ module CukeModeler
5
+
6
+ # NOT A PART OF THE PUBLIC API
7
+ # An adapter that can convert the output of version 16.x of the *cucumber-gherkin* gem into input that is consumable
8
+ # by this gem.
9
+
10
+ class Gherkin16Adapter < Gherkin9Adapter
11
+
12
+ end
13
+ end
@@ -13,7 +13,7 @@ gherkin_major_version = gherkin_version.match(/^(\d+)\./)[1].to_i
13
13
  # changes again
14
14
  # rubocop:disable Lint/EmptyWhen
15
15
  case gherkin_major_version
16
- when 9, 10, 11, 12, 13, 14, 15
16
+ when 9, 10, 11, 12, 13, 14, 15, 16
17
17
  # Currently nothing else to load beyond the entry point to the gem
18
18
  else
19
19
  raise("Unknown Gherkin version: '#{gherkin_version}'")
@@ -71,7 +71,7 @@ module CukeModeler
71
71
  # inside of it, so I'm leaving this here in case it changes again
72
72
  # rubocop:disable Lint/DuplicateMethods
73
73
  case gherkin_major_version
74
- when 13, 14, 15
74
+ when 13, 14, 15, 16
75
75
  # TODO: make these methods private?
76
76
  # NOT A PART OF THE PUBLIC API
77
77
  # The method to use for parsing Gherkin text
@@ -1,4 +1,4 @@
1
1
  module CukeModeler
2
2
  # The gem version
3
- VERSION = '3.4.0'.freeze
3
+ VERSION = '3.5.0'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuke_modeler
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kessler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-02 00:00:00.000000000 Z
11
+ date: 2020-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber-gherkin
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: '16.0'
19
+ version: '17.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "<"
25
25
  - !ruby/object:Gem::Version
26
- version: '16.0'
26
+ version: '17.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -194,6 +194,7 @@ files:
194
194
  - lib/cuke_modeler/adapters/gherkin_13_adapter.rb
195
195
  - lib/cuke_modeler/adapters/gherkin_14_adapter.rb
196
196
  - lib/cuke_modeler/adapters/gherkin_15_adapter.rb
197
+ - lib/cuke_modeler/adapters/gherkin_16_adapter.rb
197
198
  - lib/cuke_modeler/adapters/gherkin_9_adapter.rb
198
199
  - lib/cuke_modeler/containing.rb
199
200
  - lib/cuke_modeler/described.rb