-
Notifications
You must be signed in to change notification settings - Fork 3
/
Rakefile
37 lines (33 loc) · 1.25 KB
/
Rakefile
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
task :gemspec do
gemspec = Gem::Specification.new do |spec|
spec.name = 'workhorse'
spec.version = File.read('VERSION').chomp
spec.authors = ['Sitrox']
spec.summary = %(
Multi-threaded job backend with database queuing for ruby.
)
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = []
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rubocop', '~> 1.28.0' # Latest version supported with Ruby 2.5
spec.add_development_dependency 'minitest'
spec.add_development_dependency 'mysql2'
spec.add_development_dependency 'colorize'
spec.add_development_dependency 'benchmark-ips'
spec.add_development_dependency 'activejob'
spec.add_development_dependency 'pry'
spec.add_dependency 'activesupport'
spec.add_dependency 'activerecord'
spec.add_dependency 'concurrent-ruby'
end
File.write('workhorse.gemspec', gemspec.to_ruby.strip)
end
require 'rake/testtask'
Rake::TestTask.new do |t|
t.pattern = 'test/**/*_test.rb'
t.verbose = false
t.libs << 'test/lib'
end