fog-azure-rm 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/fog-azure-rm.gemspec +2 -3
  4. data/lib/fog/azurerm/constants.rb +3 -1
  5. data/lib/fog/azurerm/docs/compute.md +10 -4
  6. data/lib/fog/azurerm/models/compute/availability_set.rb +22 -1
  7. data/lib/fog/azurerm/models/key_vault/access_policy_entry.rb +0 -4
  8. data/lib/fog/azurerm/models/traffic_manager/traffic_manager_profile.rb +1 -1
  9. data/lib/fog/azurerm/requests/compute/create_availability_set.rb +25 -11
  10. data/lib/fog/azurerm/utilities/general.rb +1 -1
  11. data/lib/fog/azurerm/version.rb +1 -1
  12. data/lib/fog/azurerm.rb +0 -1
  13. data/test/api_stub/models/compute/availability_set.rb +24 -5
  14. data/test/api_stub/requests/compute/availability_set.rb +62 -5
  15. data/test/integration/application_gateway.rb +1 -1
  16. data/test/integration/availability_set.rb +103 -16
  17. data/test/integration/blob.rb +1 -1
  18. data/test/integration/container.rb +1 -1
  19. data/test/integration/data_disk.rb +1 -1
  20. data/test/integration/deployment.rb +1 -1
  21. data/test/integration/express_route_circuit.rb +1 -1
  22. data/test/integration/external_load_balancer.rb +1 -1
  23. data/test/integration/internal_load_balancer.rb +1 -1
  24. data/test/integration/key_vault.rb +1 -1
  25. data/test/integration/local_network_gateway.rb +1 -1
  26. data/test/integration/managed_disk.rb +1 -1
  27. data/test/integration/network_interface.rb +1 -1
  28. data/test/integration/network_security_group.rb +1 -1
  29. data/test/integration/network_security_rule.rb +1 -1
  30. data/test/integration/public_ip.rb +1 -1
  31. data/test/integration/record_set.rb +1 -1
  32. data/test/integration/resource_group.rb +1 -1
  33. data/test/integration/resource_tag.rb +1 -1
  34. data/test/integration/server.rb +1 -1
  35. data/test/integration/server_custom_image.rb +2 -2
  36. data/test/integration/sql_server.rb +1 -1
  37. data/test/integration/storage_account.rb +1 -1
  38. data/test/integration/subnet.rb +1 -1
  39. data/test/integration/traffic_manager.rb +1 -1
  40. data/test/integration/virtual_machine_extension.rb +2 -2
  41. data/test/integration/virtual_network.rb +1 -1
  42. data/test/integration/virtual_network_gateway.rb +3 -9
  43. data/test/integration/{Virtual_network_gateway_connection.rb → virtual_network_gateway_connection.rb} +3 -2
  44. data/test/integration/virtual_network_gateway_connection_to_express_route.rb +3 -3
  45. data/test/integration/zone.rb +1 -1
  46. data/test/models/compute/test_availability_set.rb +4 -2
  47. data/test/models/key_vault/test_vault.rb +1 -1
  48. data/test/requests/compute/test_attach_data_disk_to_vm.rb +6 -6
  49. data/test/requests/compute/test_check_vm_exists.rb +3 -3
  50. data/test/requests/compute/test_create_availability_set.rb +87 -3
  51. data/test/requests/compute/test_detach_data_disk_from_vm.rb +2 -2
  52. data/test/requests/compute/test_get_virtual_machine.rb +2 -2
  53. data/test/requests/compute/test_get_vm_status.rb +2 -2
  54. data/test/test_helper.rb +23 -0
  55. metadata +46 -62
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-azure-rm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaffan Chaudhry
@@ -11,241 +11,225 @@ authors:
11
11
  - Haider Ali
12
12
  - Waqar Haider
13
13
  - Bilal Naeem
14
+ - Muhammad Asad
15
+ - Azeem Sajid
16
+ - Maham Nazir
17
+ - Abbas Sheikh
14
18
  autorequire:
15
19
  bindir: bin
16
20
  cert_chain: []
17
- date: 2017-07-20 00:00:00.000000000 Z
21
+ date: 2017-09-22 00:00:00.000000000 Z
18
22
  dependencies:
19
23
  - !ruby/object:Gem::Dependency
20
24
  name: rake
21
25
  requirement: !ruby/object:Gem::Requirement
22
26
  requirements:
23
- - - "~>"
27
+ - - ~>
24
28
  - !ruby/object:Gem::Version
25
29
  version: '10.0'
26
30
  type: :development
27
31
  prerelease: false
28
32
  version_requirements: !ruby/object:Gem::Requirement
29
33
  requirements:
30
- - - "~>"
34
+ - - ~>
31
35
  - !ruby/object:Gem::Version
32
36
  version: '10.0'
33
37
  - !ruby/object:Gem::Dependency
34
38
  name: minitest
35
39
  requirement: !ruby/object:Gem::Requirement
36
40
  requirements:
37
- - - "~>"
41
+ - - ~>
38
42
  - !ruby/object:Gem::Version
39
43
  version: 5.8.4
40
44
  type: :development
41
45
  prerelease: false
42
46
  version_requirements: !ruby/object:Gem::Requirement
43
47
  requirements:
44
- - - "~>"
48
+ - - ~>
45
49
  - !ruby/object:Gem::Version
46
50
  version: 5.8.4
47
51
  - !ruby/object:Gem::Dependency
48
52
  name: simplecov
49
53
  requirement: !ruby/object:Gem::Requirement
50
54
  requirements:
51
- - - ">="
55
+ - - '>='
52
56
  - !ruby/object:Gem::Version
53
57
  version: '0'
54
58
  type: :development
55
59
  prerelease: false
56
60
  version_requirements: !ruby/object:Gem::Requirement
57
61
  requirements:
58
- - - ">="
62
+ - - '>='
59
63
  - !ruby/object:Gem::Version
60
64
  version: '0'
61
65
  - !ruby/object:Gem::Dependency
62
66
  name: codeclimate-test-reporter
63
67
  requirement: !ruby/object:Gem::Requirement
64
68
  requirements:
65
- - - "~>"
69
+ - - ~>
66
70
  - !ruby/object:Gem::Version
67
71
  version: 1.0.0
68
72
  type: :development
69
73
  prerelease: false
70
74
  version_requirements: !ruby/object:Gem::Requirement
71
75
  requirements:
72
- - - "~>"
76
+ - - ~>
73
77
  - !ruby/object:Gem::Version
74
78
  version: 1.0.0
75
79
  - !ruby/object:Gem::Dependency
76
80
  name: fog-core
77
81
  requirement: !ruby/object:Gem::Requirement
78
82
  requirements:
79
- - - "~>"
83
+ - - ~>
80
84
  - !ruby/object:Gem::Version
81
85
  version: 1.43.0
82
86
  type: :runtime
83
87
  prerelease: false
84
88
  version_requirements: !ruby/object:Gem::Requirement
85
89
  requirements:
86
- - - "~>"
90
+ - - ~>
87
91
  - !ruby/object:Gem::Version
88
92
  version: 1.43.0
89
93
  - !ruby/object:Gem::Dependency
90
94
  name: fog-json
91
95
  requirement: !ruby/object:Gem::Requirement
92
96
  requirements:
93
- - - "~>"
97
+ - - ~>
94
98
  - !ruby/object:Gem::Version
95
99
  version: '1.0'
96
100
  type: :runtime
97
101
  prerelease: false
98
102
  version_requirements: !ruby/object:Gem::Requirement
99
103
  requirements:
100
- - - "~>"
104
+ - - ~>
101
105
  - !ruby/object:Gem::Version
102
106
  version: '1.0'
103
- - !ruby/object:Gem::Dependency
104
- name: rest-client
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: 2.0.0
110
- type: :runtime
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: 2.0.0
117
107
  - !ruby/object:Gem::Dependency
118
108
  name: azure_mgmt_compute
119
109
  requirement: !ruby/object:Gem::Requirement
120
110
  requirements:
121
- - - "~>"
111
+ - - ~>
122
112
  - !ruby/object:Gem::Version
123
113
  version: 0.9.0
124
114
  type: :runtime
125
115
  prerelease: false
126
116
  version_requirements: !ruby/object:Gem::Requirement
127
117
  requirements:
128
- - - "~>"
118
+ - - ~>
129
119
  - !ruby/object:Gem::Version
130
120
  version: 0.9.0
131
121
  - !ruby/object:Gem::Dependency
132
122
  name: azure_mgmt_resources
133
123
  requirement: !ruby/object:Gem::Requirement
134
124
  requirements:
135
- - - "~>"
125
+ - - ~>
136
126
  - !ruby/object:Gem::Version
137
127
  version: 0.9.0
138
128
  type: :runtime
139
129
  prerelease: false
140
130
  version_requirements: !ruby/object:Gem::Requirement
141
131
  requirements:
142
- - - "~>"
132
+ - - ~>
143
133
  - !ruby/object:Gem::Version
144
134
  version: 0.9.0
145
135
  - !ruby/object:Gem::Dependency
146
136
  name: azure_mgmt_storage
147
137
  requirement: !ruby/object:Gem::Requirement
148
138
  requirements:
149
- - - "~>"
139
+ - - ~>
150
140
  - !ruby/object:Gem::Version
151
141
  version: 0.9.0
152
142
  type: :runtime
153
143
  prerelease: false
154
144
  version_requirements: !ruby/object:Gem::Requirement
155
145
  requirements:
156
- - - "~>"
146
+ - - ~>
157
147
  - !ruby/object:Gem::Version
158
148
  version: 0.9.0
159
149
  - !ruby/object:Gem::Dependency
160
150
  name: azure_mgmt_network
161
151
  requirement: !ruby/object:Gem::Requirement
162
152
  requirements:
163
- - - "~>"
153
+ - - ~>
164
154
  - !ruby/object:Gem::Version
165
155
  version: 0.9.0
166
156
  type: :runtime
167
157
  prerelease: false
168
158
  version_requirements: !ruby/object:Gem::Requirement
169
159
  requirements:
170
- - - "~>"
160
+ - - ~>
171
161
  - !ruby/object:Gem::Version
172
162
  version: 0.9.0
173
163
  - !ruby/object:Gem::Dependency
174
164
  name: azure_mgmt_dns
175
165
  requirement: !ruby/object:Gem::Requirement
176
166
  requirements:
177
- - - "~>"
167
+ - - ~>
178
168
  - !ruby/object:Gem::Version
179
169
  version: 0.9.0
180
170
  type: :runtime
181
171
  prerelease: false
182
172
  version_requirements: !ruby/object:Gem::Requirement
183
173
  requirements:
184
- - - "~>"
174
+ - - ~>
185
175
  - !ruby/object:Gem::Version
186
176
  version: 0.9.0
187
177
  - !ruby/object:Gem::Dependency
188
178
  name: azure_mgmt_traffic_manager
189
179
  requirement: !ruby/object:Gem::Requirement
190
180
  requirements:
191
- - - "~>"
181
+ - - ~>
192
182
  - !ruby/object:Gem::Version
193
183
  version: 0.9.0
194
184
  type: :runtime
195
185
  prerelease: false
196
186
  version_requirements: !ruby/object:Gem::Requirement
197
187
  requirements:
198
- - - "~>"
188
+ - - ~>
199
189
  - !ruby/object:Gem::Version
200
190
  version: 0.9.0
201
191
  - !ruby/object:Gem::Dependency
202
192
  name: azure_mgmt_sql
203
193
  requirement: !ruby/object:Gem::Requirement
204
194
  requirements:
205
- - - "~>"
195
+ - - ~>
206
196
  - !ruby/object:Gem::Version
207
197
  version: 0.9.0
208
198
  type: :runtime
209
199
  prerelease: false
210
200
  version_requirements: !ruby/object:Gem::Requirement
211
201
  requirements:
212
- - - "~>"
202
+ - - ~>
213
203
  - !ruby/object:Gem::Version
214
204
  version: 0.9.0
215
205
  - !ruby/object:Gem::Dependency
216
206
  name: azure_mgmt_key_vault
217
207
  requirement: !ruby/object:Gem::Requirement
218
208
  requirements:
219
- - - "~>"
209
+ - - ~>
220
210
  - !ruby/object:Gem::Version
221
211
  version: 0.9.0
222
212
  type: :runtime
223
213
  prerelease: false
224
214
  version_requirements: !ruby/object:Gem::Requirement
225
215
  requirements:
226
- - - "~>"
216
+ - - ~>
227
217
  - !ruby/object:Gem::Version
228
218
  version: 0.9.0
229
219
  - !ruby/object:Gem::Dependency
230
220
  name: azure-storage
231
221
  requirement: !ruby/object:Gem::Requirement
232
222
  requirements:
233
- - - ">="
223
+ - - '='
234
224
  - !ruby/object:Gem::Version
235
225
  version: 0.11.5.preview
236
- - - "<"
237
- - !ruby/object:Gem::Version
238
- version: '1.0'
239
226
  type: :runtime
240
227
  prerelease: false
241
228
  version_requirements: !ruby/object:Gem::Requirement
242
229
  requirements:
243
- - - ">="
230
+ - - '='
244
231
  - !ruby/object:Gem::Version
245
232
  version: 0.11.5.preview
246
- - - "<"
247
- - !ruby/object:Gem::Version
248
- version: '1.0'
249
233
  - !ruby/object:Gem::Dependency
250
234
  name: vhd
251
235
  requirement: !ruby/object:Gem::Requirement
@@ -269,11 +253,11 @@ extensions: []
269
253
  extra_rdoc_files:
270
254
  - README.md
271
255
  files:
272
- - ".codeclimate.yml"
273
- - ".gitignore"
274
- - ".hound.yml"
275
- - ".rubocop.yml"
276
- - ".travis.yml"
256
+ - .codeclimate.yml
257
+ - .gitignore
258
+ - .hound.yml
259
+ - .rubocop.yml
260
+ - .travis.yml
277
261
  - CHANGELOG.md
278
262
  - CONTRIBUTING.md
279
263
  - CONTRIBUTORS.md
@@ -723,7 +707,6 @@ files:
723
707
  - test/api_stub/requests/traffic_manager/traffic_manager_endpoint.rb
724
708
  - test/api_stub/requests/traffic_manager/traffic_manager_profile.rb
725
709
  - test/integration/README.md
726
- - test/integration/Virtual_network_gateway_connection.rb
727
710
  - test/integration/application_gateway.rb
728
711
  - test/integration/availability_set.rb
729
712
  - test/integration/blob.rb
@@ -753,6 +736,7 @@ files:
753
736
  - test/integration/virtual_machine_extension.rb
754
737
  - test/integration/virtual_network.rb
755
738
  - test/integration/virtual_network_gateway.rb
739
+ - test/integration/virtual_network_gateway_connection.rb
756
740
  - test/integration/virtual_network_gateway_connection_to_express_route.rb
757
741
  - test/integration/zone.rb
758
742
  - test/models/application_gateway/test_gateway.rb
@@ -1066,22 +1050,22 @@ licenses:
1066
1050
  metadata: {}
1067
1051
  post_install_message: Thanks for installing!
1068
1052
  rdoc_options:
1069
- - "--charset=UTF-8"
1053
+ - --charset=UTF-8
1070
1054
  require_paths:
1071
1055
  - lib
1072
1056
  required_ruby_version: !ruby/object:Gem::Requirement
1073
1057
  requirements:
1074
- - - ">="
1058
+ - - '>='
1075
1059
  - !ruby/object:Gem::Version
1076
1060
  version: 2.0.0
1077
1061
  required_rubygems_version: !ruby/object:Gem::Requirement
1078
1062
  requirements:
1079
- - - ">="
1063
+ - - '>='
1080
1064
  - !ruby/object:Gem::Version
1081
1065
  version: '0'
1082
1066
  requirements: []
1083
1067
  rubyforge_project:
1084
- rubygems_version: 2.5.1
1068
+ rubygems_version: 2.4.8
1085
1069
  signing_key:
1086
1070
  specification_version: 4
1087
1071
  summary: Module for the 'fog' gem to support Azure Resource Manager cloud services.