lono 3.1.2 → 3.1.3

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
  SHA1:
3
- metadata.gz: e445627e2c6b9a69d5e13757ae29b8aca193c24d
4
- data.tar.gz: 041cab4719d07cfc12dccc2abd0dbf2c60dd1e29
3
+ metadata.gz: 9676395a3c8e7bca5d65e687de6b5b696cf6f592
4
+ data.tar.gz: c07ef7778f3fa56c64c0ac1245c7ca752ccdd436
5
5
  SHA512:
6
- metadata.gz: 5e488c0cc40fb927f028f876851ef10300ada4660d90f16f38737ca951499fa44be883e8d9eeb21a68013badda1c94f1946bcae74f9ee5452da43934bba0afb9
7
- data.tar.gz: ae5a8c182ea3b47ae30b5ecf6da82f24b174f77868fa13cd61fa388f82076f7470aba031cf3fdb3126878ecfea48f0f798a5d8db3fc7402ee6da08c65365f13c
6
+ metadata.gz: cbcd2b38a457165cd0bb324f85320233f14aa138cbf1903c0e7e653a8875ddfbb26cdfa5465e1e70f7cca597551436c4dc2cec3191e21e97ff1ffde0afb5e954
7
+ data.tar.gz: 5908edf59c81935a75f72b9426c0b3175810e1e1d3527d7e05a3ec6693344db19e534e7983accb6248f2bb60de5069c8e6ff5928e140b96ccd8c5dd0914b5a9d
@@ -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
+ ## [3.1.3]
7
+ - fix randomize stack name option
8
+
6
9
  ## [3.1.2]
7
10
  - lono import: casing option: camelcase or dasherize
8
11
 
@@ -198,7 +198,7 @@ class Lono::Cfn::Base
198
198
  # Strip the random string at end of the template name
199
199
  def derandomize(template_name)
200
200
  if randomize_stack_name?
201
- template_name.sub(/-(\w{3})/,'') # strip the random part
201
+ template_name.sub(/-(\w{3})$/,'') # strip the random part at the end
202
202
  else
203
203
  template_name
204
204
  end
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "3.1.2"
2
+ VERSION = "3.1.3"
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: 3.1.2
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-16 00:00:00.000000000 Z
11
+ date: 2017-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json