dpl-deis 1.10.1.travis.2947.6 → 1.10.1.travis.2956.6

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/deis.rb +2 -13
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9467d4531f7986daf082967ed92c0322b2e4d1710b168ef24e4d8517f2769b1
4
- data.tar.gz: f73419f13323a5640a6b8487ae078854658e70a6d3271ef538c09371ba5badbc
3
+ metadata.gz: bb2d93a685ea610aefbe5e21fcac6d75ad939ed1a4f55f060d68c554e221d800
4
+ data.tar.gz: 09280086a83fc2d8f728f8cb133190aadbba5a4b48746d77bd7c9d401cad3317
5
5
  SHA512:
6
- metadata.gz: a74f42607c71cf3f9729827e3f6d1a694fc4c9e38ec3661e8456627473933fe430e86f9d275ddf4f02fa071f4e97f2a94e8eb41e7b018415dee5124e389878ce
7
- data.tar.gz: 02000349295387ca355a91e1bbba7960fa96b0f43b45791084fbeb8633c6d6c1105a7276bb798bfe2266d63db9cd720d06f96b647cfa2f0e7088557bb445546e
6
+ metadata.gz: 05c1fdb5c84d2d1c6240377d1195efdd446f92c08e2c11e60554c0adbc862d7714fe2cdc22628a19f3bf752e392a79c1ede0a603cc79d280c5390aaf6f8a79fa
7
+ data.tar.gz: b3b71b7fd6acde78379d488e938924d1e134d9513a1d676a69e07ce64e893b96022ee30674b5adfb374f61df05b23fef2c1e3bbee48e75fdeb7de5b3fbe72360
@@ -3,22 +3,11 @@ module DPL
3
3
  class Deis < Provider
4
4
 
5
5
  def install_deploy_dependencies
6
- install_url = determine_install_url
7
6
  context.shell "curl -sSL #{install_url} | bash -x -s #{option(:cli_version)}"
8
7
  end
9
8
 
10
- #Default to installing the default v1 client. Otherwise determine if this is a v2 client
11
- def determine_install_url
12
- if option(:cli_version).nil?
13
- return "https://raw.githubusercontent.com/teamhephy/workflow-cli/master/install-v2.sh"
14
- else
15
- version_arg = Gem::Version.new(option(:cli_version).gsub(/^v?V?/,''))
16
- if version_arg >= Gem::Version.new('2.0.0')
17
- return "https://raw.githubusercontent.com/teamhephy/workflow-cli/master/install-v2.sh"
18
- else
19
- return "https://raw.githubusercontent.com/teamhephy/workflow-cli/master/install-v2.sh"
20
- end
21
- end
9
+ def install_url
10
+ return "https://raw.githubusercontent.com/teamhephy/workflow-cli/master/install-v2.sh"
22
11
  end
23
12
 
24
13
  def needs_key?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl-deis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1.travis.2947.6
4
+ version: 1.10.1.travis.2956.6
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-08-28 00:00:00.000000000 Z
11
+ date: 2018-09-13 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.1.travis.2947.6
19
+ version: 1.10.1.travis.2956.6
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.1.travis.2947.6
26
+ version: 1.10.1.travis.2956.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement