2022-01-18 05:20:37 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require_relative 'lib/kernaux/version'
|
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
repo = 'https://github.com/tailix/libkernaux'
|
2022-06-08 21:25:27 -04:00
|
|
|
home = "#{repo}/tree/master/bindings/ruby"
|
2022-01-29 21:45:47 -05:00
|
|
|
bugs = "#{repo}/issues"
|
2022-05-31 15:43:40 -04:00
|
|
|
docs = "https://www.rubydoc.info/gems/kernaux/#{KernAux::VERSION}"
|
2022-01-18 05:20:37 -05:00
|
|
|
|
|
|
|
spec.name = 'kernaux'
|
|
|
|
spec.version = KernAux::VERSION
|
|
|
|
spec.license = 'MIT'
|
2022-01-29 21:45:47 -05:00
|
|
|
spec.homepage = home
|
2022-01-18 05:20:37 -05:00
|
|
|
spec.platform = Gem::Platform::RUBY
|
|
|
|
|
|
|
|
spec.required_ruby_version = '~> 3.0'
|
|
|
|
|
|
|
|
spec.authors = ['Alex Kotov']
|
|
|
|
spec.email = %w[kotovalexarian@gmail.com]
|
|
|
|
|
2022-01-29 16:13:39 -05:00
|
|
|
spec.summary =
|
|
|
|
'Binding to libkernaux - auxiliary library for kernel development'
|
|
|
|
|
2022-01-18 05:20:37 -05:00
|
|
|
spec.description = <<~DESCRIPTION.split("\n").map(&:strip).join ' '
|
2022-01-29 16:13:39 -05:00
|
|
|
Binding to libkernaux - auxiliary library for kernel development.
|
2022-01-18 05:20:37 -05:00
|
|
|
DESCRIPTION
|
|
|
|
|
2022-05-31 15:43:40 -04:00
|
|
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
2022-01-29 21:45:47 -05:00
|
|
|
spec.metadata['homepage_uri'] = home
|
|
|
|
spec.metadata['source_code_uri'] = home
|
|
|
|
spec.metadata['bug_tracker_uri'] = bugs
|
2022-05-31 15:43:40 -04:00
|
|
|
spec.metadata['documentation_uri'] = docs
|
2022-01-18 05:20:37 -05:00
|
|
|
|
|
|
|
spec.bindir = 'exe'
|
|
|
|
spec.require_paths = ['lib']
|
|
|
|
|
|
|
|
spec.files = Dir.chdir File.expand_path __dir__ do
|
|
|
|
`git ls-files -z`.split("\x0").reject do |f|
|
|
|
|
f.match %r{\A(?:test|spec|features)/}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename f }
|
|
|
|
|
2022-01-18 11:47:09 -05:00
|
|
|
spec.extensions << 'ext/default/extconf.rb'
|
2022-01-18 08:03:19 -05:00
|
|
|
|
|
|
|
spec.add_development_dependency 'bundler', '~> 2.2'
|
|
|
|
spec.add_development_dependency 'pry', '~> 0.14'
|
|
|
|
spec.add_development_dependency 'rake', '~> 13.0'
|
|
|
|
spec.add_development_dependency 'rake-compiler', '~> 1.1'
|
2022-01-18 05:20:37 -05:00
|
|
|
spec.add_development_dependency 'rspec', '~> 3.10'
|
|
|
|
spec.add_development_dependency 'rubocop', '~> 1.25'
|
|
|
|
spec.add_development_dependency 'rubocop-performance', '~> 1.13'
|
|
|
|
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
|
|
|
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.7'
|
|
|
|
spec.add_development_dependency 'simplecov', '~> 0.21'
|
|
|
|
spec.add_development_dependency 'yard', '~> 0.9'
|
|
|
|
end
|