diff --git a/openvpn-status-web.gemspec b/openvpn-status-web.gemspec index 214c48f..d5aaa98 100644 --- a/openvpn-status-web.gemspec +++ b/openvpn-status-web.gemspec @@ -1,5 +1,5 @@ -$:.push File.expand_path("../lib", __FILE__) +$LOAD_PATH.push File.expand_path('lib', __dir__) require 'openvpn-status-web/version' @@ -8,22 +8,22 @@ Gem::Specification.new do |s| s.version = OpenVPNStatusWeb::VERSION s.summary = 'openvpn-status-web' s.description = 'Small Rack (Ruby) application serving OpenVPN status file.' - s.author = 'Christian Nicolai' + s.author = 'Christian Nicolai' s.email = 'chrnicolai@gmail.com' - s.license = 'Apache License Version 2.0' - s.homepage = 'https://github.com/cmur2/openvpn-status-web' + s.homepage = 'https://github.com/cmur2/dyndnsd' + s.license = 'Apache-2.0' - s.files = `git ls-files`.split($/) + s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) s.test_files = s.files.grep(%r{^(test|spec|features)/}) - s.require_paths = ['lib'] - s.executables = ['openvpn-status-web'] - s.add_runtime_dependency 'rack' + s.required_ruby_version = '>= 2.3' + + s.add_runtime_dependency 'rack', '~> 2.0' s.add_runtime_dependency 'metriks' - s.add_development_dependency 'bundler', '~> 1.3' + s.add_development_dependency 'bundler' s.add_development_dependency 'rake' s.add_development_dependency 'rspec' s.add_development_dependency 'rack-test'