vmware-vra 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/vra/client.rb +1 -1
- data/lib/vra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d0c6aacd8283b9b2468c805bf98c09640ea5a3c
|
4
|
+
data.tar.gz: fbbe84f01ebd18b555b013f501fe94cd4f09de98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cec652f684c2693cd781e1fdfbcc1db2d5584ffb6022f1d76172df0123a27b7d134606da72a9979ebb067857ff01292bbe1fb521610705de7a8d3ede3c9fd9e
|
7
|
+
data.tar.gz: a0704144cc5cbb2aead9610429c56a56ae22a3768d7f684f530dc721271ebd4ee2dee27f1f8840029c23390a28ad7cb56d1786eeedc02bf2100cdd986d76ad46
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# vmware-vra-gem CHANGELOG
|
2
2
|
|
3
|
+
## v1.5.2 (2016-04-01)
|
4
|
+
* [pr#22](https://github.com/chef-partners/vmware-vra-gem/pull/22) Bug fix: Using FFI_Yajl to encode JSON rather than the #to_json method
|
5
|
+
|
3
6
|
## v1.5.1 (2016-03-11)
|
4
7
|
* [pr#19](https://github.com/chef-partners/vmware-vra-gem/pull/19) Treating a `MachineActivated` state as a machine in the process of being turned on. Fixes abnormal behavior in vRA 7.x.
|
5
8
|
|
data/lib/vra/client.rb
CHANGED
@@ -104,7 +104,7 @@ module Vra
|
|
104
104
|
@bearer_token.value = nil
|
105
105
|
validate_client_options!
|
106
106
|
|
107
|
-
response = http_post('/identity/api/tokens', bearer_token_request_body
|
107
|
+
response = http_post('/identity/api/tokens', FFI_Yajl::Encoder.encode(bearer_token_request_body), :skip_auth)
|
108
108
|
if response.code != 200
|
109
109
|
raise Vra::Exception::Unauthorized, "Unable to get bearer token: #{response.body}"
|
110
110
|
end
|
data/lib/vra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vmware-vra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Leff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|