forked from ixti/sidekiq-throttled
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sidekiq-throttled.gemspec
36 lines (27 loc) · 1.22 KB
/
sidekiq-throttled.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
# frozen_string_literal: true
require_relative "lib/sidekiq/throttled/version"
Gem::Specification.new do |spec|
spec.name = "sidekiq-throttled"
spec.version = Sidekiq::Throttled::VERSION
spec.authors = ["Alexey Zapparov"]
spec.email = ["[email protected]"]
spec.summary = "Concurrency and rate-limit throttling for Sidekiq"
spec.homepage = "https://github.com/ixti/sidekiq-throttled"
spec.license = "MIT"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/v#{spec.version}"
spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/v#{spec.version}/CHANGES.md"
spec.metadata["rubygems_mfa_required"] = "true"
spec.files = Dir.chdir(__dir__) do
docs = %w[LICENSE.txt README.adoc].freeze
`git ls-files -z`.split("\x0").select do |f|
f.start_with?("lib/") || docs.include?(f)
end
end
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.7"
spec.add_dependency "concurrent-ruby", ">= 1.2.0"
spec.add_dependency "redis-prescription", "~> 2.2"
spec.add_dependency "sidekiq", ">= 6.5"
end