Ruby gem for building arbitrary static websites. https://rubygems.org/gems/petrify
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

36 líneas
1.4 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 = ['rubygems@adrianshort.org']
  10. spec.licenses = ['MIT']
  11. spec.summary = %q{A data(base)-driven static site generator with Haml templates.}
  12. #spec.description = %q{TODO: Write a longer description or delete this line.}
  13. spec.homepage = "https://github.com/adrianshort/petrify/"
  14. # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  15. # to allow pushing to a single host or delete this section to allow pushing to any host.
  16. if spec.respond_to?(:metadata)
  17. spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
  18. else
  19. raise "RubyGems 2.0 or newer is required to protect against " \
  20. "public gem pushes."
  21. end
  22. spec.files = `git ls-files -z`.split("\x0").reject do |f|
  23. f.match(%r{^(test|spec|features)/})
  24. end
  25. spec.bindir = "exe"
  26. spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  27. spec.require_paths = ["lib"]
  28. spec.add_development_dependency "bundler", "~> 1.15"
  29. spec.add_development_dependency "rake", "~> 10.0"
  30. spec.add_runtime_dependency "haml", "~> 5.0"
  31. end