cf_ruby_client 0.7 → 0.8

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: ea45b831ff46a60bf938700821dfe7b5e2ccbc55
4
- data.tar.gz: 342f06e0e66d9c671671f6dcf60181cd99c0a9ec
3
+ metadata.gz: 957ba15dd85a868f07e6e375ac9cda9a06df0d5c
4
+ data.tar.gz: f46f4651be01f2aad4962656881675363b2316c3
5
5
  SHA512:
6
- metadata.gz: 3ef6053880ade3d1b81732e72295fb50741882ea354796331eb1ef6960e406d6a9fc5b9cc5a92afb169c9485ca1c02e6c3c66c571fa670e2bde9271d75ecfdcd
7
- data.tar.gz: 6c18356f1d7f3a87c26f702580f54546f2765ecf98d0bf65190b64e470f700238c7d4506cf5365cafcd56b3d7c4ec5786ac9d28ebe8c5de6c4ec9e4dcd260d3c
6
+ metadata.gz: d57433d1e7ab07e547ea07f5e99cd266c35dc8c7fb63c00423e912b4ac57cc445e029dc6e4c4f179d16abd3ba249d9d8a9ff2401abdf6c30a802257d07db51ee
7
+ data.tar.gz: 9fb48d71d74993ae6502ac110aa5dd727ad01206a62d8370167e7af0d5f381f11ad99eed2d72745851405f6089ebe28e9b931ffd7f81288faead09e588a4442f
@@ -13,10 +13,7 @@ module CfRubyClient
13
13
  nil,
14
14
  skip_ssl_validation: cloud_foundry_config.skip_ssl_validation
15
15
  )
16
- token_issuer.owner_password_grant(
17
- username: cloud_foundry_config.username,
18
- password: cloud_foundry_config.password
19
- )
16
+ token_issuer.owner_password_grant(cloud_foundry_config.username, cloud_foundry_config.password)
20
17
  end
21
18
  end
22
19
  end
@@ -89,7 +89,7 @@ module CfRubyClient
89
89
  def extract_security_group(security_groups)
90
90
  logger.debug "cf_ruby_client: Extracting Security Group from: #{security_groups}"
91
91
  if security_groups["total_results"] == 0
92
- return {}
92
+ Hash.new
93
93
  else
94
94
  sanitize_security_group(security_groups["resources"][0])
95
95
  end
@@ -1,3 +1,3 @@
1
1
  module CfRubyClient
2
- VERSION = "0.7"
2
+ VERSION = "0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf_ruby_client
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Both
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-05-03 00:00:00.000000000 Z
12
+ date: 2017-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cf-uaa-lib