Sha256: 9c5f1a58b5c28ae3dd5495d44c1a81ca78924d59d0dda330c69c3677c70f0be9

Contents?: true

Size: 1.91 KB

Versions: 6

Compression:

Stored size: 1.91 KB

Contents

require 'rubygems'
# require 'bundler'
# begin
#   Bundler.setup(:default, :development)
# rescue Bundler::BundlerError => e
#   $stderr.puts e.message
#   $stderr.puts "Run `bundle install` to install missing gems"
#   exit e.status_code
# end
require 'rake'
require 'jeweler'

require 'lib/fire_and_forget/version'

Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "fire_and_forget"
  gem.homepage = "http://github.com/magnetised/fire_and_forget"
  gem.license = "MIT"
  gem.summary = %Q{Fire & Forget is a simple, framework agnostic, background task launcher for Ruby web apps}
  # gem.description = %Q{Fire & Forget is a simple, framework agnostic, background task launcher for Ruby web apps}
  gem.email = "garry@magnetised.info"
  gem.authors = ["Garry Hill"]
  gem.version = FireAndForget::VERSION

  ## Seems that you actually use the Gemfile to do this
  # gem.add_runtime_dependency "json", "~>1.4.6"
  # gem.add_runtime_dependency "daemons", "~>1.1.0"

  # gem.add_development_dependency "shoulda", ">= 0"
  # gem.add_development_dependency 'jnunemaker-matchy', '~>0.4'
  # gem.add_development_dependency "bundler", "~> 1.0.0"
  # gem.add_development_dependency "jeweler", "~> 1.5.1"
  # gem.add_development_dependency "rr", "~>1.0.2"
end

Jeweler::RubygemsDotOrgTasks.new

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

require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
  test.libs << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "fire_and_forget #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fire_and_forget-0.3.3 Rakefile
fire_and_forget-0.3.2 Rakefile
fire_and_forget-0.3.1 Rakefile
fire_and_forget-0.3.0 Rakefile
fire_and_forget-0.2.0 Rakefile
fire_and_forget-0.1.2 Rakefile