Sha256: a911d7ca9cda73c64c5f578ecf84890193680af5a3d70a4b96193179b398aaa4

Contents?: true

Size: 1.5 KB

Versions: 31

Compression:

Stored size: 1.5 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "counter_culture"
  gem.homepage = "http://github.com/magnusvk/counter_culture"
  gem.license = "MIT"
  gem.summary = %Q{Turbo-charged counter caches for your Rails app.}
  gem.description = %Q{counter_culture provides turbo-charged counter caches that are kept up-to-date not just on create and destroy, that support multiple levels of indirection through relationships, allow dynamic column names and that avoid deadlocks by updating in the after_commit callback.}
  gem.email = "magnus@vonkoeller.de"
  gem.authors = ["Magnus von Koeller"]
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :default => :spec

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
counter_culture-1.5.1 Rakefile
counter_culture-1.5.0 Rakefile
counter_culture-1.4.0 Rakefile
counter_culture-1.3.1 Rakefile
counter_culture-1.3.0 Rakefile
counter_culture-1.2.0 Rakefile
counter_culture-1.1.1 Rakefile
counter_culture-1.1.0 Rakefile
counter_culture-1.0.0 Rakefile
counter_culture-0.2.3 Rakefile
counter_culture-0.2.2 Rakefile