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 +4 -4
- data/CHANGES +4 -0
- data/lib/azure/armrest/configuration.rb +2 -2
- data/lib/azure/armrest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 293458d1bc2e9844d5e860e4135c3a4e3b4ff2ff7344df7919eb5981a90a8146
|
4
|
+
data.tar.gz: 30df988121259a4adf54650219d09ae335a8771c6e029d5a67e13d5a64f5eac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
302
|
+
:resource => environment.active_directory_resource_id
|
303
303
|
}
|
304
304
|
)
|
305
305
|
)
|
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.
|
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-
|
14
|
+
date: 2018-04-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|