-
Notifications
You must be signed in to change notification settings - Fork 5
/
que.gemspec
36 lines (30 loc) · 1.33 KB
/
que.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
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "que/version"
Gem::Specification.new do |spec|
spec.name = "que"
spec.version = Que::VERSION
spec.authors = ["Chris Hanks"]
spec.email = ["[email protected]"]
spec.description =
"A job queue that uses PostgreSQL's advisory locks for speed and reliability."
spec.summary = "A PostgreSQL-based Job Queue"
spec.homepage = "https://github.com/chanks/que"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0"
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = ["que"]
spec.require_paths = ["lib"]
# We're pointing to our own branch of the Prometheus Client.
# Ideally we'd do this in the `gemspec`, but you can't do that.
# Instead, we remove the version restriction from `gemspec` and add it to the `Gemfile`
# instead, and in any other clients of `Que`.
# This is highly non ideal, but unless we properly fork, we have to do this for now.
spec.add_dependency "prometheus-client"
spec.add_dependency "rack", ">= 2", "< 4"
spec.add_dependency "rackup"
spec.add_dependency "webrick"
spec.add_runtime_dependency "activesupport"
spec.metadata["rubygems_mfa_required"] = "true"
end