Sha256: 9cebcc401ec53cdd49209118ec8cbab3ebf456671b83420a85fe26320de49ee0

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 KB

Contents

require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = 'activerecord-nulldb-adapter'
    gem.summary = %Q{The Null Object pattern as applied to ActiveRecord database adapters}
    gem.description = %Q{A database backend that translates database interactions into no-ops. Using NullDB enables you to test your model business logic - including after_save hooks - without ever touching a real database.}
    gem.email = "myron.marston@gmail.com"
    gem.homepage = "http://github.com/nulldb/nulldb"
    gem.authors = ["Avdi Grimm", "Myron Marston"]
    gem.rubyforge_project = "nulldb"
    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
end

RSpec::Core::RakeTask.new(:spec)
task :default => :spec

require 'rdoc/task'
Rake::RDocTask.new do |rd|
  rd.main = "README.rdoc"
  rd.rdoc_files.include("README.rdoc", "LICENSE", "lib/**/*.rb")
end

desc "Publish project home page"
task :publish => ["rdoc"] do
  sh "scp -r html/* myronmarston@rubyforge.org:/var/www/gforge-projects/nulldb"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activerecord-nulldb-adapter-0.3.5 Rakefile
activerecord-nulldb-adapter-0.3.4 Rakefile
activerecord-nulldb-adapter-0.3.3 Rakefile
activerecord-nulldb-adapter-0.3.2 Rakefile
activerecord-nulldb-adapter-0.3.1 Rakefile
activerecord-nulldb-adapter-0.3.0 Rakefile