Sha256: 6013b420e6751796c37dbbd4f83aae3f88c83fd8fdd0214d263d16c01b6a27af

Contents?: true

Size: 1.22 KB

Versions: 14

Compression:

Stored size: 1.22 KB

Contents

task :gemspec do
  gemspec = Gem::Specification.new do |spec|
    spec.name          = 'workhorse'
    spec.version       = IO.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', '0.51.0'
    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.open('workhorse.gemspec', 'w') { |f| f.write(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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
workhorse-1.2.15 Rakefile
workhorse-1.2.14 Rakefile
workhorse-1.2.13 Rakefile
workhorse-1.2.12 Rakefile
workhorse-1.2.11 Rakefile
workhorse-1.2.10 Rakefile
workhorse-1.2.9 Rakefile
workhorse-1.2.8 Rakefile
workhorse-1.2.7 Rakefile
workhorse-1.2.6 Rakefile
workhorse-1.2.5 Rakefile
workhorse-1.2.4 Rakefile
workhorse-1.2.3 Rakefile
workhorse-1.2.2 Rakefile