Sha256: b13755d639b074af083726aa708b47ed79dc69f49a058b5479f7d44d2f43a083

Contents?: true

Size: 1.16 KB

Versions: 6

Compression:

Stored size: 1.16 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', '~> 1.3'
    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 'benchmark-ips'
    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/workhorse/**/*_test.rb'
  t.verbose = false
  t.libs << 'test/lib'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workhorse-0.3.9 Rakefile
workhorse-0.3.8 Rakefile
workhorse-0.3.7 Rakefile
workhorse-0.3.6 Rakefile
workhorse-0.3.5 Rakefile
workhorse-0.3.4 Rakefile