stages 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -9,8 +9,9 @@ module Stages
9
9
  def process
10
10
  if @things
11
11
  process_things
12
+ else
13
+ process_inputs
12
14
  end
13
- process_inputs
14
15
  end
15
16
 
16
17
  def process_inputs
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "stages"
8
- s.version = "1.1.1"
8
+ s.version = "1.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nathan D Acuff"]
12
- s.date = "2013-08-21"
12
+ s.date = "2013-08-22"
13
13
  s.description = "pipeline builder"
14
14
  s.email = "support@igodigital.com"
15
15
  s.extra_rdoc_files = [
@@ -164,9 +164,9 @@ class TestStages < MiniTest::Unit::TestCase
164
164
  assert pipeline.done?
165
165
  end
166
166
 
167
- test 'each with input and incoming data prepends given data' do
167
+ test 'each with input and incoming data only uses given data' do
168
168
  pipeline = Emit.new([1,2,3]) | Each.new([4,5,6]) | Exhaust.new
169
- assert_equal([4,5,6,1,2,3], pipeline.run)
169
+ assert_equal([4,5,6], pipeline.run)
170
170
  end
171
171
 
172
172
  test 'limit stage only ticks X times' do
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: stages
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.1
5
+ version: 1.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nathan D Acuff
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-08-21 00:00:00 Z
13
+ date: 2013-08-22 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- hash: 730254182358055923
77
+ hash: -428513000374050333
78
78
  segments:
79
79
  - 0
80
80
  version: "0"