dpl-s3 1.10.1.travis.2957.6 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/dpl/provider/s3.rb +8 -1
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 842f5a0001a6cdcd175ebe7040ef6ee50b40781d97e8b8a4ac7aaa8c6f96227f
4
- data.tar.gz: e992928fd57c94055bfe5bd839107fc4339b50784e7acc4c9ca12ebe6b0c38af
2
+ SHA1:
3
+ metadata.gz: 749eefd1d2ca99976e87885a41126a7f9df968d7
4
+ data.tar.gz: b5a53df90793849e87d56875623e6921b913fb9e
5
5
  SHA512:
6
- metadata.gz: 2f6bba2aef3ce06a82ed18120c0adb6d98f5280e183393ecbbbf516fe6d28d9f1c568594fdb69e998c8ad2603a38344774136c12c2196b58deea314d39033aae
7
- data.tar.gz: 6f99a0cc60f2ff8b599d88d4686b4871c88c7978f7beea12a736296936fb7a85423e1ca916bd17856993b92eba43691b6cba3b8cb6dd20f14805fe8dd2c677bb
6
+ metadata.gz: '09b89dc3792a2110c1f99e598e21982bd51351332e3f634d91ce630b39754489b629c8fcd4b7f478822dbd9f25d716b041e9d66c4cd7513a26ece38352f5348b'
7
+ data.tar.gz: 33a9a579c7493acd2a1018d9790ee5228a91ac41e3c4529c764f46ad5f6660bedfa94551cfb1384754707f88487cfafec68b3e81d886d4340658f243304b56f5
@@ -23,6 +23,9 @@ module DPL
23
23
  @max_threads
24
24
  end
25
25
 
26
+ def check_app
27
+ end
28
+
26
29
  def needs_key?
27
30
  false
28
31
  end
@@ -36,10 +39,14 @@ module DPL
36
39
  end
37
40
 
38
41
  def s3_options
39
- {
42
+ defaults = {
40
43
  region: options[:region] || 'us-east-1',
41
44
  credentials: ::Aws::Credentials.new(access_key_id, secret_access_key)
42
45
  }
46
+
47
+ defaults[:endpoint] = options[:endpoint] if options[:endpoint]
48
+
49
+ defaults
43
50
  end
44
51
 
45
52
  def check_auth
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1.travis.2957.6
4
+ version: 1.10.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: 2018-09-13 00:00:00.000000000 Z
11
+ date: 2018-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dpl
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.10.1.travis.2957.6
19
+ version: 1.10.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.10.1.travis.2957.6
26
+ version: 1.10.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sdk
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -202,12 +202,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
202
202
  version: '2.2'
203
203
  required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  requirements:
205
- - - ">"
205
+ - - ">="
206
206
  - !ruby/object:Gem::Version
207
- version: 1.3.1
207
+ version: '0'
208
208
  requirements: []
209
209
  rubyforge_project:
210
- rubygems_version: 2.7.7
210
+ rubygems_version: 2.6.13
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: deploy tool