git.guelker.eu epp / master epp.gemspec
master

Tree @master (Download .tar.gz)

epp.gemspec @masterraw · history · blame

# coding: utf-8
version = File.read(File.join(File.dirname(File.expand_path(__FILE__)), "lib/epp.rb"))
            .match(/VERSION\s=\s"(.*)"/)[1]
            .strip

Gem::Specification.new do |spec|
  spec.name = "epp-ereader"
  spec.version = version
  spec.date = Time.now.strftime("%Y-%m-%d")
  spec.summary = "Converts certain German legal texts to a format usable for e-readers."
  spec.authors = "Marvin G├╝lker"
  spec.email = "m-guelker@phoenixmail.de"
  spec.files = ["bin/*",
                "lib/**/*.rb",
                "LICENSE.*",
                "README"].map{|s| Dir.glob(s)}.flatten
  spec.executables << "epp"
  spec.homepage = "https://git.guelker.eu/epp/"
  spec.license = "DFSL"

  spec.add_runtime_dependency("nokogiri", "~> 1.8")
  spec.add_runtime_dependency("rubyzip", "~> 1.2")
end