Skip to content
Snippets Groups Projects
sneakers_requeue_on_error.gemspec 806 B
Newer Older
Chris Harrison's avatar
Chris Harrison committed
require_relative 'lib/sneakers_requeue_on_error/version'

Gem::Specification.new do |spec|
  spec.name = 'sneakers_requeue_on_error'
  spec.version       = SneakersRequeueOnError::VERSION
  spec.authors       = ['Chris Harrison']
  spec.email         = ['chris.harrison@nexusmods.com']

  spec.summary       = 'A Sneakers worker handler that will re-queue the message when encountering an error.'
  spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')

  # 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
    %x(git ls-files -z).split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.require_paths = ['lib']
end