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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2837770056fa28f6a583414032f02551a44988be
4
- data.tar.gz: 85f0ded8fb1bc43929d18ae4d6b4569bf2db10c6
3
+ metadata.gz: 5bfb7218cb99e8354fa0131b0abb59d4ff270871
4
+ data.tar.gz: 824cc467d7beec5a50d63200d75805f4c8cb801e
5
5
  SHA512:
6
- metadata.gz: d935cf72fb59b0058cf3daaabc0cba7ae8b7ad941255c79ba17d5d2ba4601f60d7ae5ec3ed5bc1a23284b4cd6744ac542057b412a0d9daf051169504b839b265
7
- data.tar.gz: a26422bca24ca7830ed2217e9c4e198ca070ed0d52211f302aeb3b6dcd13ebf2a51d1c7274e0da1f179c8742b21427ade9b992170cd686a891f30ee0d2d20d75
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'
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Elasticity
2
- VERSION = '6.0.3'
2
+ VERSION = '6.0.4'
3
3
  end
@@ -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 == 'a88225e952766aa7e9050ef7615db710e1c8f18e5af873392fd0493899c37a30'
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.3
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-07-24 00:00:00.000000000 Z
11
+ date: 2015-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client