Sha256: 2966beffb409419671255b9535e990be641b1bcb018eb05b07ba50c2b7b4b88e

Contents?: true

Size: 1.62 KB

Versions: 8

Compression:

Stored size: 1.62 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "activerecord_snapshot_view"
    gem.summary = %Q{snapshot materialized view support for ActiveRecord}
    gem.description = %Q{manage snapshot materialized views for ActiveRecord. multiple
                         versions of each view are maintained, a live version, a working
                         version and 1 or more history versions, all created and managed
                         automatically}
    gem.email = "mccraigmccraig@googlemail.com"
    gem.homepage = "http://github.com/mccraigmccraig/activerecord_snapshot_view"
    gem.authors = ["mccraig mccraig of the clan mccraig"]
    gem.add_development_dependency "rspec"
    # 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: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activerecord_snapshot_view-0.11.4 Rakefile
activerecord_snapshot_view-0.11.3 Rakefile
activerecord_snapshot_view-0.11.2 Rakefile
activerecord_snapshot_view-0.11.1 Rakefile
activerecord_snapshot_view-0.11.0 Rakefile
activerecord_snapshot_view-0.10.0 Rakefile
activerecord_snapshot_view-0.9.3 Rakefile
activerecord_snapshot_view-0.9.2 Rakefile