azure_mgmt_dev_spaces 0.17.0 → 0.17.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05893aa0a9a9713febe6c167c158d6f474ee6e78
|
4
|
+
data.tar.gz: aea9ee86493d53e4e3581e3298245c57c7f36406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6728ed87b0f3dcd206cf5a394df0d9a79a00c46ab9b92b6b18504cffa419798eda295e1e4dd3b1329d40d59b40c4a36ad96ba1a62157b4368cda95dbb0f47cb2
|
7
|
+
data.tar.gz: e8aa36195e57711c4b200a49679ef873dd63be9d24b5f7a6137915b4b9683da9da2e1cfc1407c45619c1892952f90d8b5f57bbde6c1959fe70e0f436790e13cc
|
@@ -128,7 +128,7 @@ module Azure::DevSpaces::Mgmt::V2018_06_01_preview
|
|
128
128
|
#
|
129
129
|
def add_telemetry
|
130
130
|
sdk_information = 'azure_mgmt_dev_spaces'
|
131
|
-
sdk_information = "#{sdk_information}/0.17.
|
131
|
+
sdk_information = "#{sdk_information}/0.17.1"
|
132
132
|
add_user_agent_information(sdk_information)
|
133
133
|
end
|
134
134
|
end
|
@@ -22,6 +22,15 @@ module Azure::DevSpaces::Mgmt::V2018_06_01_preview
|
|
22
22
|
attr_accessor :type
|
23
23
|
|
24
24
|
|
25
|
+
# @return [String] the name of the resource group of the resource.
|
26
|
+
def resource_group
|
27
|
+
unless self.id.nil?
|
28
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
29
|
+
groups.captures[0].strip if groups
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
|
25
34
|
#
|
26
35
|
# Mapper for Resource class as Ruby Hash.
|
27
36
|
# This will be used for serialization/deserialization.
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_dev_spaces
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.1
|
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-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|