Sha256: 5f03feaed293d5191419b5739f94bd226f407e5254e5fd3d360e7c7ea10695e2

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 KB

Contents

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

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

  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.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.requirements << "C compiler supports C99 complex and "
  s.required_ruby_version = ">= 1.8.1"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
carray-1.1.5 carray.gemspec
carray-1.1.4 carray.gemspec