Sha256: c702428d496e4ccb51caeccc945ee28717ae5d764c0e40772b6bb75e8510ef8e

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 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 = "itrigga-cache"
  gem.homepage = "http://gemcutter.com/gems/itrigga-cache"
  gem.license = "MIT"
  gem.summary = %Q{Adds caching methods}
  gem.description = %Q{Wraps memcached with helpful methods}
  gem.email = "support@itrigga.com"
  gem.authors = ["Al Davidson","Anson Kelly"]
  # dependencies defined in Gemfile
  gem.add_dependency "memcached"
  gem.add_dependency "itrigga-param_fu"
end
Jeweler::RubygemsDotOrgTasks.new

require 'spec/version'
require 'spec/rake/spectask'
require 'spec/ruby'

Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.spec_files = FileList['spec/**/*_spec.rb']
  spec.spec_opts = ['--options', 'spec/spec.opts']
end

task :default => :spec

desc "Run all specs with rcov"
Spec::Rake::SpecTask.new(:rcov) do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = ['--options', 'spec/spec.opts']
  t.rcov = true
  t.rcov_dir = 'coverage'
  t.rcov_opts = ['--exclude', "features,kernel,load-diff-lcs\.rb,instance_exec\.rb,lib/spec.rb,lib/spec/runner.rb,^spec/*,bin/spec,examples,/gems,/Library/Ruby,\.autotest,#{ENV['GEM_HOME']}"]
  t.rcov_opts << '--sort coverage --text-summary --aggregate coverage.data'
end



Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
itrigga-cache-0.3.0 Rakefile
itrigga-cache-0.2.1 Rakefile