forked from oTnTh/rgd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrgd.gemspec
More file actions
29 lines (25 loc) · 933 Bytes
/
rgd.gemspec
File metadata and controls
29 lines (25 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rgd/version'
Gem::Specification.new do |spec|
spec.name = "rgd"
spec.version = RGD::VERSION
spec.author = 'oCameLo'
spec.email = ''
spec.summary = 'libgd binding for Ruby'
spec.description = spec.summary
spec.homepage = 'https://github.com/oTnTh/rgd'
spec.license = "BSDL"
spec.files = %w(BSDL COPYING.rdoc Rakefile README.rdoc) + Dir.glob("{bin,ext,lib,test}/**/*")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", "~> 10.0"
if $WIN32 then
spec.platform = Gem::Platform::CURRENT
else
spec.extensions = 'ext/rgd/extconf.rb'
end
end