azure-armrest 0.13.0 → 0.13.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
  SHA256:
3
- metadata.gz: 9871cdb7ba4cf5a50f47b497aade6aa18f601b3d93dcef2214d97671f451892f
4
- data.tar.gz: a3a4785c87ddefc29242806140decbecd639fa103565805e8a63efa72ae084e3
3
+ metadata.gz: 12f4a059e538066753cb956f71d13db85fb895f12face142cb9b5516c51dbadd
4
+ data.tar.gz: 6cdae8289f36fbec835b6f07b19c32b9c6b08ac1422ff406823060d263c0906e
5
5
  SHA512:
6
- metadata.gz: 4f2474bff6c9db05e72c9a9890cad96ecd5f6a351e099332aaffdb2793b64bf04eeb767935a12369d64b336eb7973668ca8838bcabac9890b6222e3e1e118212
7
- data.tar.gz: 9f03e1c398ed6336c7b5739fe5aefa92f99bd4748a74b89bfc31e5e839a50c973547e51bc972b8e60b3a086187398f9d866bbc2457cb887e007cc8ae4f146bfa
6
+ metadata.gz: 86787139be20517417847e92c8bb4039ef1146ad2c972f3b4c783a88ee9b8799f91de9ae3f7e883068a76831e449adbd1ad74f0358e17bacbcd12d5ed10edcbc
7
+ data.tar.gz: 7f1ac6d55bed4e56f7afd67a91afb40ec6b3cc04ffeb166a709d2facadf9ee997ad2fd6325cd8cddc76631d75ae414d9a3c684b5a6dd3f98446e7bea91083b6d
@@ -0,0 +1,29 @@
1
+ name: CI
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ ci:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ ruby-version:
11
+ - '2.5'
12
+ - '2.6'
13
+ - '2.7'
14
+ - '3.0'
15
+ env:
16
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: Set up Ruby
20
+ uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby-version }}
23
+ bundler-cache: true
24
+ - name: Run tests
25
+ run: bundle exec rake
26
+ - name: Report code coverage
27
+ if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }}
28
+ continue-on-error: true
29
+ uses: paambaati/codeclimate-action@v3.0.0
data/.rspec CHANGED
@@ -1,2 +1,3 @@
1
- --format documentation
1
+ --require spec_helper
2
2
  --color
3
+ --order random
data/.whitesource ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "settingsInheritedFrom": "ManageIQ/whitesource-config@master"
3
+ }
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ = 0.13.1 - 16-Feb-2022
2
+ * Fix issue with ActiveSupport 7+ (#415)
3
+ * Switch to GitHub Actions (#414)
4
+
1
5
  = 0.11.0 - 20-Apr-2021
2
6
  * Modify the VirtualMachineService#get method to include instance view
3
7
  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
- [![Build Status](https://travis-ci.org/ManageIQ/azure-armrest.svg)](https://travis-ci.org/ManageIQ/azure-armrest)
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
- [![Security](https://hakiri.io/github/ManageIQ/azure-armrest/master.svg)](https://hakiri.io/github/ManageIQ/azure-armrest/master)
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
 
@@ -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 '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.12.0'
26
- spec.add_dependency 'rest-client', '~> 2.1.0'
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.12.0"
26
+ spec.add_dependency "rest-client", "~> 2.1.0"
27
27
 
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'
33
- spec.add_development_dependency 'timecop', '~> 0.7'
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
@@ -1,6 +1,6 @@
1
1
  module Azure
2
2
  module Armrest
3
3
  # The version of the azure-armrest library.
4
- VERSION = '0.13.0'.freeze
4
+ VERSION = '0.13.1'.freeze
5
5
  end
6
6
  end
data/lib/azure/armrest.rb CHANGED
@@ -3,6 +3,7 @@ require 'json'
3
3
  require 'addressable'
4
4
  require 'parallel'
5
5
  require 'memoist'
6
+ require 'active_support'
6
7
  require 'active_support/core_ext/hash'
7
8
 
8
9
  # The Azure module serves as a namespace.
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure-armrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
8
8
  - Bronagh Sorota
9
9
  - Greg Blomquist
10
10
  - Bill Wei
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2021-08-11 00:00:00.000000000 Z
14
+ date: 2022-02-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
@@ -173,14 +173,14 @@ dependencies:
173
173
  requirements:
174
174
  - - ">="
175
175
  - !ruby/object:Gem::Version
176
- version: '0'
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: '0'
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
- - ".travis.yml"
218
+ - ".whitesource"
218
219
  - CHANGES
219
220
  - Gemfile
220
221
  - LICENSE
@@ -283,7 +284,7 @@ homepage: http://github.com/ManageIQ/azure-armrest
283
284
  licenses:
284
285
  - Apache-2.0
285
286
  metadata: {}
286
- post_install_message:
287
+ post_install_message:
287
288
  rdoc_options: []
288
289
  require_paths:
289
290
  - lib
@@ -298,8 +299,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
299
  - !ruby/object:Gem::Version
299
300
  version: '0'
300
301
  requirements: []
301
- rubygems_version: 3.2.5
302
- signing_key:
302
+ rubygems_version: 3.3.5
303
+ signing_key:
303
304
  specification_version: 4
304
305
  summary: An interface for ARM/JSON Azure REST API
305
306
  test_files: []
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