ms_rest_azure 0.10.7 → 0.10.8

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: bdf93a3e6f7a36e07e35fbc3e5808d9bd067c77d
4
- data.tar.gz: f525980367e966e6ec309ce4253e1548ab6b9b07
3
+ metadata.gz: 4619807ebd53301967ee5d9845dc6ad192c2ae3b
4
+ data.tar.gz: ba39d3b5cbe1a768a381d5887480eeff79d05176
5
5
  SHA512:
6
- metadata.gz: 213bb4d51ea940ec75e17ca2d6f25b3ff77760559654bc970fcf17f08ddbfa05f04e04ab9ed30791478410cdfc0b80d5f2621e2a7cf9cd71883b89f5fa9ef933
7
- data.tar.gz: 47118ca3c8332e015f8c1b484ae7358f2424b0f6ab8b74e3157db668ec2516d86fb81d1d7d897e85ac38f1b41c55a192228632511fcafe4a5d8edf0662ad101b
6
+ metadata.gz: 227a68ad8c21f67cf8166b80491d6daffbfa008bea6064b0dc2e5e98e0235e5c6e60585ae6e7482a6a23babf8f7ab3a1144df99d08c28f8f9a92dc5ce4660c86
7
+ data.tar.gz: e160286a220dc64118709fb10a24c369821cf8c2c896e9a5abbb0de05953dc18a9f656df99ba3883237ebff7955dde766ac41e3b0428c630ddcfb7b41f1a49e4
@@ -1,3 +1,6 @@
1
+ ##2018.06.08 ms_rest_azure version 0.10.8
2
+ * Added case insensitive comparison to Operation status.
3
+
1
4
  ##2018.05.16 ms_rest_azure version 0.10.7
2
5
  * Added new error code 410 for IMDS Support for MSI Token Provider class.
3
6
 
@@ -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 == status }
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 == status }
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 == SUCCESS_STATUS
56
+ return (status.casecmp(SUCCESS_STATUS) == 0)
57
57
  end
58
58
 
59
59
  #
@@ -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.7'
6
+ VERSION = '0.10.8'
7
7
  end
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.7
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-05-16 00:00:00.000000000 Z
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.7
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: