bbc-cosmos-tools 0.1.5 → 0.1.6

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: 290eb19817e507234002b5b87648cbb4dab58f41
4
- data.tar.gz: f0cd4413d6582d16b2f4bd87107542d313f50c09
3
+ metadata.gz: 47e4b3dcf0f4d6bc40f26a4b24c2ce5d5a055c7f
4
+ data.tar.gz: 0e8120e3e97d6ca61f8f2c865b9e78f822d94dd2
5
5
  SHA512:
6
- metadata.gz: f29905a315f5c8ec5ed97dc3560382c12b6c6e44958561d81591d8f69ed57a42b46164149d3cbf9f08a513df6c2c0665da8eeb1a0cae7b04fa26f82b082a59fa
7
- data.tar.gz: c66472f083bdbcc14296ea93a6b6cf1dbae7446435073afdb91b4e560a7ee24b9c5b8fd48058b47dcddcc687628308d1feaa47bbd86b35059bae1ddb4b31bbcc
6
+ metadata.gz: 9c4ca410decc169970a7c008c6a48234699ec881dee0dda1afc89b334a42b4b312ae45a74f9e8b8915c51f074aa7c14a305ed848bf69a70fd987bc998e829b81
7
+ data.tar.gz: 5e7e5ed78aa554dc6f82db54978b59ddeb75f940b275a95e40bffc466cf4c773b3b4e50acf3c5d995f89cec845af4aefd9619735fdaf302e8c38f4e2d440ab31
@@ -63,7 +63,6 @@ module BBC
63
63
  component_release = release_id
64
64
  if release_id.nil?
65
65
 
66
- raise("From location cannot be the same as deployment location") if options[:from] == options[:env]
67
66
  post_data = {}
68
67
  endpoint = config.app['deploy']
69
68
 
@@ -177,7 +177,7 @@ module BBC
177
177
  component_identifier = options[:group].nil? ? component : options[:group]
178
178
  instance_eval config_data.cf_templates(component_identifier, options[:stack])
179
179
  end.tap do |data|
180
- if data['Parameters']['ImageId']
180
+ if data['Parameters'] && data['Parameters']['ImageId']
181
181
  data['Parameters']['ImageId']['Default'] = latest_ami_for(component, options[:env])
182
182
  end
183
183
 
@@ -1,7 +1,7 @@
1
1
  module BBC
2
2
  module Cosmos
3
3
  module Tools
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbc-cosmos-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-09 00:00:00.000000000 Z
11
+ date: 2014-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler