-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrubocop-gp.gemspec
More file actions
35 lines (31 loc) · 1.4 KB
/
rubocop-gp.gemspec
File metadata and controls
35 lines (31 loc) · 1.4 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
26
27
28
29
30
31
32
33
34
35
# frozen_string_literal: true
$LOAD_PATH.unshift File.expand_path('lib', __dir__)
require 'rubocop/gp/version'
Gem::Specification.new do |spec|
spec.name = 'rubocop-gp'
spec.summary = 'groupprice projects rubocop configuration'
spec.authors = ['groupprice dev team']
spec.email = ['admin@groupprice.ru']
spec.description = <<-EOF
Includes RuboCop configuration files and cops from rubocop, rubocop-airbnb, rubocop-rails, rubocop-rspec and rubocop-performance.
Shared among Groupprice projects.
EOF
spec.version = RuboCop::Gp::VERSION
spec.homepage = 'https://gitlab.groupprice.ru/gp-corp/rubocop-gp'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
spec.required_ruby_version = '>= 2.3' # airbnb gem requirement
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
spec.metadata['allowed_push_host'] = ''
f.match(%r{^(test|spec|features)/})
end
spec.require_paths = ['lib']
spec.add_dependency 'rubocop'
spec.add_dependency 'rubocop-performance'
spec.add_dependency 'rubocop-rails'
spec.add_dependency 'rubocop-rspec'
spec.add_dependency 'rubocop-capybara'
spec.add_dependency 'rubocop-factory_bot'
spec.add_dependency 'rubocop-rspec_rails'
end