lono-pro 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/lono/pro/help/code/convert.md +1 -1
- data/lib/lono/pro/help/code/import.md +1 -1
- data/lib/lono/pro/help.rb +12 -1
- data/lib/lono/pro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 146c0ab939081b40292f52bf762c1438ff140874eeefaad6eb598db8c6cd92b2
|
4
|
+
data.tar.gz: 80af069936676ba050e7becd9e9baba059f3c42292a824619ccfdace24ec5dcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dae187e53c12c56d41c1faa17dc606b6a379ce1e700473158fef4215bd54607f450d890d31b268abbf3d6ce227af64df1eb03b72229e602228b55a75707967ad
|
7
|
+
data.tar.gz: cf57dbd4e847fd14f2af96856a405d4529261584d2b206dc91ada3e41f7eabd0ecb8b828561661f1437c7c81d4cf5b4b7f7bb9b3b82aa5b671120dda7fb7a1e8
|
data/CHANGELOG.md
CHANGED
@@ -48,4 +48,4 @@
|
|
48
48
|
The `INFO` messages are written to stderr so you can grab the translated template Ruby code by directing it to a file. Example:
|
49
49
|
|
50
50
|
lono code convert https://s3-us-east-2.amazonaws.com/cloudformation-templates-us-east-2/AutoScalingMultiAZWithNotifications.template > autoscaling.rb
|
51
|
-
cat autoscaling.rb
|
51
|
+
cat autoscaling.rb
|
@@ -9,4 +9,4 @@
|
|
9
9
|
$ lono code import https://s3-us-east-2.amazonaws.com/cloudformation-templates-us-east-2/AutoScalingMultiAZWithNotifications.template --blueprint asg
|
10
10
|
Template imported to: blueprints/asg/app/templates/asg.rb
|
11
11
|
Params file created at configs/asg/development.txt
|
12
|
-
$
|
12
|
+
$
|
data/lib/lono/pro/help.rb
CHANGED
@@ -5,7 +5,18 @@ module Lono::Pro
|
|
5
5
|
def text(namespaced_command)
|
6
6
|
path = namespaced_command.to_s.gsub(':','/')
|
7
7
|
path = File.expand_path("../help/#{path}.md", __FILE__)
|
8
|
-
|
8
|
+
if File.exist?(path)
|
9
|
+
content = IO.read(path)
|
10
|
+
content.strip + "\n\n" + lono_pro_addon_note
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def lono_pro_addon_note
|
15
|
+
<<~EOL
|
16
|
+
## Lono Pro
|
17
|
+
|
18
|
+
This is a lono-pro addon command.
|
19
|
+
EOL
|
9
20
|
end
|
10
21
|
end
|
11
22
|
end
|
data/lib/lono/pro/version.rb
CHANGED