lono 8.0.0.pre.rc5 → 8.0.0.pre.rc6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +1 -0
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/lib/lono/builder/dsl/syntax/fn.rb +6 -0
- data/lib/lono/ext/core/object.rb +3 -1
- data/lib/lono/layering/layer.rb +1 -2
- data/lib/lono/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4174a1ff12f805e84ba1b591670dae875d71bf5c64db1eedbe3fb68828d660a9
|
4
|
+
data.tar.gz: bf622dc807debfa1c6705585b200bf9db62d70fb0fd6e03b7948bc24ec332b7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94b6af96b63ac0e94a02ba51341a077225a89486f6f3150bfe3739f9bba578df33240b12a051acf47cf43eee7e279bbcdade90f15c84eeab6eaf3eccfb3c3329
|
7
|
+
data.tar.gz: 3e6ccd7c6678af23ae7e8f300f01923b49c509c43e0b6384fe17eb7336193a6c2fd50005d04d3167d8791c722f6f97126233ce0f451da2ce4d9a408032dcfdb5
|
data/.github/FUNDING.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
github: boltops-tools
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -66,9 +66,9 @@ output("Instance")
|
|
66
66
|
output("SecurityGroup", get_att("SecurityGroup.GroupId"))
|
67
67
|
```
|
68
68
|
|
69
|
-
### Lono
|
69
|
+
### Lono Up
|
70
70
|
|
71
|
-
|
71
|
+
The `lono up` command deploys the CloudFormation stack.
|
72
72
|
|
73
73
|
$ lono up demo
|
74
74
|
|
@@ -108,6 +108,12 @@ module Lono::Builder::Dsl::Syntax
|
|
108
108
|
|
109
109
|
def join(delimiter, *list)
|
110
110
|
list = list.flatten
|
111
|
+
if list.size == 1 # IE: join(",", get_att("Vpc.Ipv6CidrBlocks"))
|
112
|
+
first = list.first
|
113
|
+
if first.is_a?(Hash) && first.keys.first == "Fn::GetAtt"
|
114
|
+
list = first
|
115
|
+
end
|
116
|
+
end
|
111
117
|
{ "Fn::Join" => [delimiter, list] }
|
112
118
|
end
|
113
119
|
|
data/lib/lono/ext/core/object.rb
CHANGED
@@ -26,7 +26,9 @@ class Object
|
|
26
26
|
# path: app/blueprints/demo/helpers/outputs.rb
|
27
27
|
# module_name: Outputs
|
28
28
|
require path
|
29
|
-
|
29
|
+
if path.include?("_helper.rb")
|
30
|
+
self.class.send :include, module_name.constantize
|
31
|
+
end
|
30
32
|
end
|
31
33
|
end
|
32
34
|
end
|
data/lib/lono/layering/layer.rb
CHANGED
@@ -77,7 +77,7 @@ module Lono::Layering
|
|
77
77
|
# Interface method: layers = pre_layers + main_layers + post_layers
|
78
78
|
# Simple layering is default. Can set with:
|
79
79
|
#
|
80
|
-
# config.layering.mode = "simple" # simple
|
80
|
+
# config.layering.mode = "simple" # simple or full
|
81
81
|
#
|
82
82
|
def main_layers
|
83
83
|
if Lono.config.layering.mode == "simple"
|
@@ -120,7 +120,6 @@ module Lono::Layering
|
|
120
120
|
logger.info " #{pretty_path(path)}" if File.exist?(path)
|
121
121
|
end
|
122
122
|
end
|
123
|
-
logger.debug ""
|
124
123
|
@@shown_layers[@type] = true
|
125
124
|
end
|
126
125
|
|
data/lib/lono/version.rb
CHANGED
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: 8.0.0.pre.
|
4
|
+
version: 8.0.0.pre.rc6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -487,6 +487,7 @@ files:
|
|
487
487
|
- ".cody/acceptance/role.rb"
|
488
488
|
- ".cody/shared/script/install.sh"
|
489
489
|
- ".cody/shared/script/install/lono.sh"
|
490
|
+
- ".github/FUNDING.yml"
|
490
491
|
- ".github/ISSUE_TEMPLATE.md"
|
491
492
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
492
493
|
- ".github/ISSUE_TEMPLATE/documentation.md"
|
@@ -808,7 +809,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
808
809
|
- !ruby/object:Gem::Version
|
809
810
|
version: 1.3.1
|
810
811
|
requirements: []
|
811
|
-
rubygems_version: 3.
|
812
|
+
rubygems_version: 3.4.19
|
812
813
|
signing_key:
|
813
814
|
specification_version: 4
|
814
815
|
summary: 'Lono: The CloudFormation Framework'
|