dpl 1.5.8.travis.326.1 → 1.5.8.travis.328.1
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 +8 -8
- data/README.md +1 -0
- data/lib/dpl/provider/s3.rb +1 -1
- data/spec/provider/s3_spec.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZDZjYTkwMzBmMzFlODQ2ZjIyYjIxOTdkOGE1YjBjMzdmMWI1YTI0Yw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NTk0OWVlNzJmYjE2N2E5OGVmZTQxYjcxNGRhM2VmZWVjNWRiOTljOQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YTEwNmYyYzY4OTEwNTc5NmMxNGFjNTIzMWZkNjVkZGE4YzQ0ZDM0ZDQwNWJh
|
|
10
|
+
MzgxNTIwYTcyNDg0N2U0ODcxYzVmZDc2ODk5MTYxZjA1ZmFkNzBlNjE4NjJh
|
|
11
|
+
NWVmNzZlYWQ3MWRmNTU3ZmEzYjdiNmFiNzdjNmRhZGRhMmY3YTE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZGI0NWRjNzk0MjQ1OWU5MzkwZTA4OGJmM2E3MWE4YTE1MzdhZGNlNzUxNzZk
|
|
14
|
+
N2EyYjk4OWEyNmQ4ZjQ0OGE4YjdlMTg0MGQzNzhkNjI3MTg5YzUxYmI0Nzg4
|
|
15
|
+
MjNhYjBjNWU5YTAwMDRiN2FlOWIyMzBjMzdmZTliNTE0MTI0ODU=
|
data/README.md
CHANGED
|
@@ -172,6 +172,7 @@ As a rule of thumb, you should switch to the Git strategy if you run into issues
|
|
|
172
172
|
* **secret-access-key**: AWS Secret Key. Can be obtained from [here](https://console.aws.amazon.com/iam/home?#security_credential).
|
|
173
173
|
* **bucket**: S3 Bucket.
|
|
174
174
|
* **region**: S3 Region. Defaults to us-east-1.
|
|
175
|
+
* **endpoint**: S3 Endpoint. Defaults to s3.amazonaws.com.
|
|
175
176
|
* **upload-dir**: S3 directory to upload to. Defaults to root directory.
|
|
176
177
|
* **local-dir**: Local directory to upload from. Can be set from a global perspective (~/travis/build) or relative perspective (build) Defaults to project root.
|
|
177
178
|
|
data/lib/dpl/provider/s3.rb
CHANGED
data/spec/provider/s3_spec.rb
CHANGED
|
@@ -75,8 +75,13 @@ describe :needs_key? do
|
|
|
75
75
|
end
|
|
76
76
|
|
|
77
77
|
describe :api do
|
|
78
|
-
example do
|
|
79
|
-
AWS::S3.should_receive(:new)
|
|
78
|
+
example "Without Endpoint" do
|
|
79
|
+
AWS::S3.should_receive(:new).with(:endpoint => 's3.amazonaws.com')
|
|
80
|
+
provider.api
|
|
81
|
+
end
|
|
82
|
+
example "With Endpoint" do
|
|
83
|
+
provider.options.update(:endpoint => 's3test.com.s3-website-us-west-2.amazonaws.com')
|
|
84
|
+
AWS::S3.should_receive(:new).with(:endpoint => 's3test.com.s3-website-us-west-2.amazonaws.com')
|
|
80
85
|
provider.api
|
|
81
86
|
end
|
|
82
87
|
end
|
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.5.8.travis.
|
|
4
|
+
version: 1.5.8.travis.328.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-01-
|
|
11
|
+
date: 2014-01-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|