1
0
mirror of https://github.com/cmur2/openvpn-status-web.git synced 2024-12-22 12:54:24 +01:00

gem: add Ruby 3.3 support, drop Ruby 2.7 due to EOL

This commit is contained in:
cn 2024-03-03 11:28:40 +01:00
parent 88b41c8998
commit d75cf2aade
3 changed files with 3 additions and 3 deletions

View File

@ -16,10 +16,10 @@ jobs:
strategy: strategy:
matrix: matrix:
ruby-version: ruby-version:
- '2.7'
- '3.0' - '3.0'
- '3.1' - '3.1'
- '3.2' - '3.2'
- '3.3'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }} - name: Set up Ruby ${{ matrix.ruby-version }}

View File

@ -3,7 +3,7 @@ require:
- rubocop-rspec - rubocop-rspec
AllCops: AllCops:
TargetRubyVersion: '2.7' TargetRubyVersion: 3.0'
NewCops: enable NewCops: enable
Gemspec/DevelopmentDependencies: Gemspec/DevelopmentDependencies:

View File

@ -24,7 +24,7 @@ Gem::Specification.new do |s|
s.executables = ['openvpn-status-web'] s.executables = ['openvpn-status-web']
s.extra_rdoc_files = Dir['README.md', 'LICENSE'] s.extra_rdoc_files = Dir['README.md', 'LICENSE']
s.required_ruby_version = '>= 2.7' s.required_ruby_version = '>= 3.0'
s.add_runtime_dependency 'metriks' s.add_runtime_dependency 'metriks'
s.add_runtime_dependency 'rack', '~> 3.0' s.add_runtime_dependency 'rack', '~> 3.0'