azure-armrest 0.9.8 → 0.9.9

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: 308fa0471db6fcfcf327950d653656c9b8f920664f328784720d6d79fb8d92c7
4
- data.tar.gz: 2df3fed1b871bb4d037acd2e66d9dac4720a96b29399d1875ca454cef5b0b0ee
3
+ metadata.gz: 293458d1bc2e9844d5e860e4135c3a4e3b4ff2ff7344df7919eb5981a90a8146
4
+ data.tar.gz: 30df988121259a4adf54650219d09ae335a8771c6e029d5a67e13d5a64f5eac5
5
5
  SHA512:
6
- metadata.gz: d0e1fe0a64713a2ad3decb326ba5e182eb72e53e2960de6d1ddf1daab03ec1579046c4ed38fafa17434c8f1b9afb6519486a138f8f9a77e8e80444a9f0b0b18e
7
- data.tar.gz: df7b6ef4e32b62a81b6d394b6e44a303bd8631ac17fc8bc260e3f852e6058c3dc38e799529c3f36e0a0091ae6245ac9bda43fa6fbe9a9bfd0222199e297f4463
6
+ metadata.gz: 0304b7562b5310a4e5ca0523f11b0329ac5734d84fa347132b3eb37ebbca0959002c6cd8000aa64b79e14a39d11f489ed5f72a29b6474a367dfd656d660585f6
7
+ data.tar.gz: 2df22769d6651c7dcba08ae779d80e202deddcb913ce10e8c36622bf02de6edfbcde3d6e93b8414248471e7359215b1fda65488180f8702a2b3c4e552fcc74df
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ = 0.9.9 - 6-Apr-2018
2
+ * Changed the default endpoint used for fetching the initial authorization
3
+ token. It now uses the AD resource ID instead of the resource manager URL.
4
+
1
5
  = 0.9.8 - 14-mar-2018
2
6
  * Performance of the VirtualMachineImageService#list_all method has been
3
7
  dramatically improved.
@@ -286,7 +286,7 @@ module Azure
286
286
  end
287
287
 
288
288
  def fetch_token
289
- token_url = File.join(environment.authority_url, tenant_id, 'oauth2', 'token')
289
+ token_url = File.join(environment.active_directory_authority, tenant_id, 'oauth2', 'token')
290
290
 
291
291
  response = JSON.parse(
292
292
  ArmrestService.send(
@@ -299,7 +299,7 @@ module Azure
299
299
  :grant_type => grant_type,
300
300
  :client_id => client_id,
301
301
  :client_secret => client_key,
302
- :resource => environment.resource_url
302
+ :resource => environment.active_directory_resource_id
303
303
  }
304
304
  )
305
305
  )
@@ -1,6 +1,6 @@
1
1
  module Azure
2
2
  module Armrest
3
3
  # The version of the azure-armrest library.
4
- VERSION = '0.9.8'.freeze
4
+ VERSION = '0.9.9'.freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure-armrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-03-14 00:00:00.000000000 Z
14
+ date: 2018-04-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json