aws-ec2 0.8.1 → 0.8.2

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
  SHA256:
3
- metadata.gz: 7eed22f3840f438dbfab2212334abcd8e4337e850f234bd7392e42e95fd0c6e7
4
- data.tar.gz: 4d8cb388ffe2b1cbe1e5efdfd28e4d363443b8b4eba97b5f1843220310bbb439
3
+ metadata.gz: ae6578bd7591c95a0fe3032d9c5eed3fba38ef800b5bce483f4be03464c2093e
4
+ data.tar.gz: 65fbc6e5efdf6f344c13f74d1f99d189a7ce4949673c91fd50ee00646d6004b7
5
5
  SHA512:
6
- metadata.gz: bfb928c51a9c89ded35ab43752a188e99bb5bd1f6f0cd784a20f977a36e4e9e1c9e1134a2379f761d77420342c2b78746bc4b8c162d9946c9a98ad1017c6a811
7
- data.tar.gz: 2561e05ead626c13ca00b65f2760c7e34f8b63daafc02145c75e414d275c6d4706ac67f77f410e636a5593ba9a3f9d01f9e42af7e0097b11c1eb6f0cbae440bc
6
+ metadata.gz: c83628b20a775431b6059b161f491a5f2cc962381d3793881f161e8ccce3c0f3da28bef3c9e63067c74e738d8e8bbab5c133bc7933f61d81cdb69ded3f0270b1
7
+ data.tar.gz: 33dffcdb05cd2d88a9a4fe616b790f6047cb1fe792c3b0f634a74bb3bd313ab082939e8e989774f2a19ab20e892468b996c52b658799db84cc8833034ce45b8f
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
+ ## [0.8.2]
7
+ - add compile_keep option
8
+
6
9
  ## [0.8.1]
7
10
  - reorganize template helpers into core and update readme
8
11
 
data/README.md CHANGED
@@ -81,6 +81,8 @@ db_subnet_group_name: default
81
81
  security_group_ids:
82
82
  - sg-123
83
83
  scripts_s3_bucket: mybucket # enables s3 uploading of generated app/scripts
84
+ compile_keep: true # false by default. after aws-ec2 create command, the compiled
85
+ # scripts in tmp are removed by default.
84
86
  ```
85
87
 
86
88
  The variables are accessible via the `config` helper method. Example (only showing the part of the profile), `profiles/default.yml`:
@@ -11,7 +11,7 @@ class AwsEc2::Script
11
11
  def upload
12
12
  compiler.compile if @compile
13
13
  sync_scripts_to_s3
14
- compiler.clean if @compile and !ENV['AWS_EC2_KEEP']
14
+ compiler.clean if @compile and !AwsEc2.config["compile_keep"]
15
15
  end
16
16
 
17
17
  def sync_scripts_to_s3
@@ -1,3 +1,3 @@
1
1
  module AwsEc2
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen