Sha256: c3b1fe5500b99ea0379faf36bfc11d91720a21d0d37085173dadc1453abceb36

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

# encoding: utf-8

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 'rspec/core/rake_task'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "delayed_job_shallow_mongoid"
  gem.homepage = "http://github.com/jaghion/delayed_job_shallow_mongoid"
  gem.license = "MIT"
  gem.summary = %Q{More efficient Mongoid document serialization for delayed_job.}
  gem.description = %Q{When the object or arg to a delayed_job is a Mongoid document, store only a small stub of the object instead of the full serialization.}
  gem.email = "joey@aghion.com"
  gem.authors = ["Joey Aghion"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

desc "Run all tests"
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = "spec/**/*_spec.rb"
end

task :default => :spec

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

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "delayed_job_shallow_mongoid #{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
delayed_job_shallow_mongoid-0.2.8 Rakefile
delayed_job_shallow_mongoid-0.2.7 Rakefile
delayed_job_shallow_mongoid-0.2.6 Rakefile
delayed_job_shallow_mongoid-0.2.5 Rakefile
delayed_job_shallow_mongoid-0.2.4 Rakefile
delayed_job_shallow_mongoid-0.2.3 Rakefile