Sha256: 8da7a4ea39c308f999b4645827dad68020a25571f77ff04070235a7e1e5c22d4

Contents?: true

Size: 1.91 KB

Versions: 11

Compression:

Stored size: 1.91 KB

Contents

# frozen_string_literal: true

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

Gem::Specification.new do |spec|
  spec.name          = "ezcater_rubocop"
  spec.version       = EzcaterRubocop::VERSION
  spec.authors       = ["ezCater, Inc"]
  spec.email         = ["engineering@ezcater.com"]

  spec.summary       = "ezCater custom cops and shared configuration"
  spec.description   = spec.summary
  spec.homepage      = "https://github.com/ezcater/ezcater_rubocop"
  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"
  else
    raise "RubyGems 2.0 or newer is required to protect against " \
      "public gem pushes."
  end

  excluded_files = %w(.circleci/config.yml
                      .gitignore
                      .rspec
                      .rubocop.yml
                      .ruby-gemset
                      .ruby-version
                      .travis.yml
                      bin/console
                      bin/setup
                      Rakefile)

  spec.files = `git ls-files -z`.split("\x0").reject do |f|
    f.match(/^(test|spec|features)\//)
  end - excluded_files
  spec.bindir = "bin"
  spec.executables << "circle_rubocop.rb"
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.15"
  spec.add_development_dependency "pry-byebug"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_development_dependency "rspec_junit_formatter"

  spec.add_runtime_dependency "parser"
  spec.add_runtime_dependency "rubocop", "~> 0.57.2"
  spec.add_runtime_dependency "rubocop-rspec", "~> 1.27.0"
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ezcater_rubocop-0.57.2 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.2.rc1 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.1 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.1.rc4 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.1.rc3 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.1.rc2 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.1.rc1 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.0 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.0.rc3 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.0.rc2 ezcater_rubocop.gemspec
ezcater_rubocop-0.57.0.rc1 ezcater_rubocop.gemspec