ufo 4.5.1 → 4.5.2

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
  SHA256:
3
- metadata.gz: b0335efc845bd3f23fc9851fb33f31439f7f04b397f6de895e546b90c24dabf3
4
- data.tar.gz: a13a5024fca96eb1afd71b7b3df363f07512679376fde0832a1ebbf5cdac2e99
3
+ metadata.gz: 87163ab28792dadd633294978d4add5e0aec9c88e8d9063a9ae5661dc5d08964
4
+ data.tar.gz: 9259a17a58ddacf67007d2bc59b6ab2a9bbc48e70ea6d646675ac4e0ceb95e38
5
5
  SHA512:
6
- metadata.gz: cb0634493a066baf53424c325e36fd95ebbfb658a2c803c3d0600bf82276e920f034573fd7df782ea0fd421e6ce16e15358fc3f0fef384add71ddb5d104e541f
7
- data.tar.gz: 5750580ea1d63fced5068223a318702e05b2fdb839019deb447b503400902c32edefa654fc8d6ee22f05f2ceb7659f3f414d029e0efe08983a12c4848fd85df5
6
+ metadata.gz: 4f0ca5903c773c9203f56529799e400a94ab2a48d8f7a89ed76e6c13dc68f2b91dc849b449af7c534d3ab0eda9800c64c495a889831d3bcba74d9e50cf756218
7
+ data.tar.gz: e93e17948eb44453f94816a64a2bd96b9d5f306fd1f4aa7473047b4714df175bf4d1cbb55592a7494e76c9a3ed00d351840246a6989d92933f3318438ad3873d
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [4.5.2]
7
+ - add append_nothing option
8
+
6
9
  ## [4.5.1]
7
10
  - handle UPDATE_IN_PROGRESS stack validation error also
8
11
  - update comment at top of generated Dockerfile
@@ -17,9 +17,9 @@ class Ufo::Stack
17
17
  end
18
18
 
19
19
  def adjust_stack_name(cluster, service)
20
- upgraded_namings = %w[append_ufo_env append_env append_cluster]
20
+ upgraded_namings = %w[append_ufo_env append_env append_cluster append_nothing prepend_nothing]
21
21
  unless upgraded_namings.include?(settings[:stack_naming])
22
- puts "WARN: In ufo v4.6 the UFO_ENV value gets appends to the end of the CloudFormation stack name. This means a new stack gets created. You must upgrade to using the new stack and delete the old stack manually. More info: http://ufoships.com/docs/upgrading/upgrade4.x/".color(:yellow)
22
+ puts "WARN: In ufo v4.5 the UFO_ENV value gets appends to the end of the CloudFormation stack name. This means a new stack gets created. You must upgrade to using the new stack and delete the old stack manually. More info: https://ufoships.com/docs/upgrading/upgrade4.5/".color(:yellow)
23
23
  puts "To get rid of this warning you can add `stack_naming: append_ufo_env` to your `.ufo/settings.yml config. New versions of ufo init do this automatically."
24
24
  puts "Pausing for 20 seconds."
25
25
  sleep 20
@@ -32,6 +32,8 @@ class Ufo::Stack
32
32
  # append_env will be removed in the next major version in favor of apend_cluster.
33
33
  # To avoid confusiong with append_ufo_env
34
34
  [service, cluster, Ufo.env_extra]
35
+ when "append_nothing", "prepend_nothing"
36
+ [service, Ufo.env_extra]
35
37
  else
36
38
  # legacy, to be removed in next major version
37
39
  [cluster, service, Ufo.env_extra]
data/lib/ufo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ufo
2
- VERSION = "4.5.1"
2
+ VERSION = "4.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ufo
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.1
4
+ version: 4.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-13 00:00:00.000000000 Z
11
+ date: 2019-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-cloudformation