Sha256: 2d53110ddd90f927b5592b7b920fb5c1bacc269c36f0f7b3967fde1c0a04b3e0

Contents?: true

Size: 1019 Bytes

Versions: 2

Compression:

Stored size: 1019 Bytes

Contents

# -*- mode: ruby -*-


require_relative 'lib/rucy/extension'


Gem::Specification.new do |s|
  glob = -> *patterns do
    patterns.map {|pat| Dir.glob(pat).to_a}.flatten
  end

  ext   = Rucy::Extension
  name  = ext.name.downcase
  rdocs = glob.call *%w[README .doc/ext/**/*.cpp]

  s.name        = name
  s.version     = ext.version
  s.license     = 'MIT'
  s.summary     = 'A Ruby C++ Extension Helper Library.'
  s.description = 'This library helps you to develop Ruby Extension by C++.'
  s.authors     = %w[xordog]
  s.email       = 'xordog@gmail.com'
  s.homepage    = "https://github.com/xord/rucy"

  s.platform              = Gem::Platform::RUBY
  s.required_ruby_version = '>= 3.0.0'

  s.add_runtime_dependency 'xot', '~> 0.1.41'

  s.files            = `git ls-files`.split $/
  s.executables      = s.files.grep(%r{^bin/}) {|f| File.basename f}
  s.test_files       = s.files.grep %r{^(test|spec|features)/}
  s.extra_rdoc_files = rdocs.to_a
  s.has_rdoc         = true

  s.extensions << 'Rakefile'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rucy-0.1.43 rucy.gemspec
rucy-0.1.42 rucy.gemspec