dpl 1.8.40.travis.2164.5 → 1.8.40.travis.2172.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f09568d8209281ba68966c6ca88d3ccf2a9ea170
4
- data.tar.gz: e26623aa4fad14c96861fb28a6e4a3973546eb61
3
+ metadata.gz: 10428e57fdcad99239de78c1b7c549225404de25
4
+ data.tar.gz: 53339b6ce4f7458f7cee75464b41ee55750c3aed
5
5
  SHA512:
6
- metadata.gz: 68aedd1bbc526526d15ad75e1a9861491f3dfe2619359a94bf425bc13fa28617e476fdd4e9250eabe549691da79935d23961cbfba8bebd7dce93859aab23b03d
7
- data.tar.gz: a362b0057bf3ac56db7dacb2e0fc3ad68ac7fb39f114ea20149144a13503fe44c010b34162860ef621dc93cd599ea1262608d7366fb781b5c7de435266eb8d42
6
+ metadata.gz: 88b3b60d617d695fdd2c4ffbb2f31f483f4c8287726cfbb264cb45211bcc33444ccf1c2e15fe177dd5265501bafe120f51656803236c4d28075febab0fc434e3
7
+ data.tar.gz: 9bb2ceefcaf16b2b60fe4770c3741534f11f2367e4919744004395ffb453c279d6b411dc02525aa9de31796a3fbbb1e377c96f5872852d4704d5bfd987155618
@@ -3,7 +3,7 @@ module DPL
3
3
  class CloudFoundry < Provider
4
4
 
5
5
  def initial_go_tools_install
6
- context.shell 'wget \'https://cli.run.pivotal.io/stable?release=linux64-binary&source=github\' -qO cf-linux-amd64.tgz && tar -zxvf cf-linux-amd64.tgz && rm cf-linux-amd64.tgz'
6
+ context.shell 'test $TRAVIS_OS_NAME = "linux" && rel="linux64-binary" || rel="macosx64"; wget \'https://cli.run.pivotal.io/stable?release=${rel}&source=github\' -qO cf.tgz && tar -zxvf cf.tgz && rm cf.tgz'
7
7
  end
8
8
 
9
9
  def check_auth
@@ -11,7 +11,7 @@ describe DPL::Provider::Anynines do
11
11
 
12
12
  describe "#check_auth" do
13
13
  example do
14
- expect(provider.context).to receive(:shell).with('wget \'https://cli.run.pivotal.io/stable?release=linux64-binary&source=github\' -qO cf-linux-amd64.tgz && tar -zxvf cf-linux-amd64.tgz && rm cf-linux-amd64.tgz')
14
+ expect(provider.context).to receive(:shell).with('test $TRAVIS_OS_NAME = "linux" && rel="linux64-binary" || rel="macosx64"; wget \'https://cli.run.pivotal.io/stable?release=${rel}&source=github\' -qO cf.tgz && tar -zxvf cf.tgz && rm cf.tgz')
15
15
  expect(provider.context).to receive(:shell).with('./cf api https://api.aws.ie.a9s.eu')
16
16
  expect(provider.context).to receive(:shell).with('./cf login -u mallomar -p myreallyawesomepassword -o myorg -s outer')
17
17
  provider.check_auth
@@ -13,7 +13,7 @@ describe DPL::Provider::BluemixCloudFoundry do
13
13
 
14
14
  describe "#check_auth" do
15
15
  example do
16
- expect(provider.context).to receive(:shell).with('wget \'https://cli.run.pivotal.io/stable?release=linux64-binary&source=github\' -qO cf-linux-amd64.tgz && tar -zxvf cf-linux-amd64.tgz && rm cf-linux-amd64.tgz')
16
+ expect(provider.context).to receive(:shell).with('test $TRAVIS_OS_NAME = "linux" && rel="linux64-binary" || rel="macosx64"; wget \'https://cli.run.pivotal.io/stable?release=${rel}&source=github\' -qO cf.tgz && tar -zxvf cf.tgz && rm cf.tgz')
17
17
  expect(provider.context).to receive(:shell).with('./cf api api.eu-gb.bluemix.net --skip-ssl-validation')
18
18
  expect(provider.context).to receive(:shell).with('./cf login -u Moonpie -p myexceptionallyaveragepassword -o myotherorg -s inner')
19
19
  provider.check_auth
@@ -13,7 +13,7 @@ describe DPL::Provider::CloudFoundry do
13
13
 
14
14
  describe "#check_auth" do
15
15
  example do
16
- expect(provider.context).to receive(:shell).with('wget \'https://cli.run.pivotal.io/stable?release=linux64-binary&source=github\' -qO cf-linux-amd64.tgz && tar -zxvf cf-linux-amd64.tgz && rm cf-linux-amd64.tgz')
16
+ expect(provider.context).to receive(:shell).with('test $TRAVIS_OS_NAME = "linux" && rel="linux64-binary" || rel="macosx64"; wget \'https://cli.run.pivotal.io/stable?release=${rel}&source=github\' -qO cf.tgz && tar -zxvf cf.tgz && rm cf.tgz')
17
17
  expect(provider.context).to receive(:shell).with('./cf api api.run.awesome.io --skip-ssl-validation')
18
18
  expect(provider.context).to receive(:shell).with('./cf login -u mallomar -p myreallyawesomepassword -o myorg -s outer')
19
19
  provider.check_auth
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.40.travis.2164.5
4
+ version: 1.8.40.travis.2172.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-06-30 00:00:00.000000000 Z
11
+ date: 2017-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec