elastic-beanstalk 1.1.10 → 1.1.11

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
  SHA1:
3
- metadata.gz: 9af5e100333896f45ea530b796a24af589135b22
4
- data.tar.gz: c501056c8e75228e7a97c390ec458ea4943bd495
3
+ metadata.gz: d354c6756a2e698c5ca9e83c732a58715544ebef
4
+ data.tar.gz: ba0cd850520daa047c87e9b7cce7c93909718d83
5
5
  SHA512:
6
- metadata.gz: c6e7af0f54fb8b70dfc5ad306510a805b2e00c22541701ac28288362cc7f82d2db58a72ccfbc3314847ebfd37569d6c1d8024fa521cfadc42747e778d5837ecc
7
- data.tar.gz: e428d8ef7bbd13d6b243cc82aedacbedb9e80ecbf86dec090f533fb7e525302361b0320ea81f8759ac5c344038c00ff5701f2b1f3adbd29359a332bb4e0c5a26
6
+ metadata.gz: d165b0319d7b084bb924638c818850ef6497a4a3b71f244a1e58a8ec2624884133d4a8d88c31ade14f674a1baeea36e6ed5cd20a5bbc90a93c6ddc45b08b2a1d
7
+ data.tar.gz: 0289195957213234ebd3c3bda1a38a6d825f901f3e677012a544a88d7dbd27d57f38ce631ca5665f975dfd2a9cf91a240cd07c6c74a9bd5207280954749cf0ec
data/README.md CHANGED
@@ -151,6 +151,7 @@ strategy: inplace-update # default to inplace-update to avoid starting new envir
151
151
  keep_latest: 10
152
152
  package:
153
153
  verbose: true
154
+ includes: ['public/assets/.sprockets-manifest-*.json'] # ensure '.' manifest is added when using assets:precompile
154
155
  exclude_dirs: [features, spec, target, coverage, vcr, flows] # additional dirs that merge with default excludes
155
156
  exclude_files: [.ruby-*, rspec.xml, README*, db/*.sqlite3, bower.json]
156
157
  smoke_test: |
@@ -186,6 +187,7 @@ options:
186
187
  # Any environment variables - will be available in ENV
187
188
  aws:elasticbeanstalk:application:environment:
188
189
  FOO: 'bar'
190
+ RAILS_SKIP_ASSET_COMPILATION: true # Use if doing asset compilation before packaging (recommended)
189
191
 
190
192
  aws:autoscaling:launchconfiguration:
191
193
  EC2KeyName: eb-ssh
@@ -194,6 +196,10 @@ options:
194
196
  aws:autoscaling:asg:
195
197
  MinSize: 1
196
198
  MaxSize: 5
199
+ # Restrict to Reserved Instance zone: http://stackoverflow.com/a/33131364/2363935
200
+ 'Custom Availability Zones': us-east-1c
201
+ 'Availability Zones': Any 1
202
+
197
203
 
198
204
  aws:elb:loadbalancer:
199
205
  SSLCertificateId: 'arn:aws:iam::XXXXXXX:server-certificate/acme'
@@ -22,7 +22,7 @@ module Elastic
22
22
  # seed the sensible defaults here
23
23
  options = {
24
24
  symbolize: true,
25
- interpolation: false,
25
+ interpolation: true,
26
26
  default_configuration: {
27
27
  environment: nil,
28
28
  secrets_dir: '~/.aws',
@@ -1,5 +1,5 @@
1
1
  module Elastic
2
2
  module Beanstalk
3
- VERSION = '1.1.10'
3
+ VERSION = '1.1.11'
4
4
  end
5
5
  end
@@ -44,6 +44,18 @@ describe EbConfig do
44
44
  expect(EbConfig.environment).to be_nil
45
45
  end
46
46
 
47
+ it '#should read file with environment variable interpolation' do
48
+ EbConfig.clear
49
+ sleep 1
50
+ EbConfig.load!(nil, config_file_path)
51
+ assert_option 'TEST_VAR', ''
52
+
53
+ ENV['TEST_VAR'] = 'TEST_VALUE'
54
+ EbConfig.clear
55
+ EbConfig.load!(nil, config_file_path)
56
+ assert_option 'TEST_VAR', 'TEST_VALUE'
57
+ end
58
+
47
59
  it 'should read file and override with development environment' do
48
60
  EbConfig.clear
49
61
  EbConfig.load!(:development, config_file_path)
@@ -19,6 +19,7 @@ ebextensions:
19
19
  options:
20
20
  aws:elasticbeanstalk:application:environment:
21
21
  RAILS_ENV: foobar
22
+ TEST_VAR: #{TEST_VAR}
22
23
 
23
24
  aws:autoscaling:launchconfiguration:
24
25
  InstanceType: foo
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-beanstalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Ross
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-14 00:00:00.000000000 Z
11
+ date: 2016-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler