otto 2.8.0 → 2.8.1

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: 2d4e92c540f41f9cad40b495f8a7106f49a11d8eb9b5011981c97bf585026065
4
- data.tar.gz: 10c592de40e1b0b35f57379b5dfca20a51b76967898e0cccce33d903fbfcb75d
3
+ metadata.gz: f94ca7311ea4fde801ec716a32f0136bd3802332ad654e368e69b7d6638c4d0f
4
+ data.tar.gz: 319fcb9bf53b73dada223539de15cbc8eb7e700f6aa6e53046306fd8abe391a1
5
5
  SHA512:
6
- metadata.gz: 21268aaf0ec8b815f8981691ef76fe9a41347eeb184b8bb04b7403d5c1aefda9339acd97bee280e53845f3acf17a17cd68175cb272153acfd176ff16183cb0c6
7
- data.tar.gz: 0d30534c168a390f3dec1cf8e35388e0cec48c7285a0c10e1358af71b03032a52043cb0fbad09d9578ccea34c8ee27ac49eb90eefc09d4b5cbe740f530a6b5f2
6
+ metadata.gz: f8097fc6d3b184a0e6775f728ecb3195301a36512ad270b22db1f6137d79b5a0f8a5173235f96b1d42408fd381248b2f669326e08b48c02505884e779a97c6d2
7
+ data.tar.gz: 0c035928bf9bd52096567cdea4e725c44b6fc8055999564c606db8eff50c302ae863bc018a4366022ed8c5899965929edb06837eff8405bbbef76a8c0ced1320
@@ -2,9 +2,9 @@
2
2
 
3
3
  name: Ruby Lint
4
4
 
5
- # Runs RuboCop across the supported Ruby versions. Linting is informational:
6
- # every dependency/lint step is continue-on-error, so style findings surface as
7
- # annotations without blocking merges.
5
+ # Runs RuboCop across supported, non-experimental Ruby versions. Lint failures
6
+ # block merges; existing debt is tracked explicitly in .rubocop_todo.yml so new
7
+ # violations cannot enter the codebase unnoticed.
8
8
 
9
9
  on:
10
10
  push:
@@ -20,7 +20,7 @@ on:
20
20
  inputs:
21
21
  debug_enabled:
22
22
  type: boolean
23
- description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
23
+ description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
24
24
  required: false
25
25
  default: false
26
26
 
@@ -32,12 +32,15 @@ jobs:
32
32
  timeout-minutes: 10 # prevent hung jobs
33
33
 
34
34
  runs-on: ubuntu-24.04
35
+ # RuboCop is declared in Otto's optional :development group. This must be
36
+ # set before ruby/setup-ruby so its Bundler cache includes the executable.
37
+ env:
38
+ BUNDLE_WITH: "development"
35
39
 
36
40
  strategy:
37
41
  fail-fast: true
38
42
  matrix:
39
- ruby: ['3.2', '3.3', '3.4', '3.5', '4.0']
40
- continue-on-error: [true]
43
+ ruby: ["3.2", "3.3", "3.4"]
41
44
 
42
45
  steps:
43
46
  - name: Checkout code
@@ -55,12 +58,10 @@ jobs:
55
58
  detached: true
56
59
 
57
60
  - name: Install dependencies
58
- continue-on-error: ${{ matrix.continue-on-error }}
59
61
  run: |
60
62
  bundle config path vendor/bundle
61
63
  bundle install --jobs 4 --retry 3
62
64
 
63
65
  - name: Run Rubocop
64
- continue-on-error: ${{ matrix.continue-on-error }}
65
66
  run: |
66
67
  bundle exec rubocop --config .rubocop.yml --format json --fail-level warning
data/.rubocop.yml CHANGED
@@ -1,3 +1,5 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
1
3
  # .rubocop.yml
2
4
 
3
5
  ##
@@ -19,7 +21,6 @@ AllCops:
19
21
  MaxFilesInCache: 100
20
22
  TargetRubyVersion: 3.2
21
23
  Exclude:
22
- - "spec/**/*"
23
24
  - "vendor/**/*"
24
25
 
25
26
  #