-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrubocop-codeur.gemspec
More file actions
34 lines (28 loc) · 1.33 KB
/
rubocop-codeur.gemspec
File metadata and controls
34 lines (28 loc) · 1.33 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
# frozen_string_literal: true
require_relative 'lib/rubocop/codeur/version'
Gem::Specification.new do |spec|
spec.name = 'rubocop-codeur'
spec.version = RuboCop::Codeur::VERSION
spec.authors = ['Codeur']
spec.email = ['dev@codeur.com']
spec.summary = 'Codeur rubocop config gem'
spec.description = 'Shared rubocop config gem for every Ruby projects at Codeur SARL'
spec.homepage = 'https://github.com/codeur/rubocop-codeur'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.1'
spec.metadata['default_lint_roller_plugin'] = 'RuboCop::Codeur::Plugin'
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features|bin)/}) || f.match(/^(Gemfile|README|.*\.gemspec)/)
end
end
spec.add_dependency 'lint_roller', '~> 1.1'
spec.add_dependency 'rubocop', '>= 1.72.0', '< 2.0'
spec.add_dependency 'rubocop-capybara', '~> 2.21'
spec.add_dependency 'rubocop-factory_bot', '~> 2.26'
spec.add_dependency 'rubocop-minitest', '~> 0.37'
spec.add_dependency 'rubocop-performance', '~> 1.24'
spec.add_dependency 'rubocop-rails', '~> 2.30'
end