beaker-hostgenerator 1.18.0 → 2.0.0

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: 16540347041d92360ba40f436e60f4e2ed70619814dbb59c74997bc3639f28b9
4
- data.tar.gz: edf020e5aca17dec0db631a380c87d6a66028de004732a7189d5f94b8fd82d19
3
+ metadata.gz: 4d05d61bb5a7cc218e5739aee4f3f5716f62be0d7604c5fed65a6eb90d44c029
4
+ data.tar.gz: 4db4f8b93a1905249eb2608c8d8520829d6cd59490ef20ba7a349664b9555e18
5
5
  SHA512:
6
- metadata.gz: f5dca8dc5d3df2aff28a53a63fd440302e5eba1c9fd06f87a2f0fe7265aa46615cf3d87cbc7ec162818d379e9511b516529fcda317ab080a42728508a83943e4
7
- data.tar.gz: 2dd6e85f44ddfde8f5e004f2033b52f26e8c29fb4398b427dc3fb65f9c66ce35fd9980934e3019c95bceffc1c4887a02ca58c873d1c15623eab6c64296206fc4
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