lono 7.4.0 → 7.4.1

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: c0b9294948bbd81eea5198852bffe28c7682aaf9a73cba1273f9fa0b5f2fd7d7
4
- data.tar.gz: 948e6cb7dd9ee9ecf5ab02c85f37687339598535bb34deff83dbf02ddc511cf4
3
+ metadata.gz: 507b0d6d611b2714a82e390ff102fafd52ed68e702c6f1666731bb0c181caa3a
4
+ data.tar.gz: 78e9e59d93ded9c457a80de048e931c509ada33de89aa53cc36b7464339f074c
5
5
  SHA512:
6
- metadata.gz: 7d14a3286bf4b0aba8e2a7c1129abc222b4379dd4c5f3214bcb906c08a0e078ad4455bdd68fcf7e1f774a382dd19e7e0704dacbaf0236517b5c1dce23927af38
7
- data.tar.gz: f3a65caf45ca739360cae97be4f16e5eb45c18030eb537e1cbdccbfefa5484e52368ba656c057b75818e1e26bbdb093f173d72ffbab48d4d317f1b4e5dbfe594
6
+ metadata.gz: fdb248c807e1f7013d396deaeb853be745aaa967e8aa62dd630cc95597673ec6649577de2320f160d86c455876cb409bac9cdc9fbac2e3656c6284788fd90a61
7
+ data.tar.gz: 868cd5a626513821036b28971cbf54ca7a57b9f391a0765a9d108bdff5c4313bcc347778d712c21e5238874829b9c652ab7497f95e2a97df1985f91f4b88baf0
@@ -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
+ ## [7.4.1]
7
+ - lono generate fix: generate with configsets
8
+
6
9
  ## [7.4.0]
7
10
  - #57 Big improvements generally and configsets
8
11
  - #58 Docs: Configsets and new DSL Helpers
@@ -39,10 +39,11 @@ module Lono
39
39
  opts.stack
40
40
  opts.template
41
41
  def generate(blueprint)
42
- o = options.merge(blueprint: blueprint)
43
- Script::Build.new(o).run
44
- Template::Generator.new(o).run
45
- Param::Generator.new(o).generate
42
+ o = options.merge(
43
+ blueprint: blueprint,
44
+ generate_only: true,
45
+ )
46
+ Lono::Generate.new(o).all
46
47
  end
47
48
 
48
49
  desc "user_data NAME", "Generates user_data script for debugging."
@@ -5,11 +5,11 @@ module Lono
5
5
  def all
6
6
  return @@parameters if @@parameters
7
7
 
8
- ensure_s3_bucket_exist
8
+ ensure_s3_bucket_exist unless @options[:generate_only]
9
9
  pre_generate
10
10
  generate_templates # generates with some placeholders for build_files IE: file://app/files/my.rb
11
11
  post_generate
12
- upload_templates
12
+ upload unless @options[:generate_only]
13
13
 
14
14
  @@parameters = param_generator.generate # Writes the json file in CamelCase keys format
15
15
  check_for_errors
@@ -26,8 +26,6 @@ module Lono
26
26
 
27
27
  build_files # builds app/files to output/BLUEPRINT/files
28
28
  post_process_template
29
- upload_files
30
- upload_scripts
31
29
  end
32
30
 
33
31
  def param_generator
@@ -70,6 +68,12 @@ module Lono
70
68
  Lono::Template::PostProcessor.new(@options).run
71
69
  end
72
70
 
71
+ def upload
72
+ upload_files
73
+ upload_scripts
74
+ upload_templates
75
+ end
76
+
73
77
  def upload_templates
74
78
  Lono::Template::Upload.new(@options).run
75
79
  end
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "7.4.0"
2
+ VERSION = "7.4.1"
3
3
  end
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: 7.4.0
4
+ version: 7.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen