flexirest 1.3.27 → 1.3.28
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/CHANGELOG.md +6 -0
- data/flexirest.gemspec +1 -0
- data/lib/flexirest/result_iterator.rb +5 -0
- data/lib/flexirest/version.rb +1 -1
- data/spec/lib/result_iterator_spec.rb +10 -0
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 06f57e7a69b3da8a839a5ee30a1c33cd25576fd0
         | 
| 4 | 
            +
              data.tar.gz: 36070e158d45d127b26dc497f57d0f47a36b7eb2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 5cbcb419898a3c14349f6eb57becd64cb3d04b2c89e59dc9f21a5163d9df3aadcb3f2358aef4e0999094b73c7f5d3f070d15f4f266d05d3d6343787d2f1f2a45
         | 
| 7 | 
            +
              data.tar.gz: 29f9987cb73598b12f6aae2f9eadca45b2b294f19325033b93a6027a51c1f0a280fdc5054094f3c8842434e1cc2570379c32c7047399b3eefb4174e1823ab32b
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/flexirest.gemspec
    CHANGED
    
    
    
        data/lib/flexirest/version.rb
    CHANGED
    
    
| @@ -101,6 +101,16 @@ describe Flexirest::ResultIterator do | |
| 101 101 | 
             
                expect(result.shuffle.first == result.shuffle.first && result.shuffle.first == result.shuffle.first).to_not be_truthy
         | 
| 102 102 | 
             
              end
         | 
| 103 103 |  | 
| 104 | 
            +
              it "should implement delete_if" do
         | 
| 105 | 
            +
                result = Flexirest::ResultIterator.new
         | 
| 106 | 
            +
                result << "a"
         | 
| 107 | 
            +
                result << "z"
         | 
| 108 | 
            +
                result.delete_if {|i| i == "z" }
         | 
| 109 | 
            +
                expect(result.items).to eq(["a"])
         | 
| 110 | 
            +
              end
         | 
| 111 | 
            +
             | 
| 112 | 
            +
             | 
| 113 | 
            +
             | 
| 104 114 | 
             
              it "can parallelise calls to each item" do
         | 
| 105 115 | 
             
                result = Flexirest::ResultIterator.new
         | 
| 106 116 | 
             
                result << 3
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: flexirest
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.3. | 
| 4 | 
            +
              version: 1.3.28
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Andy Jeffries
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2016-11- | 
| 11 | 
            +
            date: 2016-11-21 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: bundler
         |