Sha256: 2bf375db25928103ef982c04a0a87c41d4efdce51dd54d8bfa83bf27d5d85e39

Contents?: true

Size: 1.66 KB

Versions: 2

Compression:

Stored size: 1.66 KB

Contents

# frozen_string_literal: true

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'dvla/lint/version'

Gem::Specification.new do |spec|
  spec.name          = 'dvla-lint'
  spec.version       = Dvla::Lint::VERSION
  spec.authors       = ['Driver and Vehicle Licensing Agency (DVLA)', 'Nigel Brookes-Thomas']
  spec.email         = ['nigel.brookes-thomas@dvla.gov.uk']

  spec.summary       = 'Rubocop standard rules'
  spec.description   = 'The standard Rubocop rules for the DVLA'
  spec.homepage      = 'https://github.com/dvla/dvla-lint-ruby'

  spec.metadata['allowed_push_host'] = 'https://rubygems.org'

  spec.metadata['homepage_uri'] = spec.homepage
  spec.metadata['source_code_uri'] = spec.homepage

  # 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 { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = %w[lib]

  spec.add_development_dependency 'bundler', '~> 2.0'
  spec.add_development_dependency 'pry', '~> 0.12'
  spec.add_development_dependency 'rake', '~> 13.0'
  spec.add_development_dependency 'rspec', '~> 3.0'

  spec.add_runtime_dependency 'rubocop', '~> 1.44'
  spec.add_runtime_dependency 'rubocop-performance', '~> 1.5'
  spec.add_runtime_dependency 'rubocop-rails', '~> 2.17'
  spec.add_runtime_dependency 'tty-config', '~> 0.5'
  spec.add_runtime_dependency 'tty-prompt', '~> 0.23'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dvla-lint-1.8.0 dvla-lint.gemspec
dvla-lint-1.7.1 dvla-lint.gemspec