lono 5.2.6 → 5.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 791cd9f3677fc15e2d85616025cdb4b066dd11975223eeefc1b1b83fdd84effa
4
- data.tar.gz: cfe3a51372ca8d439e2d2ac2f0784c661a769cb31f48fb532013199b360233c0
3
+ metadata.gz: 679eb56acf55a83d2045dceb6b0f2cd417b62351471106afa7cf3a0cb51a6778
4
+ data.tar.gz: 8cae2c9410793825d4407f157bd7e3e54ac771df7121683cddfee99d9070356d
5
5
  SHA512:
6
- metadata.gz: f56825b676ac458975848e82282c8d33023a9e1819386203794c0b76e79b00d2b47e78844f4d528321fbca3296204a2cd208646e2a7647035235041aa415d9ef
7
- data.tar.gz: 401c33544d4b16abd72c091113d460494a07ea6cc515b4ac060bfee42246412dab23d560229fb759a3148f830336895e31d002cea092ebf4bcc7528abfa420db
6
+ metadata.gz: c160a5f8a52ed324bf86cdfa714e995742b3aa6e9f53cb66b6cb4c7153d673d412897defc7ef3fa8d481a7cd61b263c4842672b8f8bb5e1a7dea3c419b1faa7c
7
+ data.tar.gz: fd1af8181dcb753a5434bc64af5b44c3f56665d1d5700d2ae185c2e0be21bb01674f9052a3522dd96008b931c4eca3e0ccce28c3c9d1ddc4cc0f71a79411b20f
@@ -11,9 +11,10 @@ bundle install --without development test
11
11
  rm -rf infra
12
12
 
13
13
  lono new infra
14
- # Very simply template with just a security group
15
- cp .cody/demo.rb infra/blueprints/demo/app/templates/demo.rb
16
14
  cd infra
15
+ lono blueprint new demo
16
+ # Very simply template with just a security group
17
+ cp ../.cody/demo.rb blueprints/demo/app/templates/demo.rb
17
18
 
18
19
  # Rewrite the Gemfile to use the local lono gem for testing
19
20
  cat << EOF > Gemfile
@@ -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
+ ## [5.2.7]
7
+ - hide query string from template_url on display
8
+ - update skeleton starter files: Gemfile, starter message, simplify skeleton settings.yml
9
+
6
10
  ## [5.2.6]
7
11
  - reset current dir after lono blueprint new for lono code import command
8
12
 
@@ -271,6 +271,7 @@ class Lono::Cfn
271
271
  def show_parameters(params, meth=nil)
272
272
  params = params.clone.compact
273
273
  params[:template_body] = "Hidden due to size... View at: #{pretty_path(@template_path)}"
274
+ params[:template_url] = params[:template_url].sub(/\?.*/,'')
274
275
  to = meth || "AWS API"
275
276
  puts "Parameters passed to #{to}:"
276
277
  puts YAML.dump(params.deep_stringify_keys)
@@ -70,8 +70,7 @@ module Lono
70
70
  def welcome_message
71
71
  puts <<~EOL
72
72
  #{"="*64}
73
- Congrats 🎉 You have successfully created a lono project. A starter demo blueprint was created
74
- and is at blueprints/demo. Check things out by going into the created infra folder.
73
+ Congrats 🎉 You have successfully created a lono project. Check things out by going into the created infra folder.
75
74
 
76
75
  cd #{project_name}
77
76
 
@@ -83,7 +82,7 @@ module Lono
83
82
 
84
83
  lono cfn deploy my-demo --blueprint demo
85
84
 
86
- If you name the stack according to conventions, you can simply run:
85
+ If you name the stack according to conventions, you can run:
87
86
 
88
87
  lono cfn deploy demo
89
88
 
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "5.2.6"
2
+ VERSION = "5.2.7"
3
3
  end
@@ -1,4 +1,4 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "lono" # optional
4
- gem "lono-pro" # optional
3
+ gem "lono"
4
+ gem "lono-pro"
@@ -3,15 +3,11 @@
3
3
  # Yaml also directly supports merging with & and <<* syntax but doing it automatically
4
4
  # for a cleaner syntax.
5
5
  base:
6
- # http://lono.cloud/docs/app-scripts/
7
- # extract_scripts:
8
- # to: "/opt"
9
- # as: "ec2-user"
10
6
 
11
7
  development:
12
8
  # The aws_profile tightly binds LONO_ENV to AWS_PROFILE and vice-versa.
13
- # aws_profile: dev_profile
9
+ # aws_profile: dev
14
10
 
15
11
  production:
16
12
  # The aws_profile tightly binds LONO_ENV to AWS_PROFILE and vice-versa.
17
- # aws_profile: prod_profile
13
+ # aws_profile: prd
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: 5.2.6
4
+ version: 5.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen