defmastership 1.0.14 → 1.0.15
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
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 615339b09506e076db9c98a773e115daaa9914bafebef1029af8c4c9e8266dc0
         | 
| 4 | 
            +
              data.tar.gz: 14b7cf352d495dc847cdd9fbdfff6abd821ebc0e6a8f6f2334ecb16c7bc87de2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: ebd3eb769920a15442d8a048e55b5fb124aa4a5c2916a85378d5d9f07c20b29b160c94b12e783d5d4a4f89f9aa5d80342065d533b66c6972de74eb1adaecbc59
         | 
| 7 | 
            +
              data.tar.gz: ad72f426a240eda86b517a9d5e7bd8f28cc037acef3a7a391880a2e9c4e4432309a962b810086aed081c97bdc63a2fd4709dd4de261828e520bd93649b7cb55e
         | 
    
        data/features/export.feature
    CHANGED
    
    
| @@ -15,41 +15,31 @@ RSpec.describe(DefMastership::ParsingState) do | |
| 15 15 | 
             
              describe '#enabled_with?' do
         | 
| 16 16 | 
             
                context 'when starting' do
         | 
| 17 17 | 
             
                  it { expect(parsing_state.enabled?("whatever\n")).to(eq(true)) }
         | 
| 18 | 
            -
                  it { expect(parsing_state.enabled?("----\n")).to(eq(false)) }
         | 
| 19 18 | 
             
                  it { expect(parsing_state.enabled?("....\n")).to(eq(false)) }
         | 
| 20 19 | 
             
                  it { expect(parsing_state.enabled?("////\n")).to(eq(false)) }
         | 
| 21 20 | 
             
                  it { expect(parsing_state.enabled?('....')).to(eq(false)) }
         | 
| 22 21 | 
             
                end
         | 
| 23 22 |  | 
| 24 23 | 
             
                context 'when disabled' do
         | 
| 25 | 
            -
                  before { parsing_state.enabled?(" | 
| 24 | 
            +
                  before { parsing_state.enabled?("....\n") }
         | 
| 26 25 |  | 
| 27 26 | 
             
                  it { expect(parsing_state.enabled?("whatever\n")).to(eq(false)) }
         | 
| 28 | 
            -
                  it { expect(parsing_state.enabled?("----\n")).to(eq(true)) }
         | 
| 29 | 
            -
                  it { expect(parsing_state.enabled?("....\n")).to(eq(false)) }
         | 
| 30 27 | 
             
                  it { expect(parsing_state.enabled?("////\n")).to(eq(false)) }
         | 
| 28 | 
            +
                  it { expect(parsing_state.enabled?("....\n")).to(eq(true)) }
         | 
| 31 29 | 
             
                end
         | 
| 32 30 |  | 
| 33 31 | 
             
                context 'with intricated disables starting with "...."' do
         | 
| 34 32 | 
             
                  before do
         | 
| 35 | 
            -
                    ["....\n", " | 
| 33 | 
            +
                    ["....\n", "////\n", "whatever\n"].each { |line| parsing_state.enabled?(line) }
         | 
| 36 34 | 
             
                  end
         | 
| 37 35 |  | 
| 38 36 | 
             
                  it { expect(parsing_state.enabled?("----\n")).to(eq(false)) }
         | 
| 39 37 | 
             
                  it { expect(parsing_state.enabled?("....\n")).to(eq(true)) }
         | 
| 40 38 | 
             
                end
         | 
| 41 39 |  | 
| 42 | 
            -
                context 'with intricated disables starting with "----"' do
         | 
| 43 | 
            -
                  before do
         | 
| 44 | 
            -
                    ["....\n", "----\n", "whatever\n"].each { |line| parsing_state.enabled?(line) }
         | 
| 45 | 
            -
                  end
         | 
| 46 | 
            -
             | 
| 47 | 
            -
                  it { expect(parsing_state.enabled?("....\n")).to(eq(true)) }
         | 
| 48 | 
            -
                end
         | 
| 49 | 
            -
             | 
| 50 40 | 
             
                context 'with intricated disables starting with "////"' do
         | 
| 51 41 | 
             
                  before do
         | 
| 52 | 
            -
                    ["////\n", " | 
| 42 | 
            +
                    ["////\n", "....\n", "whatever\n"].each { |line| parsing_state.enabled?(line) }
         | 
| 53 43 | 
             
                  end
         | 
| 54 44 |  | 
| 55 45 | 
             
                  it { expect(parsing_state.enabled?("////\n")).to(eq(true)) }
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: defmastership
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0. | 
| 4 | 
            +
              version: 1.0.15
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Jérôme Arbez-Gindre
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2021-05- | 
| 11 | 
            +
            date: 2021-05-06 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aruba
         |