$:.unshift File.expand_path('lib', File.dirname(__FILE__)) require 'cast/version' Gem::Specification.new do |gem| gem.name = 'cast' gem.version = C::VERSION gem.authors = ["George Ogata"] gem.email = ["george.ogata@gmail.com"] gem.date = Time.now.strftime('%Y-%m-%d') gem.summary = "C parser and AST constructor." gem.homepage = 'http://github.com/oggy/cast' gem.extensions = ["ext/extconf.rb"] gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } gem.files = `git ls-files`.split("\n") + ['ext/yylex.c', 'lib/cast/c.tab.rb'] gem.test_files = `git ls-files -- test/*`.split("\n") gem.add_development_dependency 'ritual', '~> 0.4.0' gem.add_development_dependency 'racc', '~> 1.4.8' end