elasticity 2.5.5 → 2.5.6
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/.rvmrc +1 -1
- data/HISTORY.md +5 -0
- data/lib/elasticity/job_flow.rb +0 -3
- data/lib/elasticity/version.rb +1 -1
- data/spec/lib/elasticity/job_flow_spec.rb +0 -9
- metadata +4 -4
data/.rvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
rvm use ruby-1.9.3-
|
|
1
|
+
rvm use ruby-1.9.3-p385@elasticity --create
|
data/HISTORY.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## 2.5.6 - February 9, 2013
|
|
2
|
+
|
|
3
|
+
+ Pull request from [Aaron Olson](https://github.com/airolson), removing requirement that a ```JobFlow``` has steps before running.
|
|
4
|
+
+ Updating development to ruby-1.9.3-p385.
|
|
5
|
+
|
|
1
6
|
## 2.5.5 - February 3, 2013
|
|
2
7
|
|
|
3
8
|
+ Pull request from [Aaron Olson](https://github.com/airolson), adding ```StreamingStep#arguments```.
|
data/lib/elasticity/job_flow.rb
CHANGED
|
@@ -110,9 +110,6 @@ module Elasticity
|
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
def run
|
|
113
|
-
if @jobflow_steps.empty?
|
|
114
|
-
raise JobFlowMissingStepsError, 'Cannot run a job flow without adding steps. Please use #add_step.'
|
|
115
|
-
end
|
|
116
113
|
if is_jobflow_running?
|
|
117
114
|
raise JobFlowRunningError, 'Cannot run a job flow multiple times. To do more with this job flow, please use #add_step.'
|
|
118
115
|
end
|
data/lib/elasticity/version.rb
CHANGED
|
@@ -440,15 +440,6 @@ describe Elasticity::JobFlow do
|
|
|
440
440
|
|
|
441
441
|
end
|
|
442
442
|
|
|
443
|
-
context 'when there are no steps added' do
|
|
444
|
-
let(:jobflow_with_no_steps) { Elasticity::JobFlow.new('_', '_') }
|
|
445
|
-
it 'should raise an error' do
|
|
446
|
-
expect {
|
|
447
|
-
jobflow_with_no_steps.run
|
|
448
|
-
}.to raise_error(Elasticity::JobFlowMissingStepsError, 'Cannot run a job flow without adding steps. Please use #add_step.')
|
|
449
|
-
end
|
|
450
|
-
end
|
|
451
|
-
|
|
452
443
|
end
|
|
453
444
|
|
|
454
445
|
describe '#status' do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elasticity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.5.
|
|
4
|
+
version: 2.5.6
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-02-
|
|
12
|
+
date: 2013-02-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rest-client
|
|
@@ -189,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
189
189
|
version: '0'
|
|
190
190
|
segments:
|
|
191
191
|
- 0
|
|
192
|
-
hash:
|
|
192
|
+
hash: -3179594525299845016
|
|
193
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
none: false
|
|
195
195
|
requirements:
|
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
198
198
|
version: '0'
|
|
199
199
|
segments:
|
|
200
200
|
- 0
|
|
201
|
-
hash:
|
|
201
|
+
hash: -3179594525299845016
|
|
202
202
|
requirements: []
|
|
203
203
|
rubyforge_project:
|
|
204
204
|
rubygems_version: 1.8.25
|