Sha256: 386379b5d12d18a67d37eafaacfaffbc9e77624c111d926bce2d3568e8c43158

Contents?: true

Size: 1.73 KB

Versions: 4

Compression:

Stored size: 1.73 KB

Contents

# frozen_string_literal: true

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'numo/liblinear/version'

Gem::Specification.new do |spec|
  spec.name          = 'numo-liblinear'
  spec.version       = Numo::Liblinear::VERSION
  spec.authors       = ['yoshoku']
  spec.email         = ['yoshoku@outlook.com']

  spec.summary       = <<~MSG
    Numo::Liblinear is a Ruby gem binding to the LIBLINEAR library.
    Numo::Liblinear makes to use the LIBLINEAR functions with dataset represented by Numo::NArray.
  MSG
  spec.description   = <<~MSG
    Numo::Liblinear is a Ruby gem binding to the LIBLINEAR library.
    LIBLINEAR is one of the famous libraries for large-scale regularized linear classification and regression.
    Numo::Liblinear makes to use the LIBLINEAR functions with dataset represented by Numo::NArray.
  MSG
  spec.homepage      = 'https://github.com/yoshoku/numo-liblinear'
  spec.license       = 'BSD-3-Clause'

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files         = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']
  spec.extensions    = ['ext/numo/liblinear/extconf.rb']

  spec.add_runtime_dependency 'numo-narray', '~> 0.9.1'
  spec.add_development_dependency 'bundler', '~> 2.0'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rake-compiler', '~> 1.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
numo-liblinear-0.4.0 numo-liblinear.gemspec
numo-liblinear-0.3.0 numo-liblinear.gemspec
numo-liblinear-0.2.0 numo-liblinear.gemspec
numo-liblinear-0.1.0 numo-liblinear.gemspec