elasticity 6.0.3 → 6.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/README.md +3 -0
- data/lib/elasticity/job_flow.rb +1 -1
- data/lib/elasticity/version.rb +1 -1
- data/spec/lib/elasticity/aws_request_v4_spec.rb +2 -2
- data/spec/lib/elasticity/job_flow_spec.rb +1 -1
- 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: 5bfb7218cb99e8354fa0131b0abb59d4ff270871
|
4
|
+
data.tar.gz: 824cc467d7beec5a50d63200d75805f4c8cb801e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35806e42575b2be800ffaa2559f5e511b6c11c46eae4ad337744249f525146f2e4c800aaa2a19f00139036d848492407b1d2d09b7a84a896a29244d0664a8037
|
7
|
+
data.tar.gz: 1ba0336770e3bef6dbcde18021902f44b880c717855224a5a6ce7e6f022eb69eafc2d41bc38808812b9dc13806931953e22b24f4063c85ad1160f4cbf0a84a67
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 6.0.4 - August 3, 2015
|
2
|
+
|
3
|
+
- Including PR [#118](https://github.com/rslifka/elasticity/pull/118) - "jobflow ids must be passed as an array to AWS". Thank you [@robert2d](https://github.com/robert2d)!
|
4
|
+
|
1
5
|
## 6.0.3 - July 24, 2015
|
2
6
|
|
3
7
|
- Including PR [#116](https://github.com/rslifka/elasticity/pull/116) - "Allow jobflow_id to be accessed after run". Thank you [@robert2d](https://github.com/robert2d)!
|
data/README.md
CHANGED
@@ -391,6 +391,9 @@ Elasticity.configure do |config|
|
|
391
391
|
# AWS credentials
|
392
392
|
config.access_key = ENV['AWS_ACCESS_KEY_ID']
|
393
393
|
config.secret_key = ENV['AWS_SECRET_ACCESS_KEY']
|
394
|
+
|
395
|
+
# if you use federated Identity Management
|
396
|
+
#config.security_token = ENV['AWS_SECURITY_TOKEN']
|
394
397
|
|
395
398
|
# If using Hive, it will be configured via the directives here
|
396
399
|
config.hive_site = 's3://bucket/hive-site.xml'
|
data/lib/elasticity/job_flow.rb
CHANGED
@@ -145,7 +145,7 @@ module Elasticity
|
|
145
145
|
if !is_jobflow_running?
|
146
146
|
raise JobFlowNotStartedError, 'Cannot #shutdown a job flow that has not yet been #run.'
|
147
147
|
end
|
148
|
-
emr.terminate_jobflows(@jobflow_id)
|
148
|
+
emr.terminate_jobflows([@jobflow_id])
|
149
149
|
end
|
150
150
|
|
151
151
|
def cluster_status
|
data/lib/elasticity/version.rb
CHANGED
@@ -123,8 +123,8 @@ describe Elasticity::AwsRequestV4 do
|
|
123
123
|
|
124
124
|
describe '.aws_v4_signature' do
|
125
125
|
it 'should create the proper signature' do
|
126
|
-
subject.send(:aws_v4_signature).should == '
|
126
|
+
subject.send(:aws_v4_signature).should == 'd58b9ceeb51d56225de948616432438063fe9261be05c8c9f95de15b0053f15a'
|
127
127
|
end
|
128
128
|
end
|
129
129
|
|
130
|
-
end
|
130
|
+
end
|
@@ -699,7 +699,7 @@ describe Elasticity::JobFlow do
|
|
699
699
|
running_jobflow.run
|
700
700
|
end
|
701
701
|
it 'should shutdown the running jobflow' do
|
702
|
-
emr.should_receive(:terminate_jobflows).with('JOBFLOW_ID')
|
702
|
+
emr.should_receive(:terminate_jobflows).with(['JOBFLOW_ID'])
|
703
703
|
running_jobflow.shutdown
|
704
704
|
end
|
705
705
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Slifka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|