Sha256: 8a640304c49df0d8d52bbfc635542f1721b32a1c6204461150d7d2f86f48d1c5

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

require 'rubygems'
require 'bundler/setup'
require 'appraisal'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "deep_cloneable"
    gem.summary = %Q{This gem gives every ActiveRecord::Base object the possibility to do a deep clone.}
    gem.description = %Q{Extends the functionality of ActiveRecord::Base#dup to perform a deep clone that includes user specified associations. }
    gem.email = "rjdelange@icloud.com"
    gem.homepage = "http://github.com/moiristo/deep_cloneable"
    gem.authors = ["Reinier de Lange"]
    gem.license = "MIT"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

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

task :default => :test

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deep_cloneable-2.4.0 Rakefile
deep_cloneable-2.3.2 Rakefile