Sha256: 2357bd54c6f79009bcf9ec9c8598cd3250447df8eca8a3c32231141b6ea25eda

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

# coding: utf-8
# frozen_string_literal: true

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'terser/version'

Gem::Specification.new do |spec|
  spec.name = "terser"
  spec.version = Terser::VERSION
  spec.authors = ["Pavel Rosicky"]
  spec.email = ["pdahorek@seznam.cz"]
  spec.homepage = "http://github.com/ahorek/terser-ruby"
  spec.summary = "Ruby wrapper for Terser JavaScript compressor"
  spec.description = "Terser minifies JavaScript files by wrapping \
    TerserJS to be accessible in Ruby"
  spec.license = "MIT"

  spec.required_ruby_version = '>= 2.3.0'

  spec.extra_rdoc_files = [
    "LICENSE.txt",
    "README.md",
    "CHANGELOG.md",
    "CONTRIBUTING.md"
  ]

  spec.files = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(spec|vendor|gemfiles|patches|benchmark)/})
  end
  spec.require_paths = ["lib"]

  spec.add_runtime_dependency "execjs", [">= 0.3.0", "< 3"]
  spec.add_development_dependency "bundler", ">= 1.3"
  spec.add_development_dependency "rake", "~> 12.0"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_development_dependency "sourcemap", "~> 0.1.1"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
terser-1.1.1 terser.gemspec
terser-1.1.0 terser.gemspec
terser-1.0.2 terser.gemspec
terser-1.0.1 terser.gemspec
terser-1.0.0 terser.gemspec