ms_rest_azure 0.10.5 → 0.10.6
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/ms_rest_azure/credentials/msi_token_provider.rb +3 -3
- data/lib/ms_rest_azure/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: fc9e82b18a98289c1c3678e0536092f142f96ab0
|
4
|
+
data.tar.gz: d686434d385b87efecc73d6aa8152332c05b2c9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b041c4012f00421c8e40143f35dfe4326c54638ac454508bcf80f5481157669714b883736a766d7bd1d63addcca308a0831b3bf251f21f2ce1313a3ea75547ed
|
7
|
+
data.tar.gz: 3fe5581461bb072dfdd5a09fc3eaea27b0f3e94246d45f7e3f60ada1f801bed053d751be98ba04c0c60d102416d46e58f02b228ca5498449b8c9f831e4483135
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
##2018.04.16 ms_rest_azure version 0.10.6
|
2
|
+
* Added encoding of client id, object id and msi_id in the MSI Token provider class. Refer[PR #1288](https://github.com/Azure/azure-sdk-for-ruby/pull/1288) for further details.
|
3
|
+
|
1
4
|
##2018.04.16 ms_rest_azure version 0.10.5
|
2
5
|
* Added new error codes for IMDS Support for MSI Token Provider class. Refer [PR #1286](https://github.com/Azure/azure-sdk-for-ruby/pull/1286) and [Issue #1285](https://github.com/Azure/azure-sdk-for-ruby/issues/1285) for further details.
|
3
6
|
|
@@ -94,9 +94,9 @@ module MsRestAzure
|
|
94
94
|
|
95
95
|
def acquire_token_from_imds_with_retry
|
96
96
|
token_acquire_url = IMDS_TOKEN_ACQUIRE_URL.dup + "?" + append_header('resource', ERB::Util.url_encode(@settings.token_audience)) + '&' + append_header('api-version', '2018-02-01')
|
97
|
-
token_acquire_url = (token_acquire_url + '&' + append_header('client_id', @client_id)) unless @client_id.nil?
|
98
|
-
token_acquire_url = (token_acquire_url + '&' + append_header('object_id', @object_id)) unless @object_id.nil?
|
99
|
-
token_acquire_url = (token_acquire_url + '&' + append_header('msi_res_id', @msi_res_id)) unless @msi_res_id.nil?
|
97
|
+
token_acquire_url = (token_acquire_url + '&' + append_header('client_id', ERB::Util.url_encode(@client_id))) unless @client_id.nil?
|
98
|
+
token_acquire_url = (token_acquire_url + '&' + append_header('object_id', ERB::Util.url_encode(@object_id))) unless @object_id.nil?
|
99
|
+
token_acquire_url = (token_acquire_url + '&' + append_header('msi_res_id', ERB::Util.url_encode(@msi_res_id))) unless @msi_res_id.nil?
|
100
100
|
url = URI.parse(token_acquire_url)
|
101
101
|
|
102
102
|
connection = Faraday.new(:url => url, :ssl => MsRest.ssl_options) do |builder|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ms_rest_azure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
@@ -142,7 +142,7 @@ metadata:
|
|
142
142
|
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/runtime/ms_rest_azure/CHANGELOG.md
|
143
143
|
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
144
144
|
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
145
|
-
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ms_rest_azure-v0.10.
|
145
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ms_rest_azure-v0.10.6
|
146
146
|
post_install_message:
|
147
147
|
rdoc_options: []
|
148
148
|
require_paths:
|