2020-03-07 01:30:57 +01:00
|
|
|
# frozen_string_literal: true
|
2013-05-03 15:32:08 +02:00
|
|
|
|
2020-03-07 01:28:17 +01:00
|
|
|
require_relative 'lib/openvpn-status-web/version'
|
2013-05-03 15:32:08 +02:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2020-03-01 22:13:23 +01:00
|
|
|
s.name = 'openvpn-status-web'
|
2013-05-03 15:32:08 +02:00
|
|
|
s.version = OpenVPNStatusWeb::VERSION
|
|
|
|
s.summary = 'openvpn-status-web'
|
2013-05-03 15:39:50 +02:00
|
|
|
s.description = 'Small Rack (Ruby) application serving OpenVPN status file.'
|
2018-11-02 10:11:55 +01:00
|
|
|
s.author = 'Christian Nicolai'
|
2020-03-07 01:28:17 +01:00
|
|
|
|
2020-03-01 22:13:23 +01:00
|
|
|
s.homepage = 'https://github.com/cmur2/openvpn-status-web'
|
2018-11-02 10:11:55 +01:00
|
|
|
s.license = 'Apache-2.0'
|
2020-03-07 01:28:17 +01:00
|
|
|
s.metadata = {
|
|
|
|
'bug_tracker_uri' => "#{s.homepage}/issues",
|
|
|
|
'source_code_uri' => s.homepage
|
|
|
|
}
|
2013-05-03 15:32:08 +02:00
|
|
|
|
2020-03-07 01:28:17 +01:00
|
|
|
s.files = `git ls-files -z`.split("\x0").select do |f|
|
|
|
|
f.match(%r{^(init.d|lib)/})
|
|
|
|
end
|
2013-05-03 15:32:08 +02:00
|
|
|
s.require_paths = ['lib']
|
2020-03-07 01:28:17 +01:00
|
|
|
s.bindir = 'exe'
|
2013-05-03 15:32:08 +02:00
|
|
|
s.executables = ['openvpn-status-web']
|
2020-03-07 01:28:17 +01:00
|
|
|
s.extra_rdoc_files = Dir['README.md', 'LICENSE']
|
2013-05-03 15:32:08 +02:00
|
|
|
|
2024-03-03 11:28:40 +01:00
|
|
|
s.required_ruby_version = '>= 3.0'
|
2018-11-02 10:11:55 +01:00
|
|
|
|
2013-05-03 15:32:08 +02:00
|
|
|
s.add_runtime_dependency 'metriks'
|
2022-09-07 19:46:37 +02:00
|
|
|
s.add_runtime_dependency 'rack', '~> 3.0'
|
2023-01-19 16:36:35 +01:00
|
|
|
s.add_runtime_dependency 'rackup', '~> 2'
|
2020-10-03 11:03:01 +02:00
|
|
|
s.add_runtime_dependency 'webrick', '>= 1.6.1'
|
2013-05-03 15:32:08 +02:00
|
|
|
|
2020-03-01 22:13:23 +01:00
|
|
|
s.add_development_dependency 'better_errors'
|
|
|
|
s.add_development_dependency 'binding_of_caller'
|
2018-11-02 10:11:55 +01:00
|
|
|
s.add_development_dependency 'bundler'
|
2021-09-01 23:16:45 +02:00
|
|
|
s.add_development_dependency 'bundler-audit', '~> 0.9.0'
|
2020-03-01 22:13:23 +01:00
|
|
|
s.add_development_dependency 'rack-test'
|
2013-05-03 15:32:08 +02:00
|
|
|
s.add_development_dependency 'rake'
|
|
|
|
s.add_development_dependency 'rspec'
|
2024-03-03 11:29:44 +01:00
|
|
|
s.add_development_dependency 'rubocop', '~> 1.61.0'
|
2021-06-29 20:16:23 +02:00
|
|
|
s.add_development_dependency 'rubocop-rake', '~> 0.6.0'
|
2024-01-06 16:46:29 +01:00
|
|
|
s.add_development_dependency 'rubocop-rspec', '~> 2.26.1'
|
2023-12-06 23:15:30 +01:00
|
|
|
s.add_development_dependency 'solargraph', '~> 0.50.0'
|
2013-05-03 15:32:08 +02:00
|
|
|
end
|