Sha256: ec0822d26f5b408f4f9f5d37a6e8848c670734fdb4ff628b19c5f772b7751844

Contents?: true

Size: 1.54 KB

Versions: 5

Compression:

Stored size: 1.54 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = 'nxt_cop'
  spec.version       = NxtCop::VERSION
  spec.authors       = ['Scott Livingstone']

  spec.summary       = 'Getsafe shared Rubocop.'
  spec.homepage      = 'https://github.com/nxt-insurance/nxt_cop'
  spec.license       = 'MIT'

  # 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.
  if spec.respond_to?(:metadata)
    spec.metadata['allowed_push_host'] = 'https://rubygems.org'

    spec.metadata['homepage_uri'] = spec.homepage
    spec.metadata['source_code_uri'] = 'https://github.com/nxt-insurance/nxt_cop'
    spec.metadata['changelog_uri'] = 'https://github.com/nxt-insurance/nxt_cop/CHANGELOG.md'
  else
    raise 'RubyGems 2.0 or newer is required to protect against ' \
      'public gem pushes.'
  end

  spec.files = `git ls-files -z`.split("\x0").reject do |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 = ['lib']

  spec.required_ruby_version = '>= 3.2'

  spec.add_dependency 'rubocop', '~> 1.60.0'
  spec.add_dependency 'rubocop-rails', '~> 2.8'
  spec.add_dependency 'rubocop-rspec', '~> 2.12'
  spec.add_development_dependency 'bundler', '~> 2.1'
  spec.add_development_dependency 'rake', '~> 13.0'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nxt_cop-2.3.0 nxt_cop.gemspec
nxt_cop-2.2.0 nxt_cop.gemspec
nxt_cop-2.1.0 nxt_cop.gemspec
nxt_cop-2.0.2 nxt_cop.gemspec
nxt_cop-2.0.1 nxt_cop.gemspec