Sha256: 7196df8e289063d8fa1eac2fd87c74a7069a95421c8229c771068b1500022912

Contents?: true

Size: 954 Bytes

Versions: 1

Compression:

Stored size: 954 Bytes

Contents

# vim: set filetype=ruby et sw=2 ts=2:

require 'gem_hadar'

GemHadar do
  name        'more_math'
  author      'Florian Frank'
  email       'flori@ping.de'
  homepage    "http://flori.github.com/#{name}"
  summary     'Library that provides more mathematics.'
  description 'Library that provides more mathematical functions/algorithms than standard Ruby.'
  test_dir    'tests'
  ignore      '.*.sw[pon]', 'pkg', 'Gemfile.lock'
  readme      'README.rdoc'
  title       "#{name.camelize} -- More Math in Ruby"

  dependency  'spruz', '~>0.2'

  install_library do
    libdir = CONFIG["sitelibdir"]
    file = 'lib/more_math.rb'
    install(file, libdir, :mode => 0644)
    mkdir_p subdir = File.join(libdir, 'more_math')
    for f in Dir['lib/more_math/*.rb']
      install(f, subdir)
    end
    mkdir_p subdir = File.join(libdir, 'more_math', 'constants')
    for f in Dir['lib/more_math/constants/*.rb']
      install(f, subdir)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
more_math-0.0.1 Rakefile