gantree 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51663b89314b7d02bc842466e778ff8c1a542e84
4
- data.tar.gz: e6dc9c956e04953a9fe0d1459a3c937dcf53c144
3
+ metadata.gz: 68b5e654deb92034e749012123a65388100a8351
4
+ data.tar.gz: fb2ba017875cf59a1b91532db6f25f972866f598
5
5
  SHA512:
6
- metadata.gz: 7ecdad4c54dbfb6067e74ea180f79864eb67418a858a9e32f2e89df5b1fdb747fe398f5b448e85deb70ac7834a4cee05a589c1ec002cacc58a4af1c2cefca520
7
- data.tar.gz: 09a0ae1388fc3634ffd6bfe7cb51f0db986daf033bf9c307e43a612ae319fb798c05106255d9ef9833ad61e599787b91dd23b00cfede94fa4d068fe8b020b2c4
6
+ metadata.gz: 9b6a25b7f5ef4bf539eeac7260241f7d5d5f3d488b52a9c1128d03ebdf54f43bec12b4ffa4ffeb3b8893fb7f6b6d571e0bae997a0b95dd49b1f60d06b51edd02
7
+ data.tar.gz: 34932883a5a57657e9fe2b258a2c9cbe5786056cec820f115d1a5c16b2d0975aeeb0035955e5c2e48841b47bbdc371540a1394280eeb1629a0ba7d194d8488cb
@@ -230,7 +230,7 @@ module Gantree
230
230
  def check_dir_name envs
231
231
  dir_name = File.basename(Dir.getwd)
232
232
  msg = "WARN: You are deploying from a repo that doesn't match #{@app}"
233
- puts msg.yellow if envs.any? { |env| env.include?(dir_name) }
233
+ puts msg.yellow if envs.any? { |env| env.include?(dir_name) } == false
234
234
  end
235
235
  end
236
236
  end
data/lib/gantree/stack.rb CHANGED
@@ -53,7 +53,7 @@ module Gantree
53
53
  add_role @options[:role] if @options[:role]
54
54
  unless @options[:dry_run] then
55
55
  upload_templates
56
- @cfm.stacks[@options[:stack_name]].update(:template => stack_template)
56
+ @cfm.stacks[@options[:stack_name]].update(:template => stack_template)
57
57
  end
58
58
  end
59
59
 
@@ -185,12 +185,9 @@ module Gantree
185
185
  role = {
186
186
  "Type" => "AWS::ElasticBeanstalk::Environment",
187
187
  "Properties"=> {
188
- "ApplicationName" => "#{env}",
189
- "EnvironmentName" => "#{@options[:stack_name]}",
188
+ "ApplicationName" => "#{@options[:stack_name]}",
189
+ "EnvironmentName" => "#{env}",
190
190
  "Description" => "#{name} Environment",
191
- "VersionLabel" => {
192
- "Ref" => "ApplicationVersion"
193
- },
194
191
  "TemplateName" => {
195
192
  "Ref" => "ConfigurationTemplate"
196
193
  },
@@ -1,3 +1,3 @@
1
1
  module Gantree
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gantree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix