require File.join(File.expand_path(__dir__), 'lib', 'rubocop', 'git', 'version') Gem::Specification.new do |spec| spec.name = 'rubocop-git2' spec.version = RuboCop::Git::VERSION spec.authors = ['Masaki Takeuchi', 'Janosch Müller'] spec.email = ['janosch84@gmail.com'] spec.summary = %q{RuboCop for git diff.} spec.description = %q{RuboCop for git diff.} spec.homepage = 'https://github.com/jaynetics/rubocop-git2' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] spec.required_ruby_version = '>= 2.6.0' spec.add_dependency 'rubocop', '~> 1.0' end