blobstore_client 1.1868.0 → 1.1975.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module Bosh
14
14
 
15
15
  if @options[:ssl_no_verify]
16
16
  @client.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_NONE
17
+ @client.ssl_config.verify_callback = proc {}
17
18
  end
18
19
 
19
20
  @endpoint = @options[:endpoint]
@@ -1,5 +1,3 @@
1
- # Copyright (c) 2009-2012 VMware, Inc.
2
-
3
1
  require 'openssl'
4
2
  require 'digest/sha1'
5
3
  require 'base64'
@@ -34,9 +32,10 @@ module Bosh
34
32
  aws_options = {
35
33
  access_key_id: @options[:access_key_id],
36
34
  secret_access_key: @options[:secret_access_key],
37
- use_ssl: true,
38
- port: 443,
39
- s3_endpoint: URI.parse(@options[:endpoint] || S3BlobstoreClient::ENDPOINT).host,
35
+ use_ssl: @options.fetch(:use_ssl, true),
36
+ s3_port: @options.fetch(:port, 443),
37
+ s3_endpoint: @options.fetch(:host, URI.parse(S3BlobstoreClient::ENDPOINT).host),
38
+ s3_force_path_style: true,
40
39
  }
41
40
 
42
41
  # using S3 without credentials is a special case:
@@ -1,7 +1,7 @@
1
1
  module Bosh
2
2
  module Blobstore
3
3
  class Client
4
- VERSION = '1.1868.0'
4
+ VERSION = '1.1975.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blobstore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1868.0
4
+ version: 1.1975.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-29 00:00:00.000000000 Z
12
+ date: 2014-02-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: 1.1868.0
101
+ version: 1.1975.0
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: 1.1868.0
109
+ version: 1.1975.0
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: rspec
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -125,7 +125,7 @@ dependencies:
125
125
  version: '0'
126
126
  description: ! 'BOSH blobstore client
127
127
 
128
- f69423'
128
+ 9c66c4'
129
129
  email: support@cloudfoundry.com
130
130
  executables:
131
131
  - blobstore_client_console
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  segments:
172
172
  - 0
173
- hash: 1015532411782772163
173
+ hash: 3808702433851088541
174
174
  requirements: []
175
175
  rubyforge_project:
176
176
  rubygems_version: 1.8.23