libkernaux/bindings/ruby/kernaux.gemspec

60 lines
2.1 KiB
Ruby
Raw Normal View History

2022-01-18 10:20:37 +00:00
# frozen_string_literal: true
require_relative 'lib/kernaux/version'
Gem::Specification.new do |spec|
repo = 'https://github.com/tailix/libkernaux'
home = "#{repo}/tree/master/bindings/ruby"
2022-01-30 02:45:47 +00:00
bugs = "#{repo}/issues"
2022-05-31 19:43:40 +00:00
docs = "https://www.rubydoc.info/gems/kernaux/#{KernAux::VERSION}"
2022-01-18 10:20:37 +00:00
spec.name = 'kernaux'
spec.version = KernAux::VERSION
spec.license = 'MIT'
2022-01-30 02:45:47 +00:00
spec.homepage = home
2022-01-18 10:20:37 +00: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 21:13:39 +00:00
spec.summary =
'Binding to libkernaux - auxiliary library for kernel development'
2022-01-18 10:20:37 +00:00
spec.description = <<~DESCRIPTION.split("\n").map(&:strip).join ' '
2022-01-29 21:13:39 +00:00
Binding to libkernaux - auxiliary library for kernel development.
2022-01-18 10:20:37 +00:00
DESCRIPTION
2022-05-31 19:43:40 +00:00
spec.metadata['rubygems_mfa_required'] = 'true'
2022-01-30 02:45:47 +00:00
spec.metadata['homepage_uri'] = home
spec.metadata['source_code_uri'] = home
spec.metadata['bug_tracker_uri'] = bugs
2022-05-31 19:43:40 +00:00
spec.metadata['documentation_uri'] = docs
2022-01-18 10:20:37 +00: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 16:47:09 +00:00
spec.extensions << 'ext/default/extconf.rb'
2022-01-18 13:03:19 +00: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 10:20:37 +00: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