ufo 4.3.1 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +8 -0
  3. data/CHANGELOG.md +6 -0
  4. data/Gemfile.lock +26 -26
  5. data/README.md +1 -1
  6. data/docs/.ruby-version +1 -0
  7. data/docs/_docs/auto-completion.md +2 -3
  8. data/docs/_docs/automated-cleanup.md +2 -3
  9. data/docs/_docs/conventions.md +2 -3
  10. data/docs/_docs/customize-cloudformation.md +2 -3
  11. data/docs/_docs/ecs-network-mode.md +2 -3
  12. data/docs/_docs/faq.md +2 -3
  13. data/docs/_docs/fargate.md +1 -5
  14. data/docs/_docs/helpers.md +2 -3
  15. data/docs/_docs/install.md +2 -4
  16. data/docs/_docs/load-balancer.md +2 -3
  17. data/docs/_docs/migrations.md +2 -3
  18. data/docs/_docs/next-steps.md +2 -4
  19. data/docs/_docs/params.md +2 -4
  20. data/docs/_docs/quick-start-ec2.md +3 -4
  21. data/docs/_docs/redirection-support.md +2 -3
  22. data/docs/_docs/route53-support.md +2 -3
  23. data/docs/_docs/run-in-pieces.md +2 -3
  24. data/docs/_docs/security-groups.md +2 -3
  25. data/docs/_docs/settings-cfn.md +2 -3
  26. data/docs/_docs/settings-network.md +2 -3
  27. data/docs/_docs/settings.md +21 -24
  28. data/docs/_docs/single-task.md +2 -3
  29. data/docs/_docs/ssl-support.md +2 -3
  30. data/docs/_docs/structure.md +2 -4
  31. data/docs/_docs/stuck-cloudformation.md +2 -3
  32. data/docs/_docs/tutorial-ufo-docker-build.md +2 -4
  33. data/docs/_docs/tutorial-ufo-init.md +2 -4
  34. data/docs/_docs/tutorial-ufo-ship.md +2 -3
  35. data/docs/_docs/tutorial-ufo-ships.md +2 -3
  36. data/docs/_docs/tutorial-ufo-tasks-build.md +2 -3
  37. data/docs/_docs/tutorial.md +2 -3
  38. data/docs/_docs/ufo-current.md +2 -3
  39. data/docs/_docs/ufo-env-extra.md +2 -3
  40. data/docs/_docs/ufo-env.md +2 -3
  41. data/docs/_docs/ufo-tasks-register.md +1 -2
  42. data/docs/_docs/upgrading.md +13 -0
  43. data/docs/_docs/upgrading/upgrade4.4.md +39 -0
  44. data/docs/_docs/{upgrade4.md → upgrading/upgrade4.md} +6 -4
  45. data/docs/_docs/variables.md +2 -3
  46. data/docs/_docs/why-cloudformation.md +2 -3
  47. data/docs/_includes/prev_next.md +19 -0
  48. data/docs/_includes/subnav.html +8 -1
  49. data/docs/_reference/{ufo-upgrade-v3_3to3_4.md → ufo-upgrade-v33to34.md} +2 -2
  50. data/docs/_reference/ufo-upgrade-v43to44.md +15 -0
  51. data/docs/_reference/ufo-upgrade.md +2 -1
  52. data/docs/articles.md +2 -3
  53. data/docs/docs.md +2 -4
  54. data/docs/quick-start.md +3 -3
  55. data/lib/cfn/stack.yml +8 -8
  56. data/lib/template/.ufo/settings.yml.tt +5 -8
  57. data/lib/ufo.rb +2 -0
  58. data/lib/ufo/apps/service.rb +4 -4
  59. data/lib/ufo/base.rb +1 -2
  60. data/lib/ufo/cancel.rb +2 -2
  61. data/lib/ufo/core.rb +16 -14
  62. data/lib/ufo/destroy.rb +2 -2
  63. data/lib/ufo/ps.rb +1 -1
  64. data/lib/ufo/scale.rb +2 -2
  65. data/lib/ufo/setting.rb +16 -1
  66. data/lib/ufo/stack/context.rb +0 -1
  67. data/lib/ufo/stack/helper.rb +18 -1
  68. data/lib/ufo/upgrade.rb +8 -2
  69. data/lib/ufo/upgrade/upgrade33to34.rb +1 -0
  70. data/lib/ufo/upgrade/upgrade43to44.rb +25 -0
  71. data/lib/ufo/version.rb +1 -1
  72. data/spec/fixtures/settings.yml +3 -5
  73. data/spec/lib/setting_spec.rb +5 -0
  74. data/ufo.gemspec +1 -1
  75. metadata +13 -8
  76. data/spec/lib/core_spec.rb +0 -16
@@ -1,16 +0,0 @@
1
- describe Ufo::Core do
2
- before(:all) do
3
- create_ufo_project
4
- end
5
-
6
- it "finds the first env that contains the aws profile" do
7
- env = Ufo.send(:env_from_profile, "dev_profile1")
8
- expect(env).to eq "development"
9
- env = Ufo.send(:env_from_profile, "dev_profile2")
10
- expect(env).to eq "development"
11
- env = Ufo.send(:env_from_profile, "prod_profile")
12
- expect(env).to eq "production"
13
- env = Ufo.send(:env_from_profile, "does_not_exist")
14
- expect(env).to be nil
15
- end
16
- end