cucumber-gherkin 18.0.0 → 18.1.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: 3492c3a735bdf27ce24a11e1ac6b9fc72ce6f4d5cc51a822f3c480d6ad2b7284
4
- data.tar.gz: ca690695ea92f874d6dabdabb0adf9a0321b31dc42ce3e78339ead837ef7a60c
3
+ metadata.gz: 47d503abd2295ada9ae5e9ac5f00cd7a6d40bdb051ec7ddc1ceee689e6a88f2a
4
+ data.tar.gz: 19337ea584ce134be3db8187714c3318a950683f8898999eff605525534edb03
5
5
  SHA512:
6
- metadata.gz: 6415f3283f5a61f9d4c9ab20a00c493c2914686f9d5f6f2fd7dc5571e17baba876f677de491a1e8d92cd36408c72eec6551eaeb0cc89243d7624704254ac9ceb
7
- data.tar.gz: ad6c4d225737ff125c6364da5c151d8326ea6a6bf716aead6c3ba0504b829ab250135c5c7bd98e77ed86c5d225ae026f3dacd1e0e8fe1f02f95b643278b9ee8b
6
+ metadata.gz: 4e56271f9b0bee527721423a457e7625949641638919b48364d0086ea7ed263d66637ac74607482f37816ec3ab927a5418bb65dbdfc0fe62f7d2e55ebc053dea
7
+ data.tar.gz: a33306404795fd52743bdc48a93400571e7c090665d1e2bc6cebe69ead79759d099298331d7bda0534e496428f87bc5c4f7b771a6a1ad35500375054b8f174c2
@@ -494,7 +494,7 @@
494
494
  "name": "Czech",
495
495
  "native": "Česky",
496
496
  "rule": [
497
- "Rule"
497
+ "Pravidlo"
498
498
  ],
499
499
  "scenario": [
500
500
  "Příklad",
@@ -2,7 +2,17 @@ require 'rspec'
2
2
  require 'gherkin/gherkin_line'
3
3
 
4
4
  describe Gherkin::GherkinLine do
5
- context '#table_cell' do
5
+ context '#tags' do
6
+ def tags(line)
7
+ Gherkin::GherkinLine.new(line, 12).tags.map(&:text)
8
+ end
9
+
10
+ it 'allows any non-space characters in a tag' do
11
+ expect(tags(" @foo:bar @zap🥒yo")).to eq(['@foo:bar', '@zap🥒yo'])
12
+ end
13
+ end
14
+
15
+ context '#table_cells' do
6
16
  def cells_text(line)
7
17
  Gherkin::GherkinLine.new(line, 12).table_cells.map(&:text)
8
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-gherkin
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.0.0
4
+ version: 18.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gáspár Nagy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-03-24 00:00:00.000000000 Z
13
+ date: 2021-04-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cucumber-messages
@@ -136,13 +136,13 @@ requirements: []
136
136
  rubygems_version: 3.1.2
137
137
  signing_key:
138
138
  specification_version: 4
139
- summary: cucumber-gherkin-18.0.0
139
+ summary: cucumber-gherkin-18.1.0
140
140
  test_files:
141
141
  - spec/capture_warnings.rb
142
- - spec/gherkin/gherkin_line_spec.rb
143
142
  - spec/gherkin/dialect_spec.rb
143
+ - spec/gherkin/gherkin_line_spec.rb
144
+ - spec/gherkin/gherkin_spec.rb
144
145
  - spec/gherkin/parser_spec.rb
146
+ - spec/gherkin/query_spec.rb
145
147
  - spec/gherkin/stream/parser_message_stream_spec.rb
146
148
  - spec/gherkin/stream/subprocess_message_stream_spec.rb
147
- - spec/gherkin/query_spec.rb
148
- - spec/gherkin/gherkin_spec.rb