lono 4.0.1 → 4.0.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/help/cfn/create.md +2 -2
- data/lib/lono/help/cfn/update.md +2 -2
- data/lib/lono/version.rb +1 -1
- data/spec/lib/lono/markdown_spec.rb +16 -28
- 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: d9b91cb687fe123c8805a6d17b6ac8e9fa4d7c127bdbf1ec0269c4b59e602853
|
4
|
+
data.tar.gz: ebb6686fce572346f786a3c1c25aeaa6973ecfd07394678743293c0ddb86b2b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38c0b1c0c9e64e2e64ef1d0410507f7cb1ed6ac3a4bb53ca2a55366291032a887788cfe41eb4f629752e5aecb14b8b952d35ed45920ce371446cfd251ae53f2a
|
7
|
+
data.tar.gz: bad9f02a40e9d06712aacdd6173811f7b97d1c9e96a385f7cc85c823e235264bcacc30413997889619dc76465b2a389dd343edade4a844ef4ad15b032c2dccfa
|
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
|
+
## [4.0.2]
|
7
|
+
- update cli docs
|
8
|
+
|
6
9
|
## [4.0.1]
|
7
10
|
- add http://lono.cloud/reference/
|
8
11
|
- improve cli docs
|
data/lib/lono/help/cfn/create.md
CHANGED
@@ -12,10 +12,10 @@ Here are examples of overriding the template and params name conventions.
|
|
12
12
|
|
13
13
|
The template used is `output/templates/different1.json` and the parameters used is `output/params/different1.json`.
|
14
14
|
|
15
|
-
lono cfn create my-stack --
|
15
|
+
lono cfn create my-stack --param different2
|
16
16
|
|
17
17
|
The template used is `output/templates/my-stack.json` and the parameters used is `output/params/different2.json`.
|
18
18
|
|
19
|
-
lono cfn create my-stack --template different3 --
|
19
|
+
lono cfn create my-stack --template different3 --param different4
|
20
20
|
|
21
21
|
The template used is `output/templates/different3.json` and the parameters used is `output/params/different4.json`.
|
data/lib/lono/help/cfn/update.md
CHANGED
@@ -12,10 +12,10 @@ Here are examples of overriding the template and params name conventions.
|
|
12
12
|
|
13
13
|
The template used is `output/templates/different1.json` and the parameters used is `output/params/different1.json`.
|
14
14
|
|
15
|
-
lono cfn update my-stack --
|
15
|
+
lono cfn update my-stack --param different2
|
16
16
|
|
17
17
|
The template used is `output/templates/my-stack.json` and the parameters used is `output/params/different2.json`.
|
18
18
|
|
19
|
-
lono cfn update my-stack --template different3 --
|
19
|
+
lono cfn update my-stack --template different3 --param different4
|
20
20
|
|
21
21
|
The template used is `output/templates/different3.json` and the parameters used is `output/params/different4.json`.
|
data/lib/lono/version.rb
CHANGED
@@ -22,23 +22,19 @@ describe Lono::Markdown::Page do
|
|
22
22
|
expect(page.usage).to eq "lono generate"
|
23
23
|
end
|
24
24
|
|
25
|
-
it "#
|
26
|
-
expect(page.
|
25
|
+
it "#desc_markdown" do
|
26
|
+
expect(page.desc_markdown).to include "# Description"
|
27
27
|
end
|
28
28
|
|
29
|
-
it "#
|
30
|
-
expect(page.
|
29
|
+
it "#options_markdown" do
|
30
|
+
expect(page.options_markdown).to include("--clean")
|
31
31
|
# [--clean], [--no-clean] # remove all output files before generating
|
32
32
|
# # Default: true
|
33
33
|
# [--quiet], [--no-quiet] # silence the output
|
34
34
|
end
|
35
35
|
|
36
|
-
it "#description" do
|
37
|
-
expect(page.description).to include(" lono generate")
|
38
|
-
end
|
39
|
-
|
40
36
|
it "#doc" do
|
41
|
-
expect(page.doc).to include("#
|
37
|
+
expect(page.doc).to include("# Description")
|
42
38
|
# puts page.doc # uncomment to see generated page for debugging
|
43
39
|
end
|
44
40
|
end
|
@@ -51,18 +47,15 @@ describe Lono::Markdown::Page do
|
|
51
47
|
expect(page.usage).to eq "lono cfn SUBCOMMAND"
|
52
48
|
end
|
53
49
|
|
54
|
-
it "#
|
55
|
-
|
50
|
+
it "#desc_markdown" do
|
51
|
+
puts page.desc_markdown
|
52
|
+
expect(page.desc_markdown).to include "# Description"
|
56
53
|
end
|
57
54
|
|
58
|
-
# Think it is better to hide subcommand
|
55
|
+
# Think it is better to hide subcommand options_markdown at the top-level.
|
59
56
|
# User will see the optoins once they click into the subcommand.
|
60
|
-
it "#
|
61
|
-
expect(page.
|
62
|
-
end
|
63
|
-
|
64
|
-
it "#description" do
|
65
|
-
expect(page.description).to include("Examples")
|
57
|
+
it "#options_markdown" do
|
58
|
+
expect(page.options_markdown).to include("")
|
66
59
|
end
|
67
60
|
|
68
61
|
it "#subcommand_list" do
|
@@ -71,7 +64,7 @@ describe Lono::Markdown::Page do
|
|
71
64
|
end
|
72
65
|
|
73
66
|
it "#doc" do
|
74
|
-
expect(page.doc).to include("#
|
67
|
+
expect(page.doc).to include("# Description")
|
75
68
|
# puts page.doc # uncomment to see generated page for debugging
|
76
69
|
end
|
77
70
|
end
|
@@ -81,18 +74,13 @@ describe Lono::Markdown::Page do
|
|
81
74
|
context "summary" do
|
82
75
|
let(:command) { "summary" }
|
83
76
|
|
84
|
-
# empty
|
85
|
-
it "#
|
86
|
-
expect(page.
|
87
|
-
end
|
88
|
-
|
89
|
-
# empty description
|
90
|
-
it "#description" do
|
91
|
-
expect(page.description).to eq ""
|
77
|
+
# empty options_markdown
|
78
|
+
it "#options_markdown" do
|
79
|
+
expect(page.options_markdown).to eq ""
|
92
80
|
end
|
93
81
|
|
94
82
|
it "#doc" do
|
95
|
-
expect(page.doc).to include("#
|
83
|
+
expect(page.doc).to include("# Description")
|
96
84
|
# puts page.doc # uncomment to see generated page for debugging
|
97
85
|
end
|
98
86
|
end
|