ms_rest_azure 0.10.7 → 0.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/ms_rest_azure/async_operation_status.rb +3 -3
- data/lib/ms_rest_azure/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4619807ebd53301967ee5d9845dc6ad192c2ae3b
|
|
4
|
+
data.tar.gz: ba39d3b5cbe1a768a381d5887480eeff79d05176
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 227a68ad8c21f67cf8166b80491d6daffbfa008bea6064b0dc2e5e98e0235e5c6e60585ae6e7482a6a23babf8f7ab3a1144df99d08c28f8f9a92dc5ce4660c86
|
|
7
|
+
data.tar.gz: e160286a220dc64118709fb10a24c369821cf8c2c896e9a5abbb0de05953dc18a9f656df99ba3883237ebff7955dde766ac41e3b0428c630ddcfb7b41f1a49e4
|
data/CHANGELOG.md
CHANGED
|
@@ -35,7 +35,7 @@ module MsRestAzure
|
|
|
35
35
|
#
|
|
36
36
|
# @return [Boolean] True if given status is terminal one, false otherwise.
|
|
37
37
|
def self.is_terminal_status(status)
|
|
38
|
-
TERMINAL_STATUSES.any? { |st| st ==
|
|
38
|
+
TERMINAL_STATUSES.any? { |st| st.casecmp(status) == 0 }
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
#
|
|
@@ -44,7 +44,7 @@ module MsRestAzure
|
|
|
44
44
|
#
|
|
45
45
|
# @return [Boolean] True if given status is failed one, false otherwise.
|
|
46
46
|
def self.is_failed_status(status)
|
|
47
|
-
FAILED_STATUSES.any? { |st| st ==
|
|
47
|
+
FAILED_STATUSES.any? { |st| st.casecmp(status) == 0 }
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
#
|
|
@@ -53,7 +53,7 @@ module MsRestAzure
|
|
|
53
53
|
#
|
|
54
54
|
# @return [Boolean] True if given status is successful one, false otherwise.
|
|
55
55
|
def self.is_successful_status(status)
|
|
56
|
-
return status ==
|
|
56
|
+
return (status.casecmp(SUCCESS_STATUS) == 0)
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Microsoft Corporation
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-06-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -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.8
|
|
146
146
|
post_install_message:
|
|
147
147
|
rdoc_options: []
|
|
148
148
|
require_paths:
|