cloudstack_client 1.6.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99f564bf41bdccf82b53c267179080034a91d8ab0650b164c8099a6e4cdba289
4
- data.tar.gz: 79fc42e2f3dcef1ae5111edc9e19d70158e42c444d2814f5a637d4de4e8612bb
3
+ metadata.gz: 87ff0b038fbb9bcf2274f9c5ec9fa2cb1bea48cee3f231a84ce1741df43a4eeb
4
+ data.tar.gz: 7476b65e436ad7ebce778a89b0abac81633abf13ebf223c3cd8cabff43ddea7f
5
5
  SHA512:
6
- metadata.gz: 76fadda1e05ea7b8083323bd780bd8ac876e29a3f807d8e2486a1142dd6f88d4f8ef71dfececb105c4f180f8cf4650bfad113eb9483048762df6b5c9aac42669
7
- data.tar.gz: a140a1f97df576782796745c7f64a012b9be86a355f48cd50a223765889cce489c2cb8698cbed70ee4d7479c25c88ded4b45540148282ff636e8c753028ed943
6
+ metadata.gz: d2b558efce5d172b636685fdce5b5749cdfbcc1eeff144648c756e76cc6aef3b68cb42eeac30d3e4fec71c7089d75ebe305d6a370a7b942dadf3a8f42f58175e
7
+ data.tar.gz: bf07f20fcb83458b2bc7d41f0887df51137f099adb4d562038244ba3141698eb1683c2da1dcb2e036250942519991e4337290fbe4b3d21851830d30e1712ba60
@@ -0,0 +1,23 @@
1
+ version: 2
2
+
3
+ updates:
4
+ - package-ecosystem: bundler
5
+ directory: "/"
6
+ schedule:
7
+ interval: weekly
8
+ open-pull-requests-limit: 5
9
+ groups:
10
+ # Keep routine version bumps to a single PR; majors still arrive alone.
11
+ minor-and-patch:
12
+ update-types:
13
+ - minor
14
+ - patch
15
+
16
+ - package-ecosystem: github-actions
17
+ directory: "/"
18
+ schedule:
19
+ interval: weekly
20
+ groups:
21
+ actions:
22
+ patterns:
23
+ - "*"
@@ -2,6 +2,7 @@ name: CI
2
2
 
3
3
  on:
4
4
  push:
5
+ branches: [main]
5
6
  pull_request:
6
7
 
7
8
  permissions:
@@ -9,18 +10,25 @@ permissions:
9
10
 
10
11
  jobs:
11
12
  test:
12
- runs-on: ubuntu-latest
13
+ name: "Ruby ${{ matrix.ruby-version }}"
14
+ runs-on: ${{ matrix.os }}
13
15
  strategy:
14
16
  fail-fast: false
15
17
  matrix:
16
- ruby-version: ['3.2', '3.3']
18
+ ruby-version: ['3.1', '3.2', '3.3', '3.4', '4.0']
19
+ os: [ubuntu-latest]
20
+ include:
21
+ # Ruby 3.0 is EOL and unavailable on ubuntu-latest, but the gemspec
22
+ # still supports it, so it is verified on the last image that has it.
23
+ - ruby-version: '3.0'
24
+ os: ubuntu-22.04
17
25
 
18
26
  steps:
19
27
  - name: Checkout repository
20
- uses: actions/checkout@v4
28
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
21
29
 
22
30
  - name: Set up Ruby
23
- uses: ruby/setup-ruby@v1
31
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
24
32
  with:
25
33
  ruby-version: ${{ matrix.ruby-version }}
26
34
  bundler-cache: true
@@ -30,3 +38,20 @@ jobs:
30
38
 
31
39
  - name: Build gem
32
40
  run: bundle exec rake build
41
+
42
+ lint:
43
+ name: RuboCop
44
+ runs-on: ubuntu-latest
45
+
46
+ steps:
47
+ - name: Checkout repository
48
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
49
+
50
+ - name: Set up Ruby
51
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
52
+ with:
53
+ ruby-version: '3.4'
54
+ bundler-cache: true
55
+
56
+ - name: Run RuboCop
57
+ run: bundle exec rubocop --format github
@@ -3,12 +3,9 @@ name: Release
3
3
  on:
4
4
  release:
5
5
  types: [published]
6
- push:
7
- branches: [ "main" ]
8
6
 
9
7
  permissions:
10
- contents: write
11
- id-token: write
8
+ contents: read
12
9
 
13
10
  jobs:
14
11
  verify:
@@ -16,10 +13,10 @@ jobs:
16
13
 
17
14
  steps:
18
15
  - name: Checkout repository
19
- uses: actions/checkout@v4
16
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20
17
 
21
18
  - name: Set up Ruby
22
- uses: ruby/setup-ruby@v1
19
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
23
20
  with:
24
21
  ruby-version: '3.2'
25
22
  bundler-cache: true
@@ -43,20 +40,21 @@ jobs:
43
40
  runs-on: ubuntu-latest
44
41
  needs: verify
45
42
  environment: rubygems
43
+ permissions:
44
+ contents: write
45
+ id-token: write
46
46
 
47
47
 
48
48
 
49
49
  steps:
50
50
  - name: Checkout repository
51
- uses: actions/checkout@v4
51
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
52
52
 
53
53
  - name: Set up Ruby
54
- uses: ruby/setup-ruby@v1
54
+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
55
55
  with:
56
56
  ruby-version: '3.2'
57
57
  bundler-cache: true
58
58
 
59
59
  - name: Publish gem to RubyGems
60
- uses: rubygems/release-gem@v1
61
- with:
62
- api-key: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
60
+ uses: rubygems/release-gem@7f9650160c1a4e7989fdc9855807bdbd421d8b6b # v1.4.1
data/.gitignore CHANGED
@@ -4,3 +4,7 @@ vendor
4
4
  vendor/*
5
5
  pkg/*
6
6
  pkg
7
+
8
+ # Gemfile.lock is not checked in for libraries: each supported Ruby version
9
+ # resolves its own compatible dependency set in CI.
10
+ Gemfile.lock
data/.rubocop.yml ADDED
@@ -0,0 +1,33 @@
1
+ plugins:
2
+ - rubocop-minitest
3
+ - rubocop-rake
4
+
5
+ AllCops:
6
+ TargetRubyVersion: 3.0
7
+ NewCops: enable
8
+ SuggestExtensions: false
9
+ Exclude:
10
+ - 'data/**/*'
11
+ - 'test/data/**/*'
12
+ - 'vendor/**/*'
13
+
14
+ inherit_from: .rubocop_todo.yml
15
+
16
+ # This gem predates frozen string literals and does not mutate string literals
17
+ # in place; enabling this would be churn without benefit.
18
+ Style/FrozenStringLiteralComment:
19
+ Enabled: false
20
+
21
+ # Documentation lives in the README rather than as class level comments.
22
+ Style/Documentation:
23
+ Enabled: false
24
+
25
+ # A gemspec is one long block by construction, and test suites are long blocks
26
+ # of describe/it. Neither is a useful complexity signal.
27
+ Metrics/BlockLength:
28
+ Exclude:
29
+ - 'test/**/*'
30
+ - '*.gemspec'
31
+
32
+ Layout/LineLength:
33
+ Max: 120