dpl-atlas 1.10.6.travis.3118.5 → 1.10.6.travis.3119.5

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 +4 -4
  2. data/lib/dpl/provider/atlas.rb +5 -10
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a73eea1ee2fc5bc446b5efdec199794bacd748b49c55c7b234f5755d288dabf
4
- data.tar.gz: f3b7f8ed456dd318dc70fde720c3731a75d1c0b630ec63c9e278c02ef9f0705d
3
+ metadata.gz: 1862f59f995690c0b3acbe39a83426970b3317538f5f52d84513201508e39b09
4
+ data.tar.gz: 9aa904c291ae1f5bb19105b6711ccb439769b5bac2ceae47923252f44a7b1e04
5
5
  SHA512:
6
- metadata.gz: 89f2afcd4ed01098814de6784747f742b3f2a16c06d5e60c40ed02eadbf3ae75b530c16be661ebbe32c5635402534f188cb51dd9e256d77f9e61db7186a361a2
7
- data.tar.gz: 9037ecec63fb3e68d61b9e40cf73c5b39393fa995756b1de4befa08c85aebc09227450744f50557d3f474df14d8c414d0a24f128f3339e9ce3224f7b155f479b
6
+ metadata.gz: 5b73c63bb168423a84cad2f0514eac69a8481b800db1ca8a3506407eb5c72f3e12280222216d3a896812dd68e9c860a61c21ff34f426af60cf1fe548fb1620e9
7
+ data.tar.gz: ef8f2c24a230339a8969ebe6bccb90dbd8d427eeae159c2ced714fb2e41aee2cc9c15252215148ee27098a3096f7c61415a2441f053c7eb2ae525dc7da4bd312
@@ -30,6 +30,10 @@ module DPL
30
30
 
31
31
  experimental 'Atlas'
32
32
 
33
+ def self.new(context, options)
34
+ super(context, options.merge!({needs_git_http_user_agent: false}))
35
+ end
36
+
33
37
  def deploy
34
38
  assert_app_present!
35
39
  install_atlas_upload
@@ -60,9 +64,7 @@ module DPL
60
64
  private
61
65
 
62
66
  def install_atlas_upload
63
- without_git_http_user_agent do
64
- context.shell ATLAS_UPLOAD_INSTALL_SCRIPT
65
- end
67
+ context.shell ATLAS_UPLOAD_INSTALL_SCRIPT
66
68
  end
67
69
 
68
70
  def assert_app_present!
@@ -96,13 +98,6 @@ module DPL
96
98
  def atlas_app
97
99
  @atlas_app ||= options.fetch(:app).to_s
98
100
  end
99
-
100
- def without_git_http_user_agent(&block)
101
- git_http_user_agent = ENV.delete("GIT_HTTP_USER_AGENT")
102
- yield
103
- ENV["GIT_HTTP_USER_AGENT"] = git_http_user_agent
104
- end
105
-
106
101
  end
107
102
  end
108
103
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl-atlas
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.6.travis.3118.5
4
+ version: 1.10.6.travis.3119.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: 2018-11-16 00:00:00.000000000 Z
11
+ date: 2018-11-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.6.travis.3118.5
19
+ version: 1.10.6.travis.3119.5
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.6.travis.3118.5
26
+ version: 1.10.6.travis.3119.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement