stemcell 0.11.10 → 0.11.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/stemcell/launcher.rb +1 -1
- data/lib/stemcell/version.rb +1 -1
- data/spec/lib/stemcell/launcher_spec.rb +8 -0
- 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: be5d265d86505b9f9510c4a49e32edcd3818ad2d
|
4
|
+
data.tar.gz: fe8c43abeb21b2e0d0aba92c9cb7f96ccfabfda9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c9636e89c8892261da6372741985d6a0cd4759eadeebe3450bdc8f5093906a776d9cf3ed17cb0e53329a53d9e1493d6f469636d638dc3f4254248b4a8effa94
|
7
|
+
data.tar.gz: d8cafabc54c274f5952aa2b8f4406eeabd73b39f45cb6e0b7161ccdb01b5526ac687df43de80dde0926bd63bdb46f2574643d07dcb9b601ee0118d3b7a5c9970
|
data/CHANGELOG.md
CHANGED
data/lib/stemcell/launcher.rb
CHANGED
@@ -195,7 +195,7 @@ module Stemcell
|
|
195
195
|
@log.info "sent ec2 api tag requests successfully"
|
196
196
|
|
197
197
|
# link to classiclink
|
198
|
-
|
198
|
+
unless @vpc_id
|
199
199
|
set_classic_link(instances, opts['classic_link'])
|
200
200
|
@log.info "successfully applied classic link settings (if any)"
|
201
201
|
end
|
data/lib/stemcell/version.rb
CHANGED
@@ -91,6 +91,14 @@ describe Stemcell::Launcher do
|
|
91
91
|
|
92
92
|
launcher.send(:launch, launch_options)
|
93
93
|
end
|
94
|
+
|
95
|
+
it 'calls set_classic_link for non vpc instances' do
|
96
|
+
launcher = Stemcell::Launcher.new({'region' => 'region', 'vpc_id' => false})
|
97
|
+
expect(launcher).to receive(:set_classic_link)
|
98
|
+
expect(launcher).to receive(:set_tags).with(kind_of(Array), kind_of(Hash)).and_return(nil)
|
99
|
+
expect(launcher).to receive(:do_launch).and_return(instances)
|
100
|
+
launcher.send(:launch, launch_options)
|
101
|
+
end
|
94
102
|
end
|
95
103
|
|
96
104
|
describe '#set_classic_link' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stemcell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Rhoads
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-
|
14
|
+
date: 2018-03-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: aws-sdk-v1
|