rochefort/mb_string

View on GitHub
mb_string.gemspec

Summary

Maintainability
Test Coverage
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "mb_string/version"

Gem::Specification.new do |spec|
  spec.name          = "mb_string"
  spec.version       = MbString::VERSION
  spec.authors       = ["rochefort"]
  spec.email         = ["terasawan@gmail.com"]

  spec.summary       = "You can use mb_ljust, mb_rjust, mb_center for multibyte strings."
  spec.description   = spec.summary
  spec.homepage      = "https://github.com/rochefort/mb_string"
  spec.license       = "MIT"

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

  spec.add_dependency "unicode-display_width", "~> 2.0"

  spec.add_development_dependency "bundler"
  spec.add_development_dependency "rake", "~> 13.0.0"
  spec.add_development_dependency "rspec", "~> 3.10"
  spec.add_development_dependency "simplecov", "~> 0.22.0"

  spec.add_development_dependency "coveralls"
end