diff options
Diffstat (limited to 'wordexp.gemspec')
-rw-r--r-- | wordexp.gemspec | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/wordexp.gemspec b/wordexp.gemspec new file mode 100644 index 0000000..9bb1365 --- /dev/null +++ b/wordexp.gemspec @@ -0,0 +1,24 @@ +# -*- encoding: binary -*- +ENV["VERSION"] or abort "VERSION= must be specified" +manifest = File.readlines('.manifest').map! { |x| x.chomp! } +require 'wrongdoc' +extend Wrongdoc::Gemspec +name, summary, title = readme_metadata + +Gem::Specification.new do |s| + s.name = %q{wordexp} + s.version = ENV["VERSION"].dup + + s.authors = ["Eric Wong"] + s.date = Time.now.utc.strftime('%Y-%m-%d') + s.description = readme_description + s.email = %q{normalperson@yhbt.net} + s.extra_rdoc_files = extra_rdoc_files(manifest) + s.files = manifest + s.homepage = Wrongdoc.config[:rdoc_url] + s.summary = summary + s.rdoc_options = rdoc_options + s.test_files = Dir['test/test_*.rb'] + s.licenses = %w(LGPLv2.1+) + s.add_development_dependency('wrongdoc', '~> 1.7') +end |