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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 060b7af587a3c5cf93ccbd9c5f7431d987b3198c4fdd1477978f196107d80bce
4
- data.tar.gz: 67007f1e5c107869e8a40a125d25a578153ade317c93a8cec52b340ad7a1821b
3
+ metadata.gz: 4174a1ff12f805e84ba1b591670dae875d71bf5c64db1eedbe3fb68828d660a9
4
+ data.tar.gz: bf622dc807debfa1c6705585b200bf9db62d70fb0fd6e03b7948bc24ec332b7f
5
5
  SHA512:
6
- metadata.gz: '075091a4124f123f1d1fa7d98558c3b55c2fc83c0bbfe5c60b417d4f2d09f9334d2999ff4c3a2915f80f221edd17161fdc387a9b84b65eae9e0d84de35fd95c8'
7
- data.tar.gz: 11d2770339bcd8723984d837413b663016c04350dcca587479a616e1cb44a6c7f2df3868f44e713141fd8c032ba384f61b65749df3a17a6d9a7b52fe393856a3
6
+ metadata.gz: 94b6af96b63ac0e94a02ba51341a077225a89486f6f3150bfe3739f9bba578df33240b12a051acf47cf43eee7e279bbcdade90f15c84eeab6eaf3eccfb3c3329
7
+ data.tar.gz: 3e6ccd7c6678af23ae7e8f300f01923b49c509c43e0b6384fe17eb7336193a6c2fd50005d04d3167d8791c722f6f97126233ce0f451da2ce4d9a408032dcfdb5
@@ -0,0 +1 @@
1
+ github: boltops-tools
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## [8.0.0.rc6] - 2024-04-22
4
+
5
+ * allow require files in helpers folder that are not helpers
6
+ * join with single item list that uses get_att
7
+
3
8
  ## [8.0.0.rc5] - 2022-04-29
4
9
 
5
10
  * #76 fix plan: upload template to s3
data/README.md CHANGED
@@ -66,9 +66,9 @@ output("Instance")
66
66
  output("SecurityGroup", get_att("SecurityGroup.GroupId"))
67
67
  ```
68
68
 
69
- ### Lono Cfn Deploy
69
+ ### Lono Up
70
70
 
71
- Lono provides a `lono cfn` lifecycle command that allows you to launch stacks quickly. The `lono up` generates and launches the CloudFormation stack. If you are in a lono project and have a `demo` lono blueprint. To create a stack run:
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
 
@@ -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
- self.class.send :include, module_name.constantize
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
@@ -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 of full
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
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "8.0.0-rc5"
2
+ VERSION = "8.0.0-rc6"
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: 8.0.0.pre.rc5
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: 2022-04-29 00:00:00.000000000 Z
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.3.12
812
+ rubygems_version: 3.4.19
812
813
  signing_key:
813
814
  specification_version: 4
814
815
  summary: 'Lono: The CloudFormation Framework'