|
1 |
| -# -*- encoding: utf-8 -*- |
2 |
| -require File.expand_path('../lib/ft2-ruby/version', __FILE__) |
| 1 | +# coding: utf-8 |
| 2 | +lib = File.expand_path('../lib', __FILE__) |
| 3 | +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
| 4 | +require 'ft2-ruby/version' |
3 | 5 |
|
4 |
| -Gem::Specification.new do |gem| |
5 |
| - gem.authors = ["Paul Duncan"] |
6 |
| - |
7 |
| - gem.description = %q{FreeType2 bindings for Ruby 1.8 and 1.9} |
8 |
| - gem.summary = %q{FreeType2 bindings for Ruby} |
9 |
| - gem.homepage = "https://github.com/customink/ft2-ruby" |
| 6 | +Gem::Specification.new do |spec| |
| 7 | + spec.name = "ft2-ruby" |
| 8 | + spec.version = FT2::VERSION |
| 9 | + spec.authors = ["Paul Duncan", "Stafford Brunk"] |
| 10 | + |
| 11 | + spec.description = %q{FreeType2 bindings for Ruby} |
| 12 | + spec.summary = %q{FreeType2 bindings for Ruby} |
| 13 | + spec.homepage = "https://github.com/customink/ft2-ruby" |
| 14 | + spec.license = "MIT" |
10 | 15 |
|
11 |
| - gem.files = `git ls-files`.split($\) |
12 |
| - gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } |
13 |
| - gem.extensions = ['ext/ft2-ruby/extconf.rb'] |
14 |
| - gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) |
15 |
| - gem.name = "ft2-ruby" |
16 |
| - gem.require_paths = ["lib"] |
17 |
| - gem.version = FT2::VERSION |
18 |
| - gem.license = "MIT" |
| 16 | + spec.files = `git ls-files -z`.split("\x0") |
| 17 | + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } |
| 18 | + spec.extensions = ['ext/ft2-ruby/extconf.rb'] |
| 19 | + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) |
| 20 | + spec.require_paths = ["lib"] |
| 21 | + |
| 22 | + spec.add_development_dependency "rake-compiler" |
19 | 23 | end
|
0 commit comments