elasticity 6.0.2 → 6.0.3

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: affb1ae0de5df89c0061fabfde695f56ac0f4845
4
- data.tar.gz: 43c2bdd9e155587f28288c42271c4561b787e3aa
3
+ metadata.gz: 2837770056fa28f6a583414032f02551a44988be
4
+ data.tar.gz: 85f0ded8fb1bc43929d18ae4d6b4569bf2db10c6
5
5
  SHA512:
6
- metadata.gz: 1ec9e99c8fda33defb4dc9bfb318080740920201c25080f87310036b85970831a194e0a0d0b41a2361d9af95240ca327fab4554deb622044123d6abce5af6347
7
- data.tar.gz: 4aa6636cfd730be45dd3829ed8db82951167b056f5fa76e7aabac6efa02f1ded0a2f49e70164661aff0119178ea9cb68ad07b600167102cdca649786bd867183
6
+ metadata.gz: d935cf72fb59b0058cf3daaabc0cba7ae8b7ad941255c79ba17d5d2ba4601f60d7ae5ec3ed5bc1a23284b4cd6744ac542057b412a0d9daf051169504b839b265
7
+ data.tar.gz: a26422bca24ca7830ed2217e9c4e198ca070ed0d52211f302aeb3b6dcd13ebf2a51d1c7274e0da1f179c8742b21427ade9b992170cd686a891f30ee0d2d20d75
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 6.0.3 - July 24, 2015
2
+
3
+ - 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)!
4
+
1
5
  ## 6.0.2 - July 20, 2015
2
6
 
3
7
  - Including PR [#111](https://github.com/rslifka/elasticity/pull/111) - "Handle steps status that hasn't run yet". Thank you [@robert2d](https://github.com/robert2d)!
@@ -25,6 +25,7 @@ module Elasticity
25
25
  attr_accessor :enable_debugging
26
26
  attr_accessor :job_flow_role
27
27
  attr_accessor :service_role
28
+ attr_accessor :jobflow_id
28
29
 
29
30
  def initialize
30
31
  @action_on_failure = 'TERMINATE_JOB_FLOW'
@@ -1,3 +1,3 @@
1
1
  module Elasticity
2
- VERSION = '6.0.2'
2
+ VERSION = '6.0.3'
3
3
  end
@@ -123,7 +123,7 @@ 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 == '05d406786907e37181060b8c744b5aea8451a7da93f20cacb6c6fd846cfcfa5d'
126
+ subject.send(:aws_v4_signature).should == 'a88225e952766aa7e9050ef7615db710e1c8f18e5af873392fd0493899c37a30'
127
127
  end
128
128
  end
129
129
 
@@ -22,6 +22,7 @@ describe Elasticity::JobFlow do
22
22
  expect(subject.enable_debugging).to eql(false)
23
23
  expect(subject.job_flow_role).to eql(nil)
24
24
  expect(subject.service_role).to eql(nil)
25
+ expect(subject.jobflow_id).to eql(nil)
25
26
  end
26
27
  end
27
28
 
@@ -589,7 +590,8 @@ describe Elasticity::JobFlow do
589
590
 
590
591
  it 'should return the jobflow ID' do
591
592
  Elasticity::EMR.stub(:new).and_return(emr)
592
- jobflow_with_steps.run.should == 'JOBFLOW_ID'
593
+ expect(jobflow_with_steps.run).to eq('JOBFLOW_ID')
594
+ expect(jobflow_with_steps.jobflow_id).to eq('JOBFLOW_ID')
593
595
  end
594
596
 
595
597
  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.2
4
+ version: 6.0.3
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-20 00:00:00.000000000 Z
11
+ date: 2015-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client