-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrubocop-diff.gemspec
More file actions
27 lines (20 loc) · 943 Bytes
/
rubocop-diff.gemspec
File metadata and controls
27 lines (20 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# frozen_string_literal: true
require_relative 'lib/rubocop/diff/version'
Gem::Specification.new do |spec|
spec.name = 'rubocop-diff'
spec.version = RuboCop::Diff::VERSION
spec.authors = ['Collin Styles']
spec.email = ['collingstyles@gmail.com']
spec.summary = 'Run rubocop only on the parts of files modified by your git branch.'
spec.description = spec.summary
spec.homepage = 'https://github.com/cstyles/rubocop-diff'
spec.files = `git ls-files bin lib`.split("\n")
spec.required_ruby_version = Gem::Requirement.new('>= 3.0.0')
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.bindir = 'bin'
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_runtime_dependency 'rubocop', '~> 1.0'
spec.add_runtime_dependency 'rugged', '~> 1.0'
end