gi/tilt-handlebars

View on GitHub
tilt-handlebars.gemspec

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

require_relative "lib/tilt/handlebars/version"

Gem::Specification.new do |spec|
  spec.name = "tilt-handlebars"
  spec.version = Tilt::Handlebars::VERSION

  spec.authors = ["Jim Cushing", "Zach Gianos"]
  spec.email = ["jimothy@mac.com", "zach.gianos+git@gmail.com"]

  spec.summary = "A Tilt interface for the official Handlebars.js"
  spec.description = <<-DESCRIPTION
    A Tilt interface for the official JavaScript implementation of the
    Handlebars template engine.

    Handlebars::Engine provides the API wrapper. MiniRacer provides the
    JavaScript execution environment.
  DESCRIPTION

  spec.homepage = "https://github.com/gi/tilt-handlebars"
  spec.license = "MIT"
  spec.required_ruby_version = ">= 2.6.0"

  spec.metadata["changelog_uri"] = "#{spec.homepage}/RELEASE_NOTES.md"
  spec.metadata["github_repo"] = spec.homepage
  spec.metadata["homepage_uri"] = spec.homepage
  spec.metadata["source_code_uri"] = spec.homepage

  spec.files = `git ls-files -z`.split("\x0")
  spec.bindir = "exe"
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})

  spec.add_dependency "handlebars-engine"
  spec.add_dependency "tilt", ">= 1.3"

  spec.add_development_dependency "appraisal"
  spec.add_development_dependency "bundler"
  spec.add_development_dependency "bundler-audit"
  spec.add_development_dependency "coveralls"
  spec.add_development_dependency "debug", ">= 1"
  spec.add_development_dependency "rack-test", "~> 0.6"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "rspec"
  spec.add_development_dependency "rspec_junit_formatter"
  spec.add_development_dependency "rubocop"
  spec.add_development_dependency "rubocop-performance"
  spec.add_development_dependency "rubocop-rake"
  spec.add_development_dependency "rubocop-rspec"
  spec.add_development_dependency "simplecov"
  spec.add_development_dependency "simplecov-cobertura"
  spec.add_development_dependency "sinatra", "~> 1.4"
  spec.add_development_dependency "yard"
end