Sha256: c7b9abea9bd55c07e954028bc1aa13bee7aa866b90517ea3a125247e0dee2655

Contents?: true

Size: 1.23 KB

Versions: 1

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 = %(This gem gives every ActiveRecord::Base object the possibility to do a deep clone.)
    gem.description = %(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

1 entries across 1 versions & 1 rubygems

Version Path
deep_cloneable-3.0.0 Rakefile