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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/lono/cli.rb +5 -4
- data/lib/lono/generate.rb +8 -4
- data/lib/lono/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 507b0d6d611b2714a82e390ff102fafd52ed68e702c6f1666731bb0c181caa3a
|
4
|
+
data.tar.gz: 78e9e59d93ded9c457a80de048e931c509ada33de89aa53cc36b7464339f074c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdb248c807e1f7013d396deaeb853be745aaa967e8aa62dd630cc95597673ec6649577de2320f160d86c455876cb409bac9cdc9fbac2e3656c6284788fd90a61
|
7
|
+
data.tar.gz: 868cd5a626513821036b28971cbf54ca7a57b9f391a0765a9d108bdff5c4313bcc347778d712c21e5238874829b9c652ab7497f95e2a97df1985f91f4b88baf0
|
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
|
+
## [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
|
data/lib/lono/cli.rb
CHANGED
@@ -39,10 +39,11 @@ module Lono
|
|
39
39
|
opts.stack
|
40
40
|
opts.template
|
41
41
|
def generate(blueprint)
|
42
|
-
o = options.merge(
|
43
|
-
|
44
|
-
|
45
|
-
|
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."
|
data/lib/lono/generate.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/lono/version.rb
CHANGED