dpl 1.8.33.travis.2031.5 → 1.8.33.travis.2043.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dpl/provider/heroku/generic.rb +4 -1
- data/spec/provider/heroku_api_spec.rb +1 -1
- data/spec/provider/heroku_git_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64dcad194e406a8e0b3f774f84d907802f286078
|
4
|
+
data.tar.gz: c37f071970e16bb74efb84fce8fb678c2bdeb023
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 995e3de5a3db67c1128220ba9bea6bd8e67fcdb73e21a241cb4b7ecb6607335db859e4f5b22f44108bf91492704689ce8bc7984e3cf6aac56ab3d7d7b54db1f0
|
7
|
+
data.tar.gz: 4390f727602c221af13bb2719f64d33155bf3bb046c8f3ee40fb9f058803b06e99b6e8470542faef59a50ff144004b2a9534a3525f5df999ffa565a899516d7c
|
@@ -14,7 +14,10 @@ module DPL
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def api_options
|
17
|
-
api_options = { headers: {
|
17
|
+
api_options = { headers: {
|
18
|
+
'User-Agent' => user_agent(::Heroku::API::HEADERS.fetch('User-Agent')),
|
19
|
+
"Accept" => "application/vnd.heroku+json; version=3",
|
20
|
+
} }
|
18
21
|
if options[:user] and options[:password]
|
19
22
|
api_options[:user] = options[:user]
|
20
23
|
api_options[:password] = options[:password]
|
@@ -8,7 +8,7 @@ describe DPL::Provider::Heroku do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
let(:expected_headers) do
|
11
|
-
{ "User-Agent" => "dpl/#{DPL::VERSION} heroku-rb/#{Heroku::API::VERSION}" }
|
11
|
+
{ "User-Agent" => "dpl/#{DPL::VERSION} heroku-rb/#{Heroku::API::VERSION}", "Accept" => "application/vnd.heroku+json; version=3" }
|
12
12
|
end
|
13
13
|
|
14
14
|
describe "#ssh" do
|
@@ -8,7 +8,7 @@ describe DPL::Provider::Heroku do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
let(:expected_headers) do
|
11
|
-
{ "User-Agent" => "dpl/#{DPL::VERSION} heroku-rb/#{Heroku::API::VERSION}" }
|
11
|
+
{ "User-Agent" => "dpl/#{DPL::VERSION} heroku-rb/#{Heroku::API::VERSION}", "Accept" => "application/vnd.heroku+json; version=3" }
|
12
12
|
end
|
13
13
|
|
14
14
|
describe "#api" 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.8.33.travis.
|
4
|
+
version: 1.8.33.travis.2043.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|