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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a05093ad7da8ea1a203d0583ccaf9823fd835bb6574943367a6faae76c1b1feb
4
- data.tar.gz: d7e4484799d0024ea6d230fe1aca0da86eb2359b7e4cb5ccb0eaaad088c5c554
3
+ metadata.gz: d9b91cb687fe123c8805a6d17b6ac8e9fa4d7c127bdbf1ec0269c4b59e602853
4
+ data.tar.gz: ebb6686fce572346f786a3c1c25aeaa6973ecfd07394678743293c0ddb86b2b1
5
5
  SHA512:
6
- metadata.gz: 660d43b879898e550cf3ed5039220e00c5c9af11189e03d1dd8284c93223dd888b2127a0548abbecf81b22a0479fe3bcc8461f9dc0dd82488df6558e1fd5364f
7
- data.tar.gz: ba6a544e8fe3d24b1528df365c63a8e0e2c4fc55aa6d5729e1ad7e0cc4bc55a27aee465c7c6f42abcc470399f830268a6455c9cd77607ddbf002befe190cd91a
6
+ metadata.gz: 38c0b1c0c9e64e2e64ef1d0410507f7cb1ed6ac3a4bb53ca2a55366291032a887788cfe41eb4f629752e5aecb14b8b952d35ed45920ce371446cfd251ae53f2a
7
+ data.tar.gz: bad9f02a40e9d06712aacdd6173811f7b97d1c9e96a385f7cc85c823e235264bcacc30413997889619dc76465b2a389dd343edade4a844ef4ad15b032c2dccfa
@@ -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
@@ -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 --params different2
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 --params different4
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`.
@@ -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 --params different2
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 --params different4
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`.
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
3
3
  end
@@ -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 "#summary" do
26
- expect(page.summary).to eq "Generate both CloudFormation templates and parameters files"
25
+ it "#desc_markdown" do
26
+ expect(page.desc_markdown).to include "# Description"
27
27
  end
28
28
 
29
- it "#options" do
30
- expect(page.options).to include("--clean")
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("# Summary")
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 "#summary" do
55
- expect(page.summary).to eq "cfn subcommand tasks"
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 options at the top-level.
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 "#options" do
61
- expect(page.options).to include("")
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("# Summary")
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 options
85
- it "#options" do
86
- expect(page.options).to eq ""
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("# Summary")
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen