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.
@@ -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
|
-
|
39
|
-
s3_endpoint: URI.parse(
|
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:
|
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.
|
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-
|
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.
|
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.
|
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
|
-
|
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:
|
173
|
+
hash: 3808702433851088541
|
174
174
|
requirements: []
|
175
175
|
rubyforge_project:
|
176
176
|
rubygems_version: 1.8.23
|