require 'date' today = Date.today Gem::Specification.new do |s| s.name = 'hikidoc' s.version = '0.' + today.strftime('%Y%m%d') s.date = today.to_s s.summary = 'A text-to-HTML conversion tool for web writers.' s.email = 'kazuhiko@fdiary.net' s.homepage = 'http://projects.netlab.jp/hikidoc/' s.description = <<-EOF 'HikiDoc' is a text-to-HTML conversion tool for web writers. HikiDoc allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid HTML (or XHTML). EOF s.default_executable = 'hikidoc' s.has_rdoc = false s.authors = [ 'Kazuhiko' ] s.executables = [ 'hikidoc' ] s.files = [ 'bin/hikidoc' ] s.files += %w(COPYING README README.ja Rakefile) s.files += %w(TextFormattingRules TextFormattingRules.ja setup.rb) s.files += Dir['lib/*.rb'] s.test_files = Dir['test/*.rb'] s.bindir = 'bin' end