beaker-hostgenerator 1.18.1 → 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: 99de0611f4a7330a169bc12359213635eadc4e820fea6d860727d5f74d0f3043
4
- data.tar.gz: 7eceed33b7804cab7f940b77cee75d0c0a1e54de625e5908b3ee4eca19ba0b1b
3
+ metadata.gz: 4d05d61bb5a7cc218e5739aee4f3f5716f62be0d7604c5fed65a6eb90d44c029
4
+ data.tar.gz: 4db4f8b93a1905249eb2608c8d8520829d6cd59490ef20ba7a349664b9555e18
5
5
  SHA512:
6
- metadata.gz: a2e3a91bdca8780e3679a0f24b88c8e48517da3d4209579433a348010a2a0213bd2a25d4a4d8b6fabbde33e5e5c12c30c48121aa0fd314c209858c0d12a7cb59
7
- data.tar.gz: b534f3e88f5fc4f90f1d517ea00e13f9caa30d665abaf5ceea15dcd604df8977487b356eac41fefeea3d0d65e10407900250f0081fe4c4e8b499ec8773b52dcb
6
+ metadata.gz: 2e214fc0e5a875f751b3d0a6ff8a0139aff20516aabd5feb10c008d065978647c58a6ef7631c681940cb256f25da925da46d0e8f31c09d747f021287b841c712
7
+ data.tar.gz: c9e58ccd0fa1320ae757028c6c54f6d35fb35f6e658582189222648ff06986a3acd5e1405b1b17277e80ceda9a3dc4054a5cb7ea8b3de123e58a8ab555fd76e4
@@ -1,8 +1,17 @@
1
1
  version: 2
2
2
  updates:
3
+ # raise PRs for gem updates
3
4
  - package-ecosystem: bundler
4
5
  directory: "/"
5
6
  schedule:
6
7
  interval: daily
7
8
  time: "13:00"
8
9
  open-pull-requests-limit: 10
10
+
11
+ # Maintain dependencies for GitHub Actions
12
+ - package-ecosystem: github-actions
13
+ directory: "/"
14
+ schedule:
15
+ interval: daily
16
+ time: "13:00"
17
+ open-pull-requests-limit: 10
@@ -10,7 +10,7 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  if: github.repository_owner == 'voxpupuli'
12
12
  steps:
13
- - uses: actions/checkout@v2
13
+ - uses: actions/checkout@v3
14
14
  - name: Install Ruby 3.0
15
15
  uses: ruby/setup-ruby@v1
16
16
  with:
@@ -1,30 +1,42 @@
1
1
  name: Test
2
2
 
3
3
  on:
4
- - pull_request
5
- - push
6
-
7
- env:
8
- BUNDLE_WITHOUT: release
4
+ pull_request: {}
5
+ push:
6
+ branches:
7
+ - master
9
8
 
10
9
  jobs:
10
+ rubocop:
11
+ env:
12
+ BUNDLE_WITHOUT: release
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - name: Install Ruby ${{ matrix.ruby }}
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: "3.1"
20
+ bundler-cache: true
21
+ - name: Run Rubocop
22
+ run: bundle exec rake rubocop
23
+
11
24
  test:
12
25
  runs-on: ubuntu-latest
13
26
  strategy:
14
27
  fail-fast: false
15
28
  matrix:
16
29
  include:
17
- - ruby: "2.4"
18
- - ruby: "2.5"
19
- - ruby: "2.6"
20
30
  - ruby: "2.7"
21
31
  - ruby: "3.0"
22
32
  - ruby: "3.1"
23
33
  coverage: "yes"
34
+ - ruby: "3.2"
24
35
  env:
25
36
  COVERAGE: ${{ matrix.coverage }}
37
+ BUNDLE_WITHOUT: release:rubocop
26
38
  steps:
27
- - uses: actions/checkout@v2
39
+ - uses: actions/checkout@v3
28
40
  - name: Install Ruby ${{ matrix.ruby }}
29
41
  uses: ruby/setup-ruby@v1
30
42
  with:
@@ -34,3 +46,12 @@ jobs:
34
46
  run: bundle exec rake
35
47
  - name: Build gem
36
48
  run: gem build *.gemspec
49
+
50
+ tests:
51
+ needs:
52
+ - rubocop
53
+ - test
54
+ runs-on: ubuntu-latest
55
+ name: Test suite
56
+ steps:
57
+ - run: echo Test suite completed
data/.rubocop.yml ADDED
@@ -0,0 +1,30 @@
1
+ ---
2
+ inherit_from: .rubocop_todo.yml
3
+
4
+ require:
5
+ - rubocop-minitest
6
+ - rubocop-performance
7
+ - rubocop-rake
8
+ - rubocop-rspec
9
+
10
+ AllCops:
11
+ NewCops: enable
12
+ TargetRubyVersion: 2.7
13
+
14
+ Layout/FirstArrayElementIndentation:
15
+ Enabled: false
16
+
17
+ Style/TrailingCommaInHashLiteral:
18
+ Enabled: True
19
+ EnforcedStyleForMultiline: consistent_comma
20
+
21
+ Style/TrailingCommaInArrayLiteral:
22
+ Enabled: True
23
+ EnforcedStyleForMultiline: consistent_comma
24
+
25
+ Style/TrailingCommaInArguments:
26
+ Enabled: True
27
+ EnforcedStyleForMultiline: comma
28
+
29
+ Gemspec/RequireMFA:
30
+ Enabled: false