Sha256: 2e2f0033ad0932343333dd7656095afa01b6322c5f21c26c372b889687c7d807

Contents?: true

Size: 953 Bytes

Versions: 1

Compression:

Stored size: 953 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  'tins', '~>0.3'

  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.2 Rakefile