dap 0.0.16 → 0.0.17
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/dap/filter/simple.rb +2 -0
- data/lib/dap/version.rb +1 -1
- data/spec/dap/filter/simple_filter_spec.rb +21 -0
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: f621aeedb79e0aa9f3a2ab2a67d3061295bbfa1b
         | 
| 4 | 
            +
              data.tar.gz: 2c3ba0ed1445d669709674b4c9b78f73f904196c
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: c55401a98d0616065b8a3618f215eade109d7a4f5c6638d79ce75ae039a05e498d1a910350f7d19b1e0abdeda5b460dd538f1f7d8bb46ffdcc173138647d5156
         | 
| 7 | 
            +
              data.tar.gz: cf4b783d2db8868e155201ffd8227452f470f5be0f7b2fc9a56c6343c0a8575444c8f5ff9290d00ed6d52b8cf34680f062b22f6118e94a02aecfdabcc5be7f04
         | 
    
        data/lib/dap/filter/simple.rb
    CHANGED
    
    
    
        data/lib/dap/version.rb
    CHANGED
    
    
| @@ -18,3 +18,24 @@ describe Dap::Filter::FilterFlatten do | |
| 18 18 | 
             
                end
         | 
| 19 19 | 
             
              end
         | 
| 20 20 | 
             
            end
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            describe Dap::Filter::FilterTransform do
         | 
| 23 | 
            +
              describe '.process' do
         | 
| 24 | 
            +
             | 
| 25 | 
            +
                let(:filter) { described_class.new(['foo=reverse']) }
         | 
| 26 | 
            +
             | 
| 27 | 
            +
                context 'ASCII' do
         | 
| 28 | 
            +
                  let(:process) { filter.process({'foo' => 'abc123'}) }
         | 
| 29 | 
            +
                  it 'is reversed' do
         | 
| 30 | 
            +
                    expect(process).to eq(['foo' => '321cba'])
         | 
| 31 | 
            +
                  end
         | 
| 32 | 
            +
                end
         | 
| 33 | 
            +
             | 
| 34 | 
            +
                context 'UTF-8' do
         | 
| 35 | 
            +
                  let(:process) { filter.process({'foo' => '☹☠'}) }
         | 
| 36 | 
            +
                  it 'is reversed' do
         | 
| 37 | 
            +
                    expect(process).to eq(['foo' => '☠☹'])
         | 
| 38 | 
            +
                  end
         | 
| 39 | 
            +
                end
         | 
| 40 | 
            +
              end
         | 
| 41 | 
            +
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: dap
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.17
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Rapid7 Research
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2017-02-27 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rspec
         | 
| @@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 252 252 | 
             
                  version: '0'
         | 
| 253 253 | 
             
            requirements: []
         | 
| 254 254 | 
             
            rubyforge_project: 
         | 
| 255 | 
            -
            rubygems_version: 2. | 
| 255 | 
            +
            rubygems_version: 2.5.2
         | 
| 256 256 | 
             
            signing_key: 
         | 
| 257 257 | 
             
            specification_version: 4
         | 
| 258 258 | 
             
            summary: 'DAP: The Data Analysis Pipeline'
         |