cucumber-gherkin 18.0.0 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/gherkin/gherkin-languages.json +1 -1
 - data/spec/gherkin/gherkin_line_spec.rb +11 -1
 - metadata +6 -6
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 47d503abd2295ada9ae5e9ac5f00cd7a6d40bdb051ec7ddc1ceee689e6a88f2a
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 19337ea584ce134be3db8187714c3318a950683f8898999eff605525534edb03
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 4e56271f9b0bee527721423a457e7625949641638919b48364d0086ea7ed263d66637ac74607482f37816ec3ab927a5418bb65dbdfc0fe62f7d2e55ebc053dea
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: a33306404795fd52743bdc48a93400571e7c090665d1e2bc6cebe69ead79759d099298331d7bda0534e496428f87bc5c4f7b771a6a1ad35500375054b8f174c2
         
     | 
| 
         @@ -2,7 +2,17 @@ require 'rspec' 
     | 
|
| 
       2 
2 
     | 
    
         
             
            require 'gherkin/gherkin_line'
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            describe Gherkin::GherkinLine do
         
     | 
| 
       5 
     | 
    
         
            -
              context '# 
     | 
| 
      
 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. 
     | 
| 
      
 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- 
     | 
| 
      
 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. 
     | 
| 
      
 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
         
     |