Sha256: 0192420ffdf8811e9bc32667cef3c681b3e79cd679ca2adfd0148af98f7b8065

Contents?: true

Size: 1.84 KB

Versions: 3

Compression:

Stored size: 1.84 KB

Contents

lib = File.expand_path("../lib", __FILE__)
$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(%r{^(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 "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_development_dependency "rspec_junit_formatter"
  spec.add_development_dependency "pry-byebug"

  spec.add_runtime_dependency "rubocop", "~> 0.50.0"
  spec.add_runtime_dependency "rubocop-rspec", "~> 1.18.0"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ezcater_rubocop-0.50.3 ezcater_rubocop.gemspec
ezcater_rubocop-0.50.2 ezcater_rubocop.gemspec
ezcater_rubocop-0.50.2.rc1 ezcater_rubocop.gemspec