-
Notifications
You must be signed in to change notification settings - Fork 0
/
resque-rate_limited.gemspec
executable file
·31 lines (28 loc) · 1.84 KB
/
resque-rate_limited.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'resque-rate_limited/version'
Gem::Specification.new do |spec|
spec.name = 'resque-rate_limited'
spec.version = RateLimited::VERSION
spec.authors = ['Greg Dowling']
spec.email = ['mail@greddowling.com']
spec.summary = 'A Resque plugin to help manage jobs that use rate-limited APIs, pausing when you hit the '\
'limits and restarting later.'
spec.description = 'A Resque plugin which allows you to create dedicated queues for jobs that use rate-limited '\
'APIs. These queues will pause when one of the jobs hits a rate limit, and unpause after a '\
'suitable time period. The rate-limited queue can be used directly, and just requires '\
'catching the rate limit exception and pausing the queue. There are also additional queues '\
'provided that already include the pause/retry logic for Twitter, AngelList and Evernote; '\
'these allow you to support rate-limited APIs with minimal changes.'
spec.homepage = 'http://github.com/Xenapto/resque-rate_limited'
spec.license = 'MIT'
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).reject { |f| f =~ %r{^spec/} }
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features|coverage|script)/})
spec.require_paths = ['lib']
spec.add_dependency 'resque', '~> 1.9', '>= 1.9.10'
spec.add_dependency 'redis-mutex', '~> 4.0', '>= 4.0.0'
spec.add_dependency 'angellist_api', '~> 1.0', '>= 1.0.7'
spec.add_dependency 'evernote-thrift', '~> 1.25', '>= 1.25.1'
spec.add_dependency 'twitter', '>= 5.11.0'
end