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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcbd5782d3fecb5067f98cfbbef33d324e0750b719c6c6f0d3bb1f9c147afe86
4
- data.tar.gz: ce6d3ff1d0c8b5659a4b01f65e4a4c533f193ef47e2180efa185f01648eee5f9
3
+ metadata.gz: 146c0ab939081b40292f52bf762c1438ff140874eeefaad6eb598db8c6cd92b2
4
+ data.tar.gz: 80af069936676ba050e7becd9e9baba059f3c42292a824619ccfdace24ec5dcf
5
5
  SHA512:
6
- metadata.gz: edcabe704d254f1f992a4cdd72791f709231bae9b457fa0451fea88e69dc10062165c923b505385106c236783301de25f6efe211411547f0670d55497fbd9759
7
- data.tar.gz: 69669cacb4c600c4e235d82566db7d40ab05ce2fef0201b66aca04718e93a211935f93829e2ab1b595fd790bfbdd2ed8a4a1d190d96312ad7e3f55a8f25e3a5c
6
+ metadata.gz: dae187e53c12c56d41c1faa17dc606b6a379ce1e700473158fef4215bd54607f450d890d31b268abbf3d6ce227af64df1eb03b72229e602228b55a75707967ad
7
+ data.tar.gz: cf57dbd4e847fd14f2af96856a405d4529261584d2b206dc91ada3e41f7eabd0ecb8b828561661f1437c7c81d4cf5b4b7f7bb9b3b82aa5b671120dda7fb7a1e8
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.2]
7
+ - note lono-pro addon commands
8
+
6
9
  ## [0.4.1]
7
10
  - organize code help files
8
11
 
@@ -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
- IO.read(path) if File.exist?(path)
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
@@ -1,5 +1,5 @@
1
1
  module Lono
2
2
  module Pro
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
5
5
  end
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.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen