git-trend.gemspec
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "git_trend/version"
def install_message
s = ""
s << "\xf0\x9f\x8d\xba "
s << "Thanks for installing!"
end
Gem::Specification.new do |spec|
spec.name = "git-trend"
spec.version = GitTrend::VERSION
spec.authors = ["rochefort"]
spec.email = ["terasawan@gmail.com"]
spec.summary = "CLI-Based tool that show Trending repository on github"
spec.description = spec.summary
spec.homepage = "https://github.com/rochefort/git-trend"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.7.0"
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.post_install_message = install_message
spec.add_dependency "addressable", "~> 2.8"
spec.add_dependency "mb_string"
spec.add_dependency "mechanize", ">= 2.8.5", "< 2.11.0"
spec.add_dependency "thor", ">= 0.20.0", "< 1.4.0"
spec.add_dependency "unicode-display_width"
# FIXME: mfa
spec.metadata["rubygems_mfa_required"] = "false" # rubocop:disable Gemspec/RequireMFA
end