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 19:13:01 +02:00
|
|
|
|
2022-05-25 19:09:47 +02:00
|
|
|
s.add_development_dependency 'rubocop', '~> 1.29'
|
2022-05-22 20:07:57 +02:00
|
|
|
end
|