lono-params 0.0.5 → 0.0.6
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/README.md +2 -1
- data/lib/lono_params/generator.rb +1 -1
- data/lib/lono_params/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1e0727c88ca2ebbd61dbf290f4a3c07520fcca2
|
|
4
|
+
data.tar.gz: cee8d447168281c64f5f3e987a47b87044fb3dd6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9be26951066a916d76943968517a8b65ffa6a949fc31112a9cbea9d13258c427e768baf61300f5e0365c4db449bdc8bffea3a4bc2a372541c4351aaf1a35a077
|
|
7
|
+
data.tar.gz: 1f416641e8f1c77c6bb6096820436c2763b7de53dc5b31f032eb660ee758dbe70ee6d7aa0f8d0457d77f70b6836887b5dc6ce1d6a46f4db20698e69d34c2fde3
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
## [0.0.6]
|
|
7
|
+
|
|
8
|
+
- add internal mute option
|
|
9
|
+
|
|
6
10
|
## [0.0.5] do not generate param if the value is not set
|
|
7
11
|
|
|
8
12
|
- do not generate param if the value is not set
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lono-params (0.0.
|
|
4
|
+
lono-params (0.0.6)
|
|
5
5
|
colorize
|
|
6
6
|
hashie
|
|
7
7
|
plissken
|
|
@@ -54,7 +54,7 @@ GEM
|
|
|
54
54
|
ruby_dep (~> 1.2)
|
|
55
55
|
lumberjack (1.0.10)
|
|
56
56
|
method_source (0.8.2)
|
|
57
|
-
minitest (5.10.
|
|
57
|
+
minitest (5.10.2)
|
|
58
58
|
nenv (0.3.0)
|
|
59
59
|
notiffany (0.1.1)
|
|
60
60
|
nenv (~> 0.1)
|
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Lono Params
|
|
2
2
|
|
|
3
|
+
[](https://circleci.com/gh/tongueroo/lono-params)
|
|
4
|
+
|
|
3
5
|
Tool to generate a CloudFormation params json formatted file from a simple env file.
|
|
4
6
|
|
|
5
7
|
Given:
|
|
@@ -9,7 +11,6 @@ Param1=1
|
|
|
9
11
|
# comments are fine
|
|
10
12
|
Param2=2 # comments can go after the line too
|
|
11
13
|
Param3=use_previous_value # treated specially
|
|
12
|
-
$
|
|
13
14
|
```
|
|
14
15
|
|
|
15
16
|
This is produced:
|
|
@@ -20,7 +20,7 @@ module LonoParams
|
|
|
20
20
|
data = convert_to_cfn_format(contents)
|
|
21
21
|
json = JSON.pretty_generate(data)
|
|
22
22
|
write_output(json)
|
|
23
|
-
puts "Params file generated for #{@name} at #{output_path}"
|
|
23
|
+
puts "Params file generated for #{@name} at #{output_path}" unless @options[:mute]
|
|
24
24
|
else
|
|
25
25
|
puts "#{@source_path} could not be found? Are you sure it exist?"
|
|
26
26
|
exit 1
|
data/lib/lono_params/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lono-params
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|