azure-armrest 0.13.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yaml +34 -0
- data/.rspec +2 -1
- data/.whitesource +3 -0
- data/CHANGES +12 -0
- data/README.md +3 -4
- data/azure-armrest.gemspec +13 -13
- data/lib/azure/armrest/armrest_service.rb +2 -0
- data/lib/azure/armrest/environment.rb +0 -17
- data/lib/azure/armrest/model/base_model.rb +1 -0
- data/lib/azure/armrest/model/storage_account.rb +1 -0
- data/lib/azure/armrest/resource_group_based_service.rb +1 -0
- data/lib/azure/armrest/version.rb +1 -1
- data/lib/azure/armrest.rb +1 -0
- metadata +9 -8
- data/.travis.yml +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba1606f21cfb986d9c7a3b7d45a61515f0b5cf6729ab05743ba93577e9f99649
|
4
|
+
data.tar.gz: ae4cc96468290c4befe2976b97e11204f89b25b728f1db79fc07272b0a89f52c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 182daca6dd78e622a8b87b85e1c27e5e1e15de87ffb3128240faea47d8073d8d99063c519809964db06bb667e54ab774b927a6e66b1b99f938c7a8497afc7d97
|
7
|
+
data.tar.gz: 63d5304358c1433447d40cde4d79491ee1f17b6ce97894e70b2e8b548b935460b77525ef05d80dbfe145ce73a22a48a1bcb784228a90c0eb3759a6994ca53a0b
|
@@ -0,0 +1,34 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
pull_request:
|
6
|
+
schedule:
|
7
|
+
- cron: '0 0 * * 0'
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
ci:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby-version:
|
15
|
+
- '2.5'
|
16
|
+
- '2.6'
|
17
|
+
- '2.7'
|
18
|
+
- '3.0'
|
19
|
+
env:
|
20
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v2
|
23
|
+
- name: Set up Ruby
|
24
|
+
uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: ${{ matrix.ruby-version }}
|
27
|
+
bundler-cache: true
|
28
|
+
timeout-minutes: 30
|
29
|
+
- name: Run tests
|
30
|
+
run: bundle exec rake
|
31
|
+
- name: Report code coverage
|
32
|
+
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }}
|
33
|
+
continue-on-error: true
|
34
|
+
uses: paambaati/codeclimate-action@v3.0.0
|
data/.rspec
CHANGED
data/.whitesource
ADDED
data/CHANGES
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
= 0.15.0 - 2-Aug-2022
|
2
|
+
* Update parallel gem to v1.22
|
3
|
+
|
4
|
+
= 0.14.0 - 25-May-2022
|
5
|
+
* Fix undefined method delegate (#418)
|
6
|
+
* Remove the deprecated `Microsoft Cloud Deutschland` environment (#417)
|
7
|
+
* Fix issue with ActiveSupport 7+ (#419)
|
8
|
+
|
9
|
+
= 0.13.1 - 16-Feb-2022
|
10
|
+
* Fix issue with ActiveSupport 7+ (#415)
|
11
|
+
* Switch to GitHub Actions (#414)
|
12
|
+
|
1
13
|
= 0.11.0 - 20-Apr-2021
|
2
14
|
* Modify the VirtualMachineService#get method to include instance view
|
3
15
|
information
|
data/README.md
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
## Description
|
2
2
|
|
3
|
-
[![Join the chat at https://gitter.im/ManageIQ/azure-armrest](https://badges.gitter.im/ManageIQ/azure-armrest.svg)](https://gitter.im/ManageIQ/azure-armrest?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
4
|
-
|
5
3
|
A Ruby interface for Azure using the new REST API.
|
6
4
|
|
7
5
|
[![Gem Version](https://badge.fury.io/rb/azure-armrest.svg)](http://badge.fury.io/rb/azure-armrest)
|
8
|
-
[![
|
6
|
+
[![CI](https://github.com/ManageIQ/azure-armrest/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/azure-armrest/actions/workflows/ci.yaml)
|
9
7
|
[![Code Climate](https://codeclimate.com/github/ManageIQ/azure-armrest/badges/gpa.svg)](https://codeclimate.com/github/ManageIQ/azure-armrest)
|
10
8
|
[![Test Coverage](https://codeclimate.com/github/ManageIQ/azure-armrest/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/azure-armrest/coverage)
|
11
|
-
|
9
|
+
|
10
|
+
[![Join the chat at https://gitter.im/ManageIQ/azure-armrest](https://badges.gitter.im/ManageIQ/azure-armrest.svg)](https://gitter.im/ManageIQ/azure-armrest?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
12
11
|
|
13
12
|
## Synopsis
|
14
13
|
|
data/azure-armrest.gemspec
CHANGED
@@ -17,18 +17,18 @@ different than the current azure gem, which uses the older (XML) interface
|
|
17
17
|
behind the scenes.
|
18
18
|
EOF
|
19
19
|
|
20
|
-
spec.add_dependency
|
21
|
-
spec.add_dependency
|
22
|
-
spec.add_dependency
|
23
|
-
spec.add_dependency
|
24
|
-
spec.add_dependency
|
25
|
-
spec.add_dependency
|
26
|
-
spec.add_dependency
|
20
|
+
spec.add_dependency "activesupport", ">= 4.2.2"
|
21
|
+
spec.add_dependency "addressable", "~> 2.8"
|
22
|
+
spec.add_dependency "azure-signature", "~> 0.3.0"
|
23
|
+
spec.add_dependency "json", "~> 2"
|
24
|
+
spec.add_dependency "memoist", "~> 0.15"
|
25
|
+
spec.add_dependency "parallel", "~> 1.22"
|
26
|
+
spec.add_dependency "rest-client", "~> 2.1.0"
|
27
27
|
|
28
|
-
spec.add_development_dependency
|
29
|
-
spec.add_development_dependency
|
30
|
-
spec.add_development_dependency
|
31
|
-
spec.add_development_dependency
|
32
|
-
spec.add_development_dependency
|
33
|
-
spec.add_development_dependency
|
28
|
+
spec.add_development_dependency "bundler"
|
29
|
+
spec.add_development_dependency "manageiq-style"
|
30
|
+
spec.add_development_dependency "rake"
|
31
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
32
|
+
spec.add_development_dependency "simplecov", ">= 0.21.2"
|
33
|
+
spec.add_development_dependency "timecop", "~> 0.7"
|
34
34
|
end
|
@@ -154,23 +154,6 @@ module Azure
|
|
154
154
|
:traffic_manager_dns_suffix => 'usgovtrafficmanager.net',
|
155
155
|
)
|
156
156
|
|
157
|
-
Germany = new(
|
158
|
-
:name => 'Germany',
|
159
|
-
:active_directory_authority => 'https://login.microsoftonline.de/',
|
160
|
-
:active_directory_resource_id => 'https://management.core.cloudapi.de/',
|
161
|
-
:gallery_url => 'https://gallery.cloudapi.de/',
|
162
|
-
:graph_url => 'https://graph.cloudapi.de/',
|
163
|
-
:graph_api_version => '1.6',
|
164
|
-
:key_vault_dns_suffix => 'vault.microsoftazure.de',
|
165
|
-
:key_vault_service_resource_id => 'https://vault.microsoftazure.de',
|
166
|
-
:publish_settings_file_url => 'https://manage.microsoftazure.de/publishsettings/index',
|
167
|
-
:resource_manager_url => 'https://management.microsoftazure.de/',
|
168
|
-
:service_management_url => 'https://management.core.cloudapi.de/',
|
169
|
-
:sql_database_dns_suffix => 'database.cloudapi.de',
|
170
|
-
:storage_suffix => 'core.cloudapi.de',
|
171
|
-
:traffic_manager_dns_suffix => 'azuretrafficmanager.de'
|
172
|
-
)
|
173
|
-
|
174
157
|
China = new(
|
175
158
|
:name => 'China',
|
176
159
|
:active_directory_authority => 'https://login.chinacloudapi.cn',
|
data/lib/azure/armrest.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure-armrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2022-08-02 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
@@ -89,14 +89,14 @@ dependencies:
|
|
89
89
|
requirements:
|
90
90
|
- - "~>"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: 1.
|
92
|
+
version: '1.22'
|
93
93
|
type: :runtime
|
94
94
|
prerelease: false
|
95
95
|
version_requirements: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
97
|
- - "~>"
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: 1.
|
99
|
+
version: '1.22'
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: rest-client
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,14 +173,14 @@ dependencies:
|
|
173
173
|
requirements:
|
174
174
|
- - ">="
|
175
175
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
176
|
+
version: 0.21.2
|
177
177
|
type: :development
|
178
178
|
prerelease: false
|
179
179
|
version_requirements: !ruby/object:Gem::Requirement
|
180
180
|
requirements:
|
181
181
|
- - ">="
|
182
182
|
- !ruby/object:Gem::Version
|
183
|
-
version:
|
183
|
+
version: 0.21.2
|
184
184
|
- !ruby/object:Gem::Dependency
|
185
185
|
name: timecop
|
186
186
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,12 +209,13 @@ extensions: []
|
|
209
209
|
extra_rdoc_files: []
|
210
210
|
files:
|
211
211
|
- ".codeclimate.yml"
|
212
|
+
- ".github/workflows/ci.yaml"
|
212
213
|
- ".gitignore"
|
213
214
|
- ".rspec"
|
214
215
|
- ".rubocop.yml"
|
215
216
|
- ".rubocop_cc.yml"
|
216
217
|
- ".rubocop_local.yml"
|
217
|
-
- ".
|
218
|
+
- ".whitesource"
|
218
219
|
- CHANGES
|
219
220
|
- Gemfile
|
220
221
|
- LICENSE
|
@@ -298,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
298
299
|
- !ruby/object:Gem::Version
|
299
300
|
version: '0'
|
300
301
|
requirements: []
|
301
|
-
rubygems_version: 3.
|
302
|
+
rubygems_version: 3.3.15
|
302
303
|
signing_key:
|
303
304
|
specification_version: 4
|
304
305
|
summary: An interface for ARM/JSON Azure REST API
|
data/.travis.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
cache: bundler
|
3
|
-
rvm:
|
4
|
-
- "2.5.7"
|
5
|
-
- "2.6.5"
|
6
|
-
- ruby-head
|
7
|
-
- jruby-head
|
8
|
-
matrix:
|
9
|
-
allow_failures:
|
10
|
-
- rvm: ruby-head
|
11
|
-
- rvm: jruby-head
|
12
|
-
fast_finish: true
|
13
|
-
before_script:
|
14
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
15
|
-
- chmod +x ./cc-test-reporter
|
16
|
-
- ./cc-test-reporter before-build
|
17
|
-
after_script:
|
18
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|