hammer/src/bindings/ruby/hammer-parser.gemspec

24 lines
670 B
Ruby
Raw Normal View History

2013-11-10 15:13:15 +01:00
#encoding: UTF-8
Gem::Specification.new do |s|
s.name = 'hammer-parser'
s.version = '0.1.0'
s.summary = 'Ruby bindings to the hammer parsing library.'
s.description = s.summary # TODO: longer description?
s.authors = ['Meredith L. Patterson', 'TQ Hirsch', 'Jakob Rath']
# TODO:
# s.email = ...
# s.homepage = ...
files = []
files << 'README.md'
files << Dir['{lib,test}/**/*.rb']
s.files = files
s.test_files = s.files.select { |path| path =~ /^test\/.*_test.rb/ }
s.require_paths = %w[lib]
s.add_dependency 'ffi', '~> 1.9'
s.add_dependency 'docile', '~> 1.1' # TODO: Find a way to make this optional
end