-
Notifications
You must be signed in to change notification settings - Fork 15
/
activejob-locking.gemspec
27 lines (23 loc) · 1.04 KB
/
activejob-locking.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
Gem::Specification.new do |s|
s.name = 'activejob-locking'
s.version = '0.6.1'
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = 'ActiveJob locking to control how jobs are enqueued and performed.'
s.license = 'MIT'
s.homepage = 'http://github.com/cfis/activejob-locking'
s.authors = ['Charlie Savage']
s.files = %w(README.md Rakefile LICENSE HISTORY.md Gemfile)
s.files += Dir.glob('lib/**/*')
s.files += Dir.glob('test/**/*')
s.add_dependency('activejob')
s.add_development_dependency('minitest')
s.add_development_dependency('redis-mutex')
s.add_development_dependency('redis-semaphore')
s.add_development_dependency('redlock')
s.add_development_dependency('suo')
s.description = <<desc
activejob-locking lets you control how ActiveJobs are enqueued and performed:
Allow only one job to be enqueued at a time (based on a lock_id)
Allow only one job to be performed at a time (also based on a lock_id)
desc
end