forked from ezcater/sidekiq_publisher
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sidekiq_publisher.gemspec
63 lines (55 loc) · 2.4 KB
/
sidekiq_publisher.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "sidekiq_publisher/version"
Gem::Specification.new do |spec|
spec.name = "sidekiq_publisher"
spec.version = SidekiqPublisher::VERSION
spec.authors = ["ezCater, Inc"]
spec.email = ["engineering@ezcater.com"]
spec.summary = "Publisher for enqueuing jobs to Sidekiq"
spec.description = spec.summary
spec.homepage = "https://github.com/ezcater/sidekiq_publisher"
spec.license = "MIT"
# Set "allowed_push_post" to control where this gem can be published.
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
.github/PULL_REQUEST_TEMPLATE.md
.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 = []
spec.require_paths = ["lib"]
spec.add_development_dependency "activejob"
spec.add_development_dependency "appraisal"
spec.add_development_dependency "bundler", "~> 1.12"
spec.add_development_dependency "database_cleaner"
spec.add_development_dependency "ddtrace", ">= 0.39.0"
spec.add_development_dependency "ezcater_matchers"
spec.add_development_dependency "ezcater_rubocop", "1.0.2"
spec.add_development_dependency "factory_bot"
spec.add_development_dependency "overcommit"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "redis-namespace"
spec.add_development_dependency "rspec", "~> 3.4"
spec.add_development_dependency "rspec_junit_formatter", "0.2.2"
spec.add_development_dependency "shoulda-matchers"
spec.add_development_dependency "simplecov", "< 0.18"
spec.add_runtime_dependency "activerecord-postgres_pub_sub", ">= 0.4.0"
spec.add_runtime_dependency "activesupport", ">= 5.1", "< 6.2"
spec.add_runtime_dependency "sidekiq", ">= 5.0.4", "< 7.0"
end