stages 0.2.4 → 0.2.5
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.
- data/VERSION +1 -1
- data/lib/stages/exhaust.rb +11 -0
- data/stages.gemspec +3 -2
- data/test/test_stages.rb +5 -0
- metadata +4 -3
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.2. | 
| 1 | 
            +
            0.2.5
         | 
    
        data/stages.gemspec
    CHANGED
    
    | @@ -5,11 +5,11 @@ | |
| 5 5 |  | 
| 6 6 | 
             
            Gem::Specification.new do |s|
         | 
| 7 7 | 
             
              s.name = "stages"
         | 
| 8 | 
            -
              s.version = "0.2. | 
| 8 | 
            +
              s.version = "0.2.5"
         | 
| 9 9 |  | 
| 10 10 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 11 11 | 
             
              s.authors = ["The Justice Eight"]
         | 
| 12 | 
            -
              s.date = "2012-01- | 
| 12 | 
            +
              s.date = "2012-01-18"
         | 
| 13 13 | 
             
              s.description = "pipeline builder"
         | 
| 14 14 | 
             
              s.email = "support@igodigital.com"
         | 
| 15 15 | 
             
              s.extra_rdoc_files = [
         | 
| @@ -30,6 +30,7 @@ Gem::Specification.new do |s| | |
| 30 30 | 
             
                "lib/stages/count.rb",
         | 
| 31 31 | 
             
                "lib/stages/each.rb",
         | 
| 32 32 | 
             
                "lib/stages/emit.rb",
         | 
| 33 | 
            +
                "lib/stages/exhaust.rb",
         | 
| 33 34 | 
             
                "lib/stages/map.rb",
         | 
| 34 35 | 
             
                "lib/stages/restrict.rb",
         | 
| 35 36 | 
             
                "lib/stages/resume.rb",
         | 
    
        data/test/test_stages.rb
    CHANGED
    
    | @@ -111,6 +111,11 @@ class TestStages < MiniTest::Unit::TestCase | |
| 111 111 | 
             
                assert_equal(%w(a b c d e f g), results)
         | 
| 112 112 | 
             
              end
         | 
| 113 113 |  | 
| 114 | 
            +
              test 'exhaust' do
         | 
| 115 | 
            +
                pipeline = Each.new(%w(foo bar zut)) | Exhaust.new
         | 
| 116 | 
            +
                assert_equal(%w(foo bar zut), pipeline.run)
         | 
| 117 | 
            +
              end
         | 
| 118 | 
            +
              
         | 
| 114 119 | 
             
              def sing
         | 
| 115 120 | 
             
                { :do => 'doe a deer a female deer',
         | 
| 116 121 | 
             
                  :re => 'ray a drop of golden sun',
         | 
    
        metadata
    CHANGED
    
    | @@ -2,7 +2,7 @@ | |
| 2 2 | 
             
            name: stages
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 4 | 
             
              prerelease: 
         | 
| 5 | 
            -
              version: 0.2. | 
| 5 | 
            +
              version: 0.2.5
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors: 
         | 
| 8 8 | 
             
            - The Justice Eight
         | 
| @@ -10,7 +10,7 @@ autorequire: | |
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 12 |  | 
| 13 | 
            -
            date: 2012-01- | 
| 13 | 
            +
            date: 2012-01-18 00:00:00 Z
         | 
| 14 14 | 
             
            dependencies: 
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 16 16 | 
             
              name: rake
         | 
| @@ -46,6 +46,7 @@ files: | |
| 46 46 | 
             
            - lib/stages/count.rb
         | 
| 47 47 | 
             
            - lib/stages/each.rb
         | 
| 48 48 | 
             
            - lib/stages/emit.rb
         | 
| 49 | 
            +
            - lib/stages/exhaust.rb
         | 
| 49 50 | 
             
            - lib/stages/map.rb
         | 
| 50 51 | 
             
            - lib/stages/restrict.rb
         | 
| 51 52 | 
             
            - lib/stages/resume.rb
         | 
| @@ -70,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 70 71 | 
             
              requirements: 
         | 
| 71 72 | 
             
              - - ">="
         | 
| 72 73 | 
             
                - !ruby/object:Gem::Version 
         | 
| 73 | 
            -
                  hash:  | 
| 74 | 
            +
                  hash: 1313525796068718975
         | 
| 74 75 | 
             
                  segments: 
         | 
| 75 76 | 
             
                  - 0
         | 
| 76 77 | 
             
                  version: "0"
         |