dpl-hephy 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/hephy.rb +2 -13
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c9f72ceeef7da955b5d864682ecd60c02cd0ae4af0bd70672007d52568850a4
4
- data.tar.gz: 00d286ffed98b6b976cf12907626a8a99d6024bdc5304692e92bb6289e58f62d
3
+ metadata.gz: f9acca0c6f6c1c49de43fec8b4c18fc194eb506d3a696fcaf2af7cd13ef3738f
4
+ data.tar.gz: 1e3ab961f0473cf5f838d1fa1d67c4ea30b6eae961001adaf7760c4ccd3111e5
5
5
  SHA512:
6
- metadata.gz: fad2d2a5dcafc4980b1628416ea0ded67bdb7faee47e476f5c45a7796e72a788c1973ffceea58c9faaf2791b1f2688ae625adb41859c392f263abce6a9939d99
7
- data.tar.gz: 4046e86547f46288969d35b8e551e75f83ce95ef791381e5bab468b0aac77cb44432704f5caa503ace72a2a88a5652784c82d145b35cbe0e1f266d41f5979297
6
+ metadata.gz: 4d4ea074f18afcf03fe9b8744019455316357590c48b56b90dddf56b43e22191d7e87c5c6f6b0809a994651a128ad5780075167cdf2cf3629e7e76ea4e090dc3
7
+ data.tar.gz: 8de4743c45da87244957a728e57fc1806f667df63fccdc9eb17da3290eae14c30d59513747ff95df1357a9704e9657a70b375529746a38a7b4fb3ceac7d4ac1d
@@ -3,22 +3,11 @@ module DPL
3
3
  class Hephy < 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-hephy
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