Sha256: 1f314eac67da31275d518801b1c7ce559db503de4c35fe36d37babfe202c6588
Contents?: true
Size: 1.99 KB
Versions: 1
Compression:
Stored size: 1.99 KB
Contents
# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'rubocop/mhenrixon/version' Gem::Specification.new do |spec| spec.name = 'rubocop-mhenrixon' spec.version = Rubocop::Mhenrixon::VERSION spec.authors = ['mhenrixon'] spec.email = ['mikael@mhenrixon.com'] spec.summary = 'Shared rubocop configuration for open source gems.' spec.description = 'Convenience gem to handle my rubocop configuration in multiple projects.' spec.homepage = 'https://github.com/mhenrixon/rubocop-mhenrixon' spec.license = 'MIT' spec.required_ruby_version = '>= 3.0' # rubocop:disable Gemspec/RequiredRubyVersion 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/mhenrixon/rubocop-mhenrixon' spec.metadata['changelog_uri'] = 'https://github.com/mhenrixon/rubocop-mhenrixon' else raise 'RubyGems 2.0 or newer is required to protect against ' \ 'public gem pushes.' end # 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|bin)/}) } end spec.bindir = 'bin' spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_dependency 'rubocop' spec.add_dependency 'rubocop-performance' spec.add_dependency 'rubocop-rake' spec.add_dependency 'rubocop-rspec' spec.add_dependency 'rubocop-thread_safety' spec.add_development_dependency 'bundler', '~> 2.1' spec.add_development_dependency 'gem-release', '~> 2.1' spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'rspec', '~> 3.9' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubocop-mhenrixon-3.0.0 | rubocop-mhenrixon.gemspec |