Sha256: 376018491e6b333162d040fc0e95a72d2d3419702d146095100082aad158b9be

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 KB

Contents


Gem::Specification::new do |s|
  require_relative "./version"
  
  version, date = carray_version()

  files = Dir.glob("**/*") - [ 
                            Dir.glob("vendor"),
                            Dir.glob("ext/**/{Makefile,mkmf.log}"),
                            Dir.glob("**/*.{o,so,bundle}"),
                            Dir.glob("**/*~"),
                            Dir.glob("carray-*.gem"), 
                           ].flatten

  s.platform    = Gem::Platform::RUBY
  s.name        = "carray"
  s.summary     = "Multi-dimesional array class"
  s.description = <<-HERE
    CArray is a uniform multi-dimensional rectangular array class.
    It provides the various types of sub-arrays and references
    pointing the data elements of original array (slice, grid, selection ...).
    Element-wise masking and mathematical operations are natively supported.
  HERE
  s.version     = version
  s.author      = "Hiroki Motoyoshi"
  s.email       = ""
  s.homepage    = 'https://github.com/himotoyoshi/carray'
  s.files       = files
  s.extensions  = [ "extconf.rb" ] + 
                     Dir["ext/*/extconf.rb"].select{|f| File.exist?(f) }
  s.has_rdoc    = true
  s.rdoc_options = [
		"--main=rdoc_main.rb", 
		"rdoc_main.rb", 
		"rdoc_ext.rb",
		"rdoc_math.rb", 
		"rdoc_stat.rb", 
		Dir.glob("lib/carray/**/*.rb")
	].flatten
  s.required_ruby_version = ">= 1.8.1"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
carray-1.1.7 carray.gemspec
carray-1.1.6 carray.gemspec