Skip to content

Commit b2c9dfb

Browse files
committed
feat!: Set minimum Ruby version to 3.2
1 parent efe2dea commit b2c9dfb

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/linters.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
reviewdog:
1212
name: Reviewdog
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
pull-requests: write
1417

1518
steps:
1619
- name: Checkout repository
@@ -19,7 +22,7 @@ jobs:
1922
- name: Set up Ruby
2023
uses: ruby/setup-ruby@v1
2124
with:
22-
ruby-version: '3.0'
25+
ruby-version: '3.2'
2326
bundler-cache: true
2427

2528
- name: Set up Reviewdog

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
ruby: ['3.0', '3.1', '3.2', '3.3', '3.4', '4.0']
17+
ruby: ['3.2', '3.3', '3.4', '4.0']
1818

1919
steps:
2020
- name: Checkout repository

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ AllCops:
1515
- vendor/**/*
1616
NewCops: enable
1717
SuggestExtensions: false
18-
TargetRubyVersion: 3.0
18+
TargetRubyVersion: 3.2
1919

2020
Lint/MissingSuper:
2121
Exclude:

lib/tiny_admin/context.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module TinyAdmin
77
:repository,
88
:request,
99
:router,
10-
:slug,
11-
keyword_init: true
10+
:slug
1211
)
1312
end

tiny_admin.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
1212
spec.description = "A compact and composable dashboard component for Ruby"
1313
spec.license = "MIT"
1414

15-
spec.required_ruby_version = ">= 3.0.0"
15+
spec.required_ruby_version = ">= 3.2.0"
1616

1717
spec.author = "Mattia Roccoberton"
1818
spec.email = "mat@blocknot.es"

0 commit comments

Comments
 (0)