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
|
|
|
|
2020-07-14 19:57:25 +02:00
|
|
|
s.required_ruby_version = '>= 2.5'
|
2018-11-02 10:11:55 +01:00
|
|
|
|
2013-05-03 15:32:08 +02:00
|
|
|
s.add_runtime_dependency 'metriks'
|
2020-03-01 22:13:23 +01:00
|
|
|
s.add_runtime_dependency 'rack', '~> 2.0'
|
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-03-11 12:17:09 +01:00
|
|
|
s.add_development_dependency 'bundler-audit', '~> 0.8.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'
|
2021-06-02 10:22:02 +02:00
|
|
|
s.add_development_dependency 'rubocop', '~> 1.16.0'
|
2020-12-25 18:16:27 +01:00
|
|
|
s.add_development_dependency 'rubocop-rake', '~> 0.5.1'
|
2021-04-29 13:21:45 +02:00
|
|
|
s.add_development_dependency 'rubocop-rspec', '~> 2.3.0'
|
2020-12-25 17:49:48 +01:00
|
|
|
s.add_development_dependency 'solargraph', ' ~> 0.40.0'
|
2013-05-03 15:32:08 +02:00
|
|
|
end
|