Sha256: 70520ed7925fdbdcf5c009382bea47d461225177aa9605c480fa26e0878d7a23

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 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 = "cacheable_flash"
  gem.homepage = "http://github.com/pboling/cacheable-flash"
  gem.license = "MIT"
  gem.summary = %Q{Render flash messages from a cookie using JavaScript, instead of in your Rails
view template}
  gem.description = %Q{This plugin enables greater levels of page caching by rendering flash
messages from a cookie using JavaScript, instead of in your Rails
view template.  Flash contents are converted to JSON and placed in
a cookie by an after_filter in a controller.}
  gem.email = "peter.boling@gmail.com"
  gem.authors = ["Peter H. Boling","Brian Takita"]
  # dependencies defined in Gemfile
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

require 'reek/rake/task'
Reek::Rake::Task.new do |t|
  t.fail_on_error = true
  t.verbose = false
  t.source_files = 'lib/**/*.rb'
end

require 'roodi'
require 'roodi_task'
RoodiTask.new do |t|
  t.verbose = false
end

task :default => :spec

require 'yard'
YARD::Rake::YardocTask.new

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cacheable_flash-0.2.2 Rakefile
cacheable_flash-0.2.1 Rakefile
cacheable_flash-0.2.0 Rakefile