Sha256: 6ad6d8b40009fb17df540c07f3a48a35b703fff46f629067e64e265e22567078

Contents?: true

Size: 1.51 KB

Versions: 4

Compression:

Stored size: 1.51 KB

Contents

$LOAD_PATH.unshift './lib'

require 'rake'
require 'resque-state'
require 'resque/tasks'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = 'resque-state'
    gem.version = Resque::Plugins::State::VERSION.dup
    gem.summary = %(resque-state is an extension to the resque queue system
      that provides simple trackable jobs.).tr("\n", ' ').squeeze(' ')
    gem.description = %(resque-state is an extension to the resque queue
      system that provides simple trackable jobs. It provides a
      Resque::Plugins::State::Hash class which can set/get the statuses of jobs
      and a Resque::Plugins::State class that, when included, provides easily
      trackable/killable/pausable jobs.).tr("\n", ' ').squeeze(' ')
    gem.email = 'nathan.v@gmail.com'
    gem.homepage = 'http://github.com/nathan-v/resque-state'
    gem.rubyforge_project = 'nathan-v'
    gem.authors = ['Aaron Quint', 'Nathan V']
    gem.licenses = 'MIT'
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20
    #  for additional settings
  end
  Jeweler::RubygemsDotOrgTasks.new
rescue LoadError
  puts 'Jeweler (or a dependency) not available. Install it with: gem install'\
  ' jeweler'.tr("\n", ' ').squeeze(' ')
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

desc 'Generates a coverage report'
task :coverage do
  ENV['COVERAGE'] = 'true'
  Rake::Task['test'].execute
end

task :test

task default: :coverage

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
resque-state-1.1.1 Rakefile
resque-state-1.1.0 Rakefile
resque-state-1.0.4 Rakefile
resque-state-1.0.3 Rakefile