dpl 1.7.1.travis.561.1 → 1.7.1.travis.567.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGRlZTFjZjlkNzU2MmMzMTY2NmRmNjRjYzU5ODY0ZjEwOGE4OTRhMw==
4
+ MjI3MjY0MzBjNmQzZjNlYjAxOGRkYmM3NzY5ZWQ0OWUyNzZkZjAyZA==
5
5
  data.tar.gz: !binary |-
6
- NTNhNWZjYmM3MTIzODljNzlhNDljMjZjMzc0MWNiMDA4ZjQ2MjQ4Mw==
6
+ YjNjNWY5Y2Y3ZmM1NTViYjhhNGUzMjMzY2IwNmQzY2MzZDhlZTk4MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWE5ZmQzYmE0YmI2NTJlYWIzM2QwNTZiYzZkNTBkZTY0OWMxMGJkZmEzZWY5
10
- N2U0NGU0ZmM4NDVmODM2NTQyZjQyMTViOTAzNmJjNWYxMGNjMWZmMmI1MmQx
11
- N2FiOWIxZTdkNmQ1ZmM5NTJjNjExZjAwNDVlNWRhYmZiMzFkYjU=
9
+ YmQ1ZDFiNWQ0OWI2MWJjOGRiOTM3MmNkNTA4NTIxNWQ5NmM1MWMwYTQ4OTMy
10
+ M2IyNjFmNTdhOGU1YWY4ZmUyMmJkMDlmNGNiYjJhYjJmOWM3M2I4MzNkN2Ex
11
+ Mjk2YjUzNzgzZDI3MTY3ZTFiMzY4OWIxNTdiMGY0YzZhY2I4ZGY=
12
12
  data.tar.gz: !binary |-
13
- MDFjMDIzOGNhN2E4NzczY2Q3ZmYxMThiYjMxYjQ2NzgyODQ5NzRhYWZmNGM0
14
- MWYxMDE5NzZjNDNjZjkzYjY4MjlmMTZkOGFiNTczNzZmMTk1OTdkYzM2YWJl
15
- MmFhMjAxMDA0ZWI1ZjQ0YWUwZTkyZjAyZjEyNTRiZjVkZDcxM2M=
13
+ ZmI1MDFjYjczMjEyOTczYzZhNDdhN2EyZDk0MzcwNjYyNzQ2Y2RmMjkwZGYw
14
+ ODhiNWMwNTFmYjFlNDhlMWM3ZjI5NmNhNTg4ODdmMTc2M2Q2M2Y4NTdjZmE1
15
+ ODkxNTc0MDA2NDdkMjMzMzU5MTMzYWE5OTA5ZGFlM2MwMGY2Nzk=
data/README.md CHANGED
@@ -371,6 +371,7 @@ For accounts using two factor authentication, you have to use an oauth token as
371
371
  * **region**: AWS Region the Elastic Beanstalk app is running in. Defaults to 'us-east-1'. Please be aware that this must match the region of the elastic beanstalk app.
372
372
  * **app**: Elastic Beanstalk application name.
373
373
  * **env**: Elastic Beanstalk environment name which will be updated.
374
+ * **bucket_name**: Bucket name to upload app to. Optional, and defaults to `travis-elasticbeanstalk-builds-REGION` (where `REGION` is the `region` value set above).
374
375
 
375
376
  #### Examples:
376
377
 
@@ -388,4 +389,4 @@ For accounts using two factor authentication, you have to use an oauth token as
388
389
 
389
390
  dpl --access-token=<access-token> --site-id=3f932c1e-708b-4573-938a-a07d9728c22e
390
391
  dpl --access-token=<access-token> --site-id=3f932c1e-708b-4573-938a-a07d9728c22e --local-dir=build
391
-
392
+
@@ -51,7 +51,7 @@ module DPL
51
51
  end
52
52
 
53
53
  def bucket_name
54
- "travis-elasticbeanstalk-builds-#{region}"
54
+ option(:bucket_name) || "travis-elasticbeanstalk-builds-#{region}"
55
55
  end
56
56
 
57
57
  def s3
@@ -14,9 +14,13 @@ describe DPL::Provider::ElasticBeanstalk do
14
14
  let(:region) { 'us-west-2' }
15
15
  let(:app) { 'example-app' }
16
16
  let(:env) { 'live' }
17
+ let(:bucket_name) { "travis-elasticbeanstalk-builds-#{region}" }
17
18
 
18
19
  subject :provider do
19
- described_class.new(DummyContext.new, :access_key_id => access_key_id, :secret_access_key => secret_access_key, :region => region, :app => app, :env => env)
20
+ described_class.new(
21
+ DummyContext.new, :access_key_id => access_key_id, :secret_access_key => secret_access_key,
22
+ :region => region, :app => app, :env => env, :bucket_name => bucket_name
23
+ )
20
24
  end
21
25
 
22
26
  describe "#check_auth" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1.travis.561.1
4
+ version: 1.7.1.travis.567.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-02 00:00:00.000000000 Z
11
+ date: 2014-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: 1.3.1
182
182
  requirements: []
183
183
  rubyforge_project:
184
- rubygems_version: 2.4.1
184
+ rubygems_version: 2.4.2
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: deploy tool