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-2.1.4 Rakefile
counter_culture-2.1.3 Rakefile
counter_culture-2.1.2 Rakefile
counter_culture-2.1.1 Rakefile
counter_culture-2.1.0 Rakefile
counter_culture-2.0.1 Rakefile
counter_culture-2.0.0 Rakefile
counter_culture-1.12.0 Rakefile
counter_culture-1.11.0 Rakefile
counter_culture-1.10.0 Rakefile
counter_culture-1.9.2 Rakefile
counter_culture-1.9.1 Rakefile
counter_culture-1.9.0 Rakefile
counter_culture-1.8.2 Rakefile
counter_culture-1.8.1 Rakefile
counter_culture-1.8.0 Rakefile
counter_culture-1.7.0 Rakefile
counter_culture-1.6.2 Rakefile
counter_culture-1.6.1 Rakefile
counter_culture-1.6.0 Rakefile