forked from alanpeabody/resque-job-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresque-job-stats.gemspec
43 lines (34 loc) · 1.14 KB
/
resque-job-stats.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'resque/plugins/job_stats/version'
Gem::Specification.new do |s|
s.name = 'resque-job-stats'
s.version = Resque::Plugins::JobStats::VERSION.to_s
s.authors = ['alanpeabody']
s.description = 'Tracks jobs performed, failed, and the duration of the last 100 jobs for each job type.'
s.email = '[email protected]'
s.extra_rdoc_files = [
'LICENSE.txt',
'README.md'
]
files = begin
`git ls-files`.split("\n")
rescue StandardError
[]
end
files &= (
Dir['lib/**/*.{rb,erb}'] +
Dir['*.md'])
s.files = files
s.require_paths = ['lib']
s.homepage = 'http://github.com/alanpeabody/resque-job-stats'
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.2'
s.summary = 'Job-centric stats for Resque'
s.add_dependency('resque', '>= 1.17', '< 3')
s.add_development_dependency 'minitest', '~> 5.0'
s.add_development_dependency 'rack-test', '>= 0'
s.add_development_dependency 'rake'
s.add_development_dependency 'timecop', '~> 0.6'
end