azure-blob 0.5.5 → 0.5.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 +4 -0
- data/lib/azure_blob/identity_token.rb +2 -1
- data/lib/azure_blob/user_delegation_key.rb +1 -0
- data/lib/azure_blob/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ae3b7fceea9be12467a971a8145a7ebc24e4e20c9debc0ad13ec2388fdf65b8
|
4
|
+
data.tar.gz: 057cd633b835d5481e73666f2656a5e0e7bc78de5110805e647a2f95f10e0c93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ace2b7d5b08599d59db6c2d0df8bc376c9c1cc1b50b8671691c04ac4f72945e10fb588f115d5d34f662db126ddb5b8ded1f7263cf3b06f3a5e9b5141d02c084
|
7
|
+
data.tar.gz: 1f3407a9e1826f63f77c51acb0d1583724a4b30dd64418f53369d58cdf2c3da66bc48eba7899405e01c844823e9ab64c45ffde6fc68e73264cc107e3f764ec19
|
data/CHANGELOG.md
CHANGED
@@ -19,7 +19,7 @@ module AzureBlob
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def to_s
|
22
|
-
refresh
|
22
|
+
refresh
|
23
23
|
token
|
24
24
|
end
|
25
25
|
|
@@ -30,6 +30,7 @@ module AzureBlob
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def refresh
|
33
|
+
return unless expired?
|
33
34
|
headers = { "Metadata" => "true" }
|
34
35
|
headers["X-IDENTITY-HEADER"] = ENV["IDENTITY_HEADER"] if ENV["IDENTITY_HEADER"]
|
35
36
|
|
data/lib/azure_blob/version.rb
CHANGED