format-staged/format-staged.gemspec

30 lines
855 B
Ruby
Raw Normal View History

2022-05-25 19:25:35 +02:00
# frozen_string_literal: true
2022-05-25 19:13:01 +02:00
lib = File.expand_path('lib', __dir__)
2022-05-22 20:07:57 +02:00
$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
2022-05-25 19:13:01 +02:00
s.summary = 'git format staged!'
s.description = 'git format staged'
s.authors = ['Sven Weidauer']
2022-05-22 20:07:57 +02:00
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'
2022-05-25 20:21:33 +02:00
s.required_ruby_version = '~> 2.7'
2022-05-26 09:32:49 +02:00
2022-05-26 09:16:14 +02:00
s.add_dependency 'colorize'
2022-05-25 19:13:01 +02:00
2022-05-25 20:21:33 +02:00
s.add_development_dependency 'rake', '~> 13.0'
2022-05-25 19:09:47 +02:00
s.add_development_dependency 'rubocop', '~> 1.29'
2022-05-25 20:21:33 +02:00
s.add_development_dependency 'rubocop-rake', '~> 0.6'
2022-05-25 19:54:22 +02:00
s.metadata = {
'rubygems_mfa_required' => 'true'
}
2022-05-22 20:07:57 +02:00
end