dpl-cloud_foundry 1.10.6.travis.3090.5 → 1.10.6.travis.3114.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2150ac707732a28617571a417c688f86527c4973ae6fd57956a07a53118a956
4
- data.tar.gz: e0a790f306e3bca5f21a9ea57e48a321b2e7b34f86f6a26914fd4b96c546175d
3
+ metadata.gz: 901b1a27bea693b32f21934071be275e6f192779cabcb693faaf0bd4376db115
4
+ data.tar.gz: f2040879e30966bb78ec22561ec70e570c1818ae17ff7e3e482a3d3b8b9b6ec5
5
5
  SHA512:
6
- metadata.gz: a4dc79a6c2553997ee6b29e9dfb46018f91c5e3fbfe83ddfb2717f198b3f8116a014376e0ed2f9ea58062dc984a1994899f7bafed5659cdca7e8b71a56fa6b7a
7
- data.tar.gz: 77ac2ddcb0826dbc60a9ff774c9b8efcb18cd5d6111b49054af7db4df7135861cf997f0e5e2a4c3d64d03906a7bf8b2b52863c0bac7c4d1acb0835a48f84e6ee
6
+ metadata.gz: 6626f277b07cb913b1f50b8286b3602046e5c5650ac7250cba359e247c8e6dc2f81720bdc305769e8f711701a6d9a389766e7daadaa9933d3fa32fc020f862b5
7
+ data.tar.gz: fbc7fc2466d4ecb1b0a96d8948be9e8b50818dc372301489f3d68ac17ae7edf4e72301645094f268c2c14eeda5cd190917a4d525d86b45aeeeefa57d5f83fd7a
@@ -16,7 +16,7 @@ module DPL
16
16
  )
17
17
 
18
18
  def initial_go_tools_install
19
- context.shell 'test x$TRAVIS_OS_NAME = "xlinux" && 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'
19
+ context.shell 'test $(uname) = "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'
20
20
  end
21
21
 
22
22
  def check_auth
@@ -3,7 +3,7 @@ module DPL
3
3
  class CloudFoundry < Provider
4
4
 
5
5
  def initial_go_tools_install
6
- context.shell 'test x$TRAVIS_OS_NAME = "xlinux" && 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'
6
+ context.shell 'test $(uname) = "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
@@ -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('test x$TRAVIS_OS_NAME = "xlinux" && 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')
16
+ expect(provider.context).to receive(:shell).with('test $(uname) = "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
@@ -15,7 +15,7 @@ describe DPL::Provider::CloudFoundry do
15
15
  describe "#check_auth" do
16
16
  context 'when basic credentials are provided' do
17
17
  example do
18
- expect(provider.context).to receive(:shell).with('test x$TRAVIS_OS_NAME = "xlinux" && 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')
18
+ expect(provider.context).to receive(:shell).with('test $(uname) = "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')
19
19
  expect(provider.context).to receive(:shell).with('./cf api api.run.awesome.io --skip-ssl-validation')
20
20
  expect(provider.context).to receive(:shell).with('./cf login -u mallomar -p myreallyawesomepassword -o \'myorg\' -s \'outer\'')
21
21
  provider.check_auth
@@ -33,7 +33,7 @@ describe DPL::Provider::CloudFoundry do
33
33
  end
34
34
 
35
35
  example do
36
- expect(provider.context).to receive(:shell).with('test x$TRAVIS_OS_NAME = "xlinux" && 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')
36
+ expect(provider.context).to receive(:shell).with('test $(uname) = "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')
37
37
  expect(provider.context).to receive(:shell).with('./cf api api.run.awesome.io --skip-ssl-validation')
38
38
  expect(provider.context).to receive(:shell).with('./cf auth craw myreallyawesomesecret --client-credentials')
39
39
  expect(provider.context).to receive(:shell).with('./cf target -o \'myorg\' -s \'outer\'')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl-cloud_foundry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.6.travis.3090.5
4
+ version: 1.10.6.travis.3114.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-12 00:00:00.000000000 Z
11
+ date: 2018-11-15 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.3090.5
19
+ version: 1.10.6.travis.3114.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.3090.5
26
+ version: 1.10.6.travis.3114.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement