piotrmurach/strings-ansi

View on GitHub
strings-ansi.gemspec

Summary

Maintainability
Test Coverage
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "strings/ansi/version"

Gem::Specification.new do |spec|
  spec.name          = "strings-ansi"
  spec.version       = Strings::ANSI::VERSION
  spec.authors       = ["Piotr Murach"]
  spec.email         = ["me@piotrmurach.com"]

  spec.summary       = %q{Methods for processing ANSI escape codes in strings.}
  spec.description   = %q{Methods for processing ANSI escape codes in strings.}
  spec.homepage      = "https://github.com/piotrmurach/strings-ansi"
  spec.license       = "MIT"

  spec.metadata["allowed_push_host"] = "https://rubygems.org"
  spec.metadata["bug_tracker_uri"] = "https://github.com/piotrmurach/strings-ansi/issues"
  spec.metadata["changelog_uri"] = "https://github.com/piotrmurach/strings-ansi/blob/master/CHANGELOG.md"
  spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/strings-ansi"
  spec.metadata["homepage_uri"] = spec.homepage
  spec.metadata["source_code_uri"] = "https://github.com/piotrmurach/strings-ansi"

  spec.files         = Dir["{lib,spec}/**/*.rb"]
  spec.files        += Dir["{bin,tasks}/*", "strings-ansi.gemspec"]
  spec.files        += Dir["README.md", "CHANGELOG.md", "LICENSE.txt", "Rakefile"]
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.required_ruby_version = ">= 2.0.0"

  spec.add_development_dependency "bundler", ">= 1.5"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "rspec", "~> 3.0"
end