Sha256: 0f6d412617f54a30f0e7aec28ea683ebe2990bc2255df05d091093297eca6858

Contents?: true

Size: 1.23 KB

Versions: 12

Compression:

Stored size: 1.23 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_dependency 'activesupport'
    spec.add_dependency 'activerecord'
    spec.add_dependency 'schemacop', '~> 2.0'
    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

12 entries across 12 versions & 1 rubygems

Version Path
workhorse-0.6.9 Rakefile
workhorse-0.6.8 Rakefile
workhorse-0.6.7 Rakefile
workhorse-0.6.6 Rakefile
workhorse-0.6.5 Rakefile
workhorse-0.6.4 Rakefile
workhorse-0.6.3 Rakefile
workhorse-0.6.2 Rakefile
workhorse-0.6.1 Rakefile
workhorse-0.6.0 Rakefile
workhorse-0.5.1 Rakefile
workhorse-0.5.0 Rakefile