-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure gemspec. Add rake-compiler as dev dependency
- Loading branch information
1 parent
4693d37
commit 3cccb34
Showing
2 changed files
with
25 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
require "bundler/gem_tasks" | ||
require "rake/extensiontask" | ||
|
||
Rake::ExtensionTask.new("ft2-ruby") do |ext| | ||
ext.name = "ft2" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
# -*- encoding: utf-8 -*- | ||
require File.expand_path('../lib/ft2-ruby/version', __FILE__) | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'ft2-ruby/version' | ||
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ["Paul Duncan"] | ||
gem.email = ["[email protected]"] | ||
gem.description = %q{FreeType2 bindings for Ruby 1.8 and 1.9} | ||
gem.summary = %q{FreeType2 bindings for Ruby} | ||
gem.homepage = "https://github.com/customink/ft2-ruby" | ||
Gem::Specification.new do |spec| | ||
spec.name = "ft2-ruby" | ||
spec.version = FT2::VERSION | ||
spec.authors = ["Paul Duncan", "Stafford Brunk"] | ||
spec.email = ["[email protected]", "[email protected]"] | ||
spec.description = %q{FreeType2 bindings for Ruby} | ||
spec.summary = %q{FreeType2 bindings for Ruby} | ||
spec.homepage = "https://github.com/customink/ft2-ruby" | ||
spec.license = "MIT" | ||
|
||
gem.files = `git ls-files`.split($\) | ||
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | ||
gem.extensions = ['ext/ft2-ruby/extconf.rb'] | ||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) | ||
gem.name = "ft2-ruby" | ||
gem.require_paths = ["lib"] | ||
gem.version = FT2::VERSION | ||
gem.license = "MIT" | ||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.extensions = ['ext/ft2-ruby/extconf.rb'] | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ["lib"] | ||
|
||
spec.add_development_dependency "rake-compiler" | ||
end |