Sha256: 35de46ccbd05144cfc038004d5a8c7a30de1b928676cfdf2de25cb17dcb827cf

Contents?: true

Size: 1.22 KB

Versions: 13

Compression:

Stored size: 1.22 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

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

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

desc 'Generate documentation for the identity_map plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'IdentityMap'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "ar-simple-idmap"
    gemspec.summary = "Simple identity map for ActiveRecord"
    gemspec.description = "Add simple finegrained handcontrolled identity map for ActiveRecord"
    gemspec.email = "funny.falcon@gmail.com"
    gemspec.homepage = "http://github.com/funny-falcon/identity-map"
    gemspec.authors = ["Sokolov Yura aka funny_falcon"]
    gemspec.add_dependency('activerecord')
    gemspec.rubyforge_project = 'ar-simple-idmap'
  end
  Jeweler::GemcutterTasks.new
  Jeweler::RubyforgeTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ar-simple-idmap-0.3.1 Rakefile
ar-simple-idmap-0.3.0 Rakefile
ar-simple-idmap-0.2.4 Rakefile
ar-simple-idmap-0.2.2 Rakefile
ar-simple-idmap-0.2.1 Rakefile
ar-simple-idmap-0.2.0 Rakefile
ar-simple-idmap-0.1.6 Rakefile
ar-simple-idmap-0.1.5 Rakefile
ar-simple-idmap-0.1.4 Rakefile
ar-simple-idmap-0.1.3 Rakefile
ar-simple-idmap-0.1.2 Rakefile
ar-simple-idmap-0.1.1 Rakefile
ar-simple-idmap-0.1.0 Rakefile