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:
parent
88b41c8998
commit
d75cf2aade
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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 }}
|
||||||
|
@ -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:
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user