stack_master 2.12.0 → 2.13.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c0add9f29f6f809207e0b64969e084172dc194c77ae1636ceb073000e8020b4
|
4
|
+
data.tar.gz: f5e2a4a3a84a55a74bc29525067691a847f24b9c4256108d3ec9c086cd82ab6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: addcb8147d827d7f403018c72a44a4fb1ca1d5536e7d74abe0c32e3645c1eded4278c761d7bb48d861e2857d7cd64ae9e61d69fb70d560f1aa44b79672ccc178
|
7
|
+
data.tar.gz: 98d47ddfcc3e928f55d7946d50f4bab280c04bb4d0eb0b8aade5616c1274ab542755ef616fdec3ccacce739832300bf202ba84e2d22e213f11f9ba62b91b349d
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![License MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/envato/stack_master/blob/master/LICENSE.md)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/stack_master.svg)](https://badge.fury.io/rb/stack_master)
|
5
|
-
[![Build Status](https://
|
5
|
+
[![Build Status](https://github.com/envato/stack_master/workflows/tests/badge.svg?branch=master)](https://github.com/envato/stack_master/actions?query=workflow%3Atests+branch%3Amaster)
|
6
6
|
|
7
7
|
StackMaster is a CLI tool to manage [CloudFormation](https://aws.amazon.com/cloudformation/) stacks, with the following features:
|
8
8
|
|
@@ -2,14 +2,15 @@ module StackMaster::TemplateCompilers
|
|
2
2
|
class Cfndsl
|
3
3
|
def self.require_dependencies
|
4
4
|
require 'cfndsl'
|
5
|
+
require 'json'
|
5
6
|
end
|
6
7
|
|
7
8
|
def self.compile(template_dir, template, compile_time_parameters, _compiler_options = {})
|
8
|
-
CfnDsl.disable_binding
|
9
9
|
CfnDsl::ExternalParameters.defaults.clear # Ensure there's no leakage across invocations
|
10
10
|
CfnDsl::ExternalParameters.defaults(compile_time_parameters.symbolize_keys)
|
11
11
|
template_file_path = File.join(template_dir, template)
|
12
|
-
::CfnDsl.eval_file_with_extras(template_file_path).
|
12
|
+
json_hash = ::CfnDsl.eval_file_with_extras(template_file_path).as_json
|
13
|
+
JSON.pretty_generate(json_hash)
|
13
14
|
end
|
14
15
|
|
15
16
|
StackMaster::TemplateCompiler.register(:cfndsl, self)
|
data/lib/stack_master/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stack_master
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Hodgkiss
|
8
8
|
- Glen Stampoultzis
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-02-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -371,16 +371,16 @@ dependencies:
|
|
371
371
|
name: cfndsl
|
372
372
|
requirement: !ruby/object:Gem::Requirement
|
373
373
|
requirements:
|
374
|
-
- - "
|
374
|
+
- - "~>"
|
375
375
|
- !ruby/object:Gem::Version
|
376
|
-
version: '1
|
376
|
+
version: '1'
|
377
377
|
type: :runtime
|
378
378
|
prerelease: false
|
379
379
|
version_requirements: !ruby/object:Gem::Requirement
|
380
380
|
requirements:
|
381
|
-
- - "
|
381
|
+
- - "~>"
|
382
382
|
- !ruby/object:Gem::Version
|
383
|
-
version: '1
|
383
|
+
version: '1'
|
384
384
|
- !ruby/object:Gem::Dependency
|
385
385
|
name: multi_json
|
386
386
|
requirement: !ruby/object:Gem::Requirement
|
@@ -441,16 +441,22 @@ dependencies:
|
|
441
441
|
name: cfn-nag
|
442
442
|
requirement: !ruby/object:Gem::Requirement
|
443
443
|
requirements:
|
444
|
-
- - "
|
444
|
+
- - ">="
|
445
445
|
- !ruby/object:Gem::Version
|
446
446
|
version: 0.6.7
|
447
|
+
- - "<"
|
448
|
+
- !ruby/object:Gem::Version
|
449
|
+
version: 0.8.0
|
447
450
|
type: :runtime
|
448
451
|
prerelease: false
|
449
452
|
version_requirements: !ruby/object:Gem::Requirement
|
450
453
|
requirements:
|
451
|
-
- - "
|
454
|
+
- - ">="
|
452
455
|
- !ruby/object:Gem::Version
|
453
456
|
version: 0.6.7
|
457
|
+
- - "<"
|
458
|
+
- !ruby/object:Gem::Version
|
459
|
+
version: 0.8.0
|
454
460
|
description: ''
|
455
461
|
email:
|
456
462
|
- steve@hodgkiss.me
|
@@ -557,9 +563,9 @@ licenses:
|
|
557
563
|
metadata:
|
558
564
|
bug_tracker_uri: https://github.com/envato/stack_master/issues
|
559
565
|
changelog_uri: https://github.com/envato/stack_master/blob/master/CHANGELOG.md
|
560
|
-
documentation_uri: https://www.rubydoc.info/gems/stack_master/2.
|
561
|
-
source_code_uri: https://github.com/envato/stack_master/tree/v2.
|
562
|
-
post_install_message:
|
566
|
+
documentation_uri: https://www.rubydoc.info/gems/stack_master/2.13.0
|
567
|
+
source_code_uri: https://github.com/envato/stack_master/tree/v2.13.0
|
568
|
+
post_install_message:
|
563
569
|
rdoc_options: []
|
564
570
|
require_paths:
|
565
571
|
- lib
|
@@ -574,8 +580,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
574
580
|
- !ruby/object:Gem::Version
|
575
581
|
version: '0'
|
576
582
|
requirements: []
|
577
|
-
rubygems_version: 3.
|
578
|
-
signing_key:
|
583
|
+
rubygems_version: 3.2.8
|
584
|
+
signing_key:
|
579
585
|
specification_version: 4
|
580
586
|
summary: StackMaster is a sure-footed way of creating, updating and keeping track
|
581
587
|
of Amazon (AWS) CloudFormation stacks.
|