lono 4.0.5 → 4.0.6

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: 3d65528282a3ab452046643d9e657999b111f0b9d7c07e2782a669ad0e6897be
4
- data.tar.gz: 691f2210f6b46f28d1c40e4d5ca41e61af46bf8b69922597b275596120922347
3
+ metadata.gz: 6f63015f7f02dd2c10b5a5fdb6e1ee6b39dbba2a76e72fd2dbffa60fa2a8361e
4
+ data.tar.gz: 72f5b4c8b8adfb43a52e9b10bc3786a103c8494bf05a2c16302cb3211c03a728
5
5
  SHA512:
6
- metadata.gz: 38dcde5ad224d6a8bcf9cd0b9d191dc75499a1a3ae848c80ec18d9b11dcb52a70531be23aa07199329deca0ccb48d9e6593bd01b5f779f4b4f95b37e1189e9ca
7
- data.tar.gz: 1229df0be487dd4dac09f6034db01cfd75d746653c1e3a0ec0bb6293aeef3988d0aaf140f68ba809adaebe7cd2322dcd992ae29b3e32676b0859871f8d0b0a9c
6
+ metadata.gz: 75d69ff2904e89e0983876bd5210c29a163a91d92262555910b8db803a4a9530a97487abf97841516f62319c2b175991dfe856f6a9218267442392796d0bf1ce
7
+ data.tar.gz: 3897781b6b686829406821477af5e5bc0ef8e48fa16ec73337020ab96f5ea534f21c1a88c25487847352ec396301f64a61bc3f28f6b5b192ba806886f10ebbac
@@ -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
+ ## [4.0.6]
7
+ - Update cli docs: generate, import, new, upload
8
+ - fix thor description override when command not found
9
+
6
10
  ## [4.0.5]
7
11
  - update lono cfn diff docs
8
12
 
@@ -5,7 +5,7 @@ module Lono
5
5
  New.cli_options.each do |args|
6
6
  option *args
7
7
  end
8
- register(New, "new", "new NAME", "generates new CLI project")
8
+ register(New, "new", "new NAME", "Generates new lono project.")
9
9
 
10
10
  desc "import SOURCE", "Imports CloudFormation template and lono-fies it."
11
11
  long_desc Help.text(:import)
@@ -48,14 +48,20 @@ module Lono
48
48
  def command_help(shell, command_name)
49
49
  meth = normalize_command_name(command_name)
50
50
  command = all_commands[meth]
51
+ alter_command_description(command)
52
+ super
53
+ end
54
+
55
+ def alter_command_description(command)
56
+ return unless command
51
57
  long_desc = if command.long_description
52
58
  "#{command.description}\n\n#{command.long_description}"
53
59
  else
54
60
  command.description
55
61
  end
56
62
  command.long_description = long_desc
57
- super
58
63
  end
64
+ private :alter_command_description
59
65
  end
60
66
  end
61
67
  end
@@ -1,4 +1,4 @@
1
- Generates CloudFormation template, parameter files, and scripts in lono project. Writes writes them to the `output` folder.
1
+ Generates CloudFormation template, parameter files, and scripts in lono project and writes them to the `output` folder.
2
2
 
3
3
  ## Examples
4
4
 
@@ -46,9 +46,9 @@ lono import https://s3.amazonaws.com/cloudformation-templates-us-east-1/EC2Insta
46
46
 
47
47
  The default is dasherize.
48
48
 
49
- Question: You might be wondering, why does lono import has dasherize vs underscore?
49
+ Question: You might be wondering, why does lono import uses dasherize vs underscore?
50
50
 
51
- Answer: I prefer filenames to be underscore. However, CloudFormation stack names do not allow underscores in their naming, so it is encourage to either dasherize or camelize your template names so the stack name and the template name can be the same.
51
+ Answer: I prefer filenames to be underscored. However, CloudFormation stack names do not allow underscores in their naming, so it is encourage to either dasherize or camelize your template names so the stack name and the template name can be the same.
52
52
 
53
53
  This blog post [Introducing the lono import Command](https://blog.boltops.com/2017/09/15/introducing-the-lono-import-command) also covers `lono import`.
54
54
 
@@ -4,7 +4,7 @@
4
4
  TEMPLATE=ec2 lono new infra # creates a single server
5
5
  TEMPLATE=autoscaling lono new infra
6
6
 
7
- List of the [starter templates[(https://github.com/tongueroo/lono/tree/master/lib/starter_projects).
7
+ By default, `lono new` generates a skeleton project. Use `TEMPLATE` to generate different starter projects. List of the [starter templates](https://github.com/tongueroo/lono/tree/master/lib/starter_projects).
8
8
 
9
9
  ## Example Output
10
10
 
@@ -1,5 +1,5 @@
1
1
  ## Example
2
2
 
3
- To generate a CloudFormation json parameter files in the params folder to the `output/params` folder.
3
+ To generate CloudFormation json parameter files in the params folder to `output/params`:
4
4
 
5
5
  lono param generate
@@ -1,7 +1,7 @@
1
1
  This command must be ran after `lono script build` since it relies the artifacts of that command. Namely:
2
2
 
3
3
  * output/scripts/scripts-md5sum.tgz
4
- * output/data/scripts_name.txt
4
+ * output/data/scripts_info.txt
5
5
 
6
6
  ## Examples
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "4.0.5"
2
+ VERSION = "4.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.5
4
+ version: 4.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-25 00:00:00.000000000 Z
11
+ date: 2018-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport