Ruby gem for building arbitrary static websites. https://rubygems.org/gems/petrify
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 lines
1.3 KiB

  1. # coding: utf-8
  2. lib = File.expand_path("../lib", __FILE__)
  3. $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
  4. require "petrify/version"
  5. Gem::Specification.new do |spec|
  6. spec.name = "petrify"
  7. spec.version = Petrify::VERSION
  8. spec.authors = ["Adrian Short"]
  9. spec.email = []
  10. spec.summary = %q{A data(base)-driven static site generator with Haml templates.}
  11. #spec.description = %q{TODO: Write a longer description or delete this line.}
  12. spec.homepage = "https://github.com/adrianshort/petrify/"
  13. # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  14. # to allow pushing to a single host or delete this section to allow pushing to any host.
  15. if spec.respond_to?(:metadata)
  16. spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
  17. else
  18. raise "RubyGems 2.0 or newer is required to protect against " \
  19. "public gem pushes."
  20. end
  21. spec.files = `git ls-files -z`.split("\x0").reject do |f|
  22. f.match(%r{^(test|spec|features)/})
  23. end
  24. spec.bindir = "exe"
  25. spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  26. spec.require_paths = ["lib"]
  27. spec.add_development_dependency "bundler", "~> 1.15"
  28. spec.add_development_dependency "rake", "~> 10.0"
  29. spec.add_runtime_dependency "haml"
  30. end