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

gem: bump minimum required Ruby version to Ruby 2.5 (#14)

This commit is contained in:
Christian Nicolai 2020-07-14 19:57:25 +02:00 committed by GitHub
parent 78f45f5080
commit ac647a4f21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,6 @@
AllCops: AllCops:
TargetRubyVersion: '2.3' TargetRubyVersion: '2.5'
NewCops: enable
Layout/EmptyLineAfterGuardClause: Layout/EmptyLineAfterGuardClause:
Enabled: false Enabled: false

View File

@ -5,8 +5,6 @@ rvm:
- 2.7 - 2.7
- 2.6 - 2.6
- 2.5 - 2.5
- 2.4
- 2.3
script: script:
- bundle exec rake travis - bundle exec rake travis

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.3' s.required_ruby_version = '>= 2.5'
s.add_runtime_dependency 'metriks' s.add_runtime_dependency 'metriks'
s.add_runtime_dependency 'rack', '~> 2.0' s.add_runtime_dependency 'rack', '~> 2.0'
@ -36,6 +36,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rack-test' s.add_development_dependency 'rack-test'
s.add_development_dependency 'rake' s.add_development_dependency 'rake'
s.add_development_dependency 'rspec' s.add_development_dependency 'rspec'
s.add_development_dependency 'rubocop', '~> 0.81.0' s.add_development_dependency 'rubocop', '~> 0.82.0'
s.add_development_dependency 'solargraph' s.add_development_dependency 'solargraph'
end end