File: rubocop.gemspec

package info (click to toggle)
rubocop 0.52.1+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 8,472 kB
  • sloc: ruby: 113,281; makefile: 9
file content (48 lines) | stat: -rw-r--r-- 1,857 bytes parent folder | download
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
36
37
38
39
40
41
42
43
44
45
46
47
48
# frozen_string_literal: true

$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'rubocop/version'
require 'English'

# rubocop:disable Metrics/BlockLength
Gem::Specification.new do |s|
  s.name = 'rubocop'
  s.version = RuboCop::Version::STRING
  s.platform = Gem::Platform::RUBY
  s.required_ruby_version = '>= 2.1.0'
  s.authors = ['Bozhidar Batsov', 'Jonas Arvidsson', 'Yuji Nakayama']
  s.description = <<-DESCRIPTION
    Automatic Ruby code style checking tool.
    Aims to enforce the community-driven Ruby Style Guide.
  DESCRIPTION

  s.email = 'rubocop@googlegroups.com'
  s.files = `git ls-files assets bin config lib LICENSE.txt README.md \
             spec/support/cop_helper.rb`
            .split($RS)
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
  s.extra_rdoc_files = ['LICENSE.txt', 'README.md']
  s.homepage = 'https://github.com/bbatsov/rubocop'
  s.licenses = ['MIT']
  s.summary = 'Automatic Ruby code style checking tool.'

  if s.respond_to?(:metadata=)
    s.metadata = {
      'homepage_uri' => 'https://rubocop.readthedocs.io/',
      'changelog_uri' => 'https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md',
      'source_code_uri' => 'https://github.com/bbatsov/rubocop/',
      'documentation_uri' => 'https://rubocop.readthedocs.io/',
      'bug_tracker_uri' => 'https://github.com/bbatsov/rubocop/issues'
    }
  end

  s.add_runtime_dependency('parallel', '>= 1.10', '< 2.0')
  s.add_runtime_dependency('parser', '>= 2.4.0.2', '< 3.0')
  s.add_runtime_dependency('powerpack', '~> 0.1')
  s.add_runtime_dependency('rainbow', '>= 2.2.2', '< 4.0')
  s.add_runtime_dependency('ruby-progressbar', '>= 1.4', '< 2.0')
  s.add_runtime_dependency('unicode-display_width', '~> 1.0', '>= 1.0.1')

  s.add_development_dependency('bundler', '~> 1.3')
end
# rubocop:enable Metrics/BlockLength