-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrubocop_require_relative.gemspec
More file actions
25 lines (21 loc) · 1.13 KB
/
rubocop_require_relative.gemspec
File metadata and controls
25 lines (21 loc) · 1.13 KB
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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rubocop_require_relative/version'
Gem::Specification.new do |spec|
spec.name = "rubocop_require_relative"
spec.version = RubocopRequireRelative::VERSION
spec.authors = ["Max Jacobson", "Ethan Zhou"]
spec.email = ["[email protected]", "[email protected]"]
spec.summary = %q{RuboCop extension which forbids require_relative}
spec.description = %q{Sometimes it causes some trouble. Take that as read. This will let you know when you slip, and include require_relative.}
spec.homepage = "https://github.com/SolarCS/rubocop_require_relative"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_runtime_dependency "rubocop", "~> 1.68"
spec.add_development_dependency "bundler", "~> 2.2"
spec.add_development_dependency "rake", "~> 13.0"
end