25 lines
697 B
Ruby
25 lines
697 B
Ruby
# frozen_string_literal: true
|
|
|
|
lib = File.expand_path('lib', __dir__)
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
require 'format-staged/version'
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = 'format-staged'
|
|
s.version = FormatStaged::VERSION
|
|
s.summary = 'git format staged!'
|
|
s.description = 'git format staged'
|
|
s.authors = ['Sven Weidauer']
|
|
s.email = 'sven@5sw.de'
|
|
s.files = Dir['lib/**/*.rb']
|
|
s.executables << 'git-format-staged'
|
|
s.homepage = 'https://github.com/5sw/format-staged'
|
|
s.license = 'MIT'
|
|
s.required_ruby_version = '>= 2.7'
|
|
|
|
s.add_dependency 'colorize'
|
|
|
|
s.metadata = {
|
|
'rubygems_mfa_required' => 'true'
|
|
}
|
|
end
|