Sha256: fb81cfe9c3e5044170a3818c4399ba5fdefbebac17e97e66ec202a18fbc24daf

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

require 'rubygems'

require 'rake/rdoctask'
require 'rake/packagetask'
require 'rake/gempackagetask'
require 'rake/testtask'

PKG_VERSION        = '0.3.1.1'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = 'modified_acts_as_versioned'
    gem.summary = "Small added functionality to technoweenie original gen for Rails 2 - Simple versioning with active record models"
    gem.description = "Small added functionality to technoweenie original gen for Rails 2 - Simple versioning with active record models"
    gem.email = "dw_henry@yahoo.com.au"
    gem.homepage = "http://github.com/tom025/acts_as_versioned"
    gem.authors = ["David Henry","Thomas Brand"]
    # 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

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the calculations plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end



#Rake::GemPackageTask.new(spec) do |pkg|
#  pkg.need_tar = true
#end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "modified_acts_as_versioned #{PKG_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
modified_acts_as_versioned-0.5.2 Rakefile