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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd87b31d32c109bb780fa9d8e4ebd6426e6d8ace
4
- data.tar.gz: cf26e052a77914c1d85e2b57d26846d9dff9a477
3
+ metadata.gz: fc9e82b18a98289c1c3678e0536092f142f96ab0
4
+ data.tar.gz: d686434d385b87efecc73d6aa8152332c05b2c9f
5
5
  SHA512:
6
- metadata.gz: f1ad6a4be5429ffb61db400085b8a7aa03c78fffdadca69aeead3bb1b50b8c798ef1091ed1dbf7def6747ac13f769f00d8cea041509dc270161c3166e43c01c2
7
- data.tar.gz: a93e5b47ee64e68d2f36078949fa7f754d69c1f8c203bb9a50b7f235d2c087c17972202bf1812f364aa54383d4f7ea6b280d6b7e88afefe52ea97aa950521441
6
+ metadata.gz: b041c4012f00421c8e40143f35dfe4326c54638ac454508bcf80f5481157669714b883736a766d7bd1d63addcca308a0831b3bf251f21f2ce1313a3ea75547ed
7
+ data.tar.gz: 3fe5581461bb072dfdd5a09fc3eaea27b0f3e94246d45f7e3f60ada1f801bed053d751be98ba04c0c60d102416d46e58f02b228ca5498449b8c9f831e4483135
@@ -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|
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module MsRestAzure
6
- VERSION = '0.10.5'
6
+ VERSION = '0.10.6'
7
7
  end
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.5
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.5
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: