lono 5.2.0 → 5.2.1

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: d79eafbad66de9522347e12c16fa2909ea03994986141858fee5e80e070bb7d5
4
- data.tar.gz: be34b26768651c90b7a4435839d2850ba03473dae6c7a1bdb8a2eecd4158954f
3
+ metadata.gz: 2f38b76347ca66c212d22dfffa4615d1c82235ef49f6690fa1fa1be8eee96776
4
+ data.tar.gz: a2df9b01146f480c48df6f5925f87e46ac21f921c189bccef5f18123e59c5487
5
5
  SHA512:
6
- metadata.gz: ce9534510931f8b2cf8ca93d8cd803b862ba8910f573efe373f2c0fed043a3fe1e11316351b23d664d75e8c90f42942abf4adb904a71bbf72b6e43f8d89b9ed0
7
- data.tar.gz: e94c2080921f2dc4211fb14d7f35f9c30189fbd0a2310b7b5a8fc925cd0d1f4934dfc669787d0462e27acd15a8ec46e28b355a86b5a269da128f1660ba5e9c46
6
+ metadata.gz: f13991588251c3830091468072ecbe9e9b4a3bbe098795d79a03eb7f8e5947abd0eeea07952620d5b328d78a2d7e1600bac413c5e2a925675ee09f05e6b4bccc
7
+ data.tar.gz: 6d9fa9bb7d7c5eb445daf921918df85008385c9df4cebf48818c809efddcd22b85c54968b5cb9102c2fd7927abd86737b9cdef47833291929cc81634d9abb0da
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
+ ## [5.2.1]
7
+ - improve param lookup
8
+
6
9
  ## [5.2.0]
7
10
  - #5 lono seed command: Lono::Seed::Configs class interface
8
11
  - add lono cfn cancel command
@@ -40,7 +40,8 @@ class Lono::Param
40
40
  return long_form if File.exist?(long_form) # always consider this first because its so explicit
41
41
 
42
42
  # All 3 are the same
43
- if @blueprint == @template && @template == @param
43
+ # Also, blueprint and template the same and explicitly specified param
44
+ if @blueprint == @template
44
45
  return medium_form if File.exist?(medium_form) # higher precedence between longer but short form should be encouraged
45
46
  return short_form if File.exist?(short_form)
46
47
  return # cannot find a param file
data/lib/lono/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "5.2.0"
2
+ VERSION = "5.2.1"
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: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-16 00:00:00.000000000 Z
11
+ date: 2019-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport