lono-pro 0.4.0 → 0.4.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bcbd5782d3fecb5067f98cfbbef33d324e0750b719c6c6f0d3bb1f9c147afe86
|
|
4
|
+
data.tar.gz: ce6d3ff1d0c8b5659a4b01f65e4a4c533f193ef47e2180efa185f01648eee5f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: edcabe704d254f1f992a4cdd72791f709231bae9b457fa0451fea88e69dc10062165c923b505385106c236783301de25f6efe211411547f0670d55497fbd9759
|
|
7
|
+
data.tar.gz: 69669cacb4c600c4e235d82566db7d40ab05ce2fef0201b66aca04718e93a211935f93829e2ab1b595fd790bfbdd2ed8a4a1d190d96312ad7e3f55a8f25e3a5c
|
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
|
+
## [0.4.1]
|
|
7
|
+
- organize code help files
|
|
8
|
+
|
|
6
9
|
## [0.4.0]
|
|
7
10
|
- exit 1 if ruby code was not able to be translated
|
|
8
11
|
- fill in imported params file with default values
|
data/lib/lono/pro/code.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Lono::Pro
|
|
2
2
|
class Code < Lono::Command
|
|
3
3
|
desc "import SOURCE", "Imports CloudFormation template and converts it to different lono formats."
|
|
4
|
-
long_desc Help.text(
|
|
4
|
+
long_desc Help.text("code/import")
|
|
5
5
|
option :blueprint, default: nil, desc: "final blueprint name"
|
|
6
6
|
option :casing, default: "as-is", desc: "Controls casing of logical ids. IE: as-is, camelcase or underscore"
|
|
7
7
|
option :summary, default: true, type: :boolean, desc: "provide template summary after import"
|
|
@@ -13,7 +13,7 @@ module Lono::Pro
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
desc "convert SOURCE", "Converts snippet of YAML to lono dsl format."
|
|
16
|
-
long_desc Help.text(
|
|
16
|
+
long_desc Help.text("code/convert")
|
|
17
17
|
option :casing, default: "as-is", desc: "Controls casing of logical ids. IE: as-is, camelcase or underscore"
|
|
18
18
|
def convert(source)
|
|
19
19
|
Importer::Converter.new(source, options.merge(print: true)).run
|
data/lib/lono/pro/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lono-pro
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
@@ -87,8 +87,8 @@ files:
|
|
|
87
87
|
- lib/lono/pro/cli.rb
|
|
88
88
|
- lib/lono/pro/code.rb
|
|
89
89
|
- lib/lono/pro/help.rb
|
|
90
|
-
- lib/lono/pro/help/convert.md
|
|
91
|
-
- lib/lono/pro/help/import.md
|
|
90
|
+
- lib/lono/pro/help/code/convert.md
|
|
91
|
+
- lib/lono/pro/help/code/import.md
|
|
92
92
|
- lib/lono/pro/importer.rb
|
|
93
93
|
- lib/lono/pro/importer/base.rb
|
|
94
94
|
- lib/lono/pro/importer/converter.rb
|
|
File without changes
|
|
File without changes
|