stackup 0.8.0 → 0.8.1

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: a2f56d7cc442a15b14e0df0bd2ed9b9c39b34197
4
- data.tar.gz: 187f7372696c5f6ae84530e218bb9c0c0bf691bd
3
+ metadata.gz: 8add9be3778b3deaf928effd033d335ee3b3f183
4
+ data.tar.gz: 99e392f73dd644e4a857d8df667bbaba69ab3123
5
5
  SHA512:
6
- metadata.gz: f33df243de76851d2f63c8776b8ee44eb2634219fb838adee0d096ecca2fffc19feeb2effcc50aadded2d0f4e04dec2fd7a5640045fe4362782b19874ae81bc1
7
- data.tar.gz: b72c70703f52d5be553ffff3a2c98e360b7cf008aa8f03c993d3920888c84d897a55d38ab8705655d567b6bec52c1b31fa7e377ee3ecb86650e7188cb28e7ae9
6
+ metadata.gz: 2220e80312bb824b45c4a851a02e6cfca1bfe0b0c6edddba9a59ea17f66c9383a18d7b718a95f70dd1d48896b280fc2f6d5737bd127d140c63b80345e1ab0699
7
+ data.tar.gz: b692c66ac627adbfae34d70b7996769a90fc00ec91c79904b1d6f3279a9b39ddc144cfd270760d05880c8a0cd8d957a36314be40c7f34ff1b0caf5a63aa00274
data/CHANGES.md ADDED
@@ -0,0 +1,6 @@
1
+ ## 0.8.0 (2016-03-15)
2
+
3
+ * Add support for stack tags.
4
+ * Add `--region` and `--override` options to CLI.
5
+ * Be more informative when stack doesn't require updates (issue #19).
6
+ * Display time of stack events.
data/README.md CHANGED
@@ -43,7 +43,7 @@ The command-line support inputs (template and parameters) in either JSON or YAML
43
43
 
44
44
  Use sub-command "up" to create or update a stack, as appropriate:
45
45
 
46
- $ stackup myapp-test up template.json
46
+ $ stackup myapp-test up -t template.json
47
47
 
48
48
  This will:
49
49
 
@@ -61,6 +61,11 @@ module Stackup
61
61
  stackup "inspect"
62
62
  end
63
63
 
64
+ desc "Show #{stack} stack outputs only"
65
+ task "outputs" do
66
+ stackup "outputs"
67
+ end
68
+
64
69
  desc "Delete #{stack} stack"
65
70
  task "down" do
66
71
  stackup "down"
@@ -1,5 +1,5 @@
1
1
  module Stackup
2
2
 
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Williams
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-14 00:00:00.000000000 Z
12
+ date: 2016-04-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk-resources
@@ -90,19 +90,9 @@ executables:
90
90
  extensions: []
91
91
  extra_rdoc_files: []
92
92
  files:
93
- - ".gitattributes"
94
- - ".gitignore"
95
- - ".rspec"
96
- - ".rubocop.yml"
97
- - ".travis.yml"
98
- - Gemfile
93
+ - CHANGES.md
99
94
  - README.md
100
- - Rakefile
101
95
  - bin/stackup
102
- - examples/Rakefile
103
- - examples/parameters-terse.yml
104
- - examples/parameters-verbose.json
105
- - examples/template.json
106
96
  - lib/stackup.rb
107
97
  - lib/stackup/differ.rb
108
98
  - lib/stackup/error_handling.rb
@@ -117,7 +107,6 @@ files:
117
107
  - spec/stackup/parameters_spec.rb
118
108
  - spec/stackup/stack_spec.rb
119
109
  - spec/stackup/stack_watcher_spec.rb
120
- - stackup.gemspec
121
110
  homepage: https://github.com/realestate-com-au/stackup
122
111
  licenses:
123
112
  - MIT
@@ -138,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
127
  version: '0'
139
128
  requirements: []
140
129
  rubyforge_project:
141
- rubygems_version: 2.6.1
130
+ rubygems_version: 2.5.1
142
131
  signing_key:
143
132
  specification_version: 4
144
133
  summary: Manage CloudFormation stacks
data/.gitattributes DELETED
@@ -1,17 +0,0 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto
3
-
4
- # Custom for Visual Studio
5
- *.cs diff=csharp
6
-
7
- # Standard to msysgit
8
- *.doc diff=astextplain
9
- *.DOC diff=astextplain
10
- *.docx diff=astextplain
11
- *.DOCX diff=astextplain
12
- *.dot diff=astextplain
13
- *.DOT diff=astextplain
14
- *.pdf diff=astextplain
15
- *.PDF diff=astextplain
16
- *.rtf diff=astextplain
17
- *.RTF diff=astextplain
data/.gitignore DELETED
@@ -1,20 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .rbenv-*
6
- .ruby-version
7
- .yardoc
8
- Gemfile.lock
9
- InstalledFiles
10
- _yardoc
11
- coverage
12
- doc/
13
- lib/bundler/man
14
- pkg
15
- rdoc
16
- spec/reports
17
- test/tmp
18
- test/version_tmp
19
- tmp
20
- .rvmrc
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --colour
2
- --format documentation
data/.rubocop.yml DELETED
@@ -1,47 +0,0 @@
1
- Eval:
2
- Exclude:
3
- - "Rakefile"
4
-
5
- Metrics/AbcSize:
6
- Enabled: false
7
-
8
- Metrics/LineLength:
9
- Max: 120
10
-
11
- Metrics/MethodLength:
12
- Max: 30
13
-
14
- Style/ClassAndModuleChildren:
15
- EnforcedStyle: nested
16
- Exclude:
17
- - "spec/**/*"
18
-
19
- Style/Documentation:
20
- Exclude:
21
- - "spec/**/*"
22
-
23
- Style/EmptyLinesAroundBlockBody:
24
- Enabled: false
25
-
26
- Style/EmptyLinesAroundClassBody:
27
- EnforcedStyle: empty_lines
28
-
29
- Style/EmptyLinesAroundModuleBody:
30
- Enabled: false
31
-
32
- Style/Encoding:
33
- EnforcedStyle: when_needed
34
- Enabled: true
35
-
36
- Style/FileName:
37
- Exclude:
38
- - "bin/*"
39
-
40
- Style/HashSyntax:
41
- EnforcedStyle: hash_rockets
42
-
43
- Style/StringLiterals:
44
- EnforcedStyle: double_quotes
45
-
46
- Style/WordArray:
47
- Enabled: false
data/.travis.yml DELETED
@@ -1,3 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.3
data/Gemfile DELETED
@@ -1,12 +0,0 @@
1
- source "https://rubygems.org" do
2
- gemspec
3
-
4
- gem "rake", "~> 10.0"
5
- gem "rubocop", "~> 0.32"
6
-
7
- group :test do
8
- gem "rspec", "~> 3.3"
9
- gem "byebug"
10
- end
11
-
12
- end
data/Rakefile DELETED
@@ -1,14 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- require "rspec/core/rake_task"
4
-
5
- RSpec::Core::RakeTask.new do |t|
6
- t.pattern = "spec/**/*_spec.rb"
7
- t.rspec_opts = ["--colour", "--format", "documentation"]
8
- end
9
-
10
- task "default" => "spec"
11
-
12
- require "rubocop/rake_task"
13
-
14
- RuboCop::RakeTask.new
data/examples/Rakefile DELETED
@@ -1,11 +0,0 @@
1
- require "stackup/rake_tasks"
2
-
3
- Stackup::RakeTasks.new("demo") do |t|
4
- t.stack = ENV.fetch("STACKUP_DEMO_STACK", "stackup-demo")
5
- t.template = "template.json"
6
- t.parameters = "parameters-verbose.json"
7
- t.tags = {
8
- "environment" => "dev",
9
- "team" => "rea-oss"
10
- }
11
- end
@@ -1 +0,0 @@
1
- IndexDoc: index.htm
@@ -1,6 +0,0 @@
1
- [
2
- {
3
- "ParameterKey": "IndexDoc",
4
- "ParameterValue": "default.htm"
5
- }
6
- ]
@@ -1,51 +0,0 @@
1
- {
2
- "AWSTemplateFormatVersion": "2010-09-09",
3
- "Description": "AWS CloudFormation Sample Template",
4
- "Parameters": {
5
- "IndexDoc": {
6
- "Description": "Website index doc",
7
- "Type": "String",
8
- "Default": "index.html"
9
- }
10
- },
11
- "Resources": {
12
- "S3Bucket": {
13
- "Type": "AWS::S3::Bucket",
14
- "Properties": {
15
- "AccessControl": "PublicRead",
16
- "WebsiteConfiguration": {
17
- "IndexDocument": { "Ref": "IndexDoc" },
18
- "ErrorDocument": "error.html"
19
- }
20
- }
21
- }
22
- },
23
- "Outputs": {
24
- "WebsiteURL": {
25
- "Value": {
26
- "Fn::GetAtt": [
27
- "S3Bucket",
28
- "WebsiteURL"
29
- ]
30
- },
31
- "Description": "URL for website hosted on S3"
32
- },
33
- "S3BucketSecureURL": {
34
- "Value": {
35
- "Fn::Join": [
36
- "",
37
- [
38
- "https://",
39
- {
40
- "Fn::GetAtt": [
41
- "S3Bucket",
42
- "DomainName"
43
- ]
44
- }
45
- ]
46
- ]
47
- },
48
- "Description": "Name of S3 bucket to hold website content"
49
- }
50
- }
51
- }
data/stackup.gemspec DELETED
@@ -1,30 +0,0 @@
1
- lib = File.expand_path("../lib", __FILE__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
-
4
- require "stackup/version"
5
-
6
- Gem::Specification.new do |spec|
7
-
8
- spec.name = "stackup"
9
- spec.version = Stackup::VERSION
10
- spec.authors = ["Mike Williams", "Arvind Kunday"]
11
- spec.email = ["mike.williams@rea-group.com", "arvind.kunday@rea-group.com"]
12
- spec.summary = "Manage CloudFormation stacks"
13
- spec.homepage = "https://github.com/realestate-com-au/stackup"
14
- spec.license = "MIT"
15
-
16
- spec.files = `git ls-files`.split("\n")
17
- spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
-
19
- spec.require_paths = ["lib"]
20
-
21
- spec.bindir = "bin"
22
- spec.executables << "stackup"
23
-
24
- spec.add_dependency "aws-sdk-resources", "~> 2.0"
25
- spec.add_dependency "clamp", "~> 1.0"
26
- spec.add_dependency "console_logger"
27
- spec.add_dependency "diffy", "~> 3.0.5"
28
- spec.add_dependency "multi_json"
29
-
30
- end