Sha256: 4a8f65d2a07f5b5566656c173899dc84b164a764694e1b872a6de4cec145b6ba

Contents?: true

Size: 1.56 KB

Versions: 24

Compression:

Stored size: 1.56 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/bestvendor/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"]

  gem.add_dependency 'after_commit_action', '~> 0.1.3' 
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

24 entries across 24 versions & 1 rubygems

Version Path
counter_culture-0.1.27 Rakefile
counter_culture-0.1.25 Rakefile
counter_culture-0.1.24 Rakefile
counter_culture-0.1.23 Rakefile
counter_culture-0.1.22 Rakefile
counter_culture-0.1.21 Rakefile
counter_culture-0.1.20 Rakefile
counter_culture-0.1.19 Rakefile
counter_culture-0.1.18 Rakefile
counter_culture-0.1.17 Rakefile
counter_culture-0.1.16 Rakefile
counter_culture-0.1.15 Rakefile
counter_culture-0.1.14 Rakefile
counter_culture-0.1.13 Rakefile
counter_culture-0.1.12 Rakefile
counter_culture-0.1.11 Rakefile
counter_culture-0.1.10 Rakefile
counter_culture-0.1.9 Rakefile
counter_culture-0.1.8 Rakefile
counter_culture-0.1.7 Rakefile