You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/vendor/bundle/ruby/4.0.0/gems/numo-narray-alt-0.10.3/numo-narray-alt.gemspec

52 lines
2.0 KiB

# frozen_string_literal: true
require 'English'
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
open('ext/numo/narray/numo/narray.h') do |f|
f.each_line do |l|
if /NARRAY_VERSION "([\d.]+)"/ =~ l
NARRAY_VERSION = Regexp.last_match(1)
break
end
end
end
Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
spec.name = 'numo-narray-alt'
spec.version = NARRAY_VERSION
spec.authors = ['yoshoku']
spec.email = ['yoshoku@outlook.com']
spec.description = <<~DESC
Numo::NArray Alternative is a project forked from Numo::NArray.
The project aims to support the latest Ruby features,
release bug fixes as quickly as possible, and adopt modern development practices.
DESC
spec.summary = 'Numo::NArray Alternative is a project forked from Numo::NArray.'
spec.homepage = 'https://github.com/yoshoku/numo-narray-alt'
spec.license = 'BSD-3-Clause'
spec.required_ruby_version = '>= 3.2.0'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.metadata['documentation_uri'] = "https://gemdocs.org/gems/#{spec.name}/#{spec.version}/"
spec.metadata['rubygems_mfa_required'] = 'true'
spec.files = `git ls-files Gemfile LICENSE README.md Rakefile lib ext numo-narray-alt.gemspec`.split($INPUT_RECORD_SEPARATOR) # rubocop:disable Layout/LineLength
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.extensions = ['ext/numo/narray/extconf.rb']
spec.post_install_message = <<~MESSAGE
===
Thank you for installing 'numo-narray-alt'.
NOTICE: 'numo-narray-alt' is an alternative implementation of 'numo-narray'.
Having both gems installed may lead to conflicts and unexpected behavior.
If you encounter any issues, please consider uninstalling one of them.
===
MESSAGE
end