Sha256: 46725a6750306197b53bced7e4cdfd0faf4f6fd21b97d94457e9aec3cf2a67ee
Contents?: true
Size: 1.58 KB
Versions: 2
Compression:
Stored size: 1.58 KB
Contents
$:.unshift 'lib' require 'rubygems' require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'spec/rake/spectask' task :default => "spec:suite" begin require "jeweler" Jeweler::Tasks.new do |gemspec| gemspec.name = "instructure-redis-store" gemspec.summary = "Namespaced Rack::Session, Rack::Cache, I18n and cache Redis stores for Ruby web frameworks." gemspec.description = "Namespaced Rack::Session, Rack::Cache, I18n and cache Redis stores for Ruby web frameworks." gemspec.email = "brianp@instructure.com" gemspec.homepage = "http://github.com/instructure/redis-store" gemspec.authors = [ "Luca Guidi", "Brian Palmer" ] gemspec.executables = [ ] gemspec.add_dependency "redis", "3.0.1" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install jeweler" end namespace :spec do desc "Run all the examples by starting a detached Redis instance" task :suite => :prepare do invoke_with_redis_replication "spec:run" end Spec::Rake::SpecTask.new(:run) do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.spec_opts = %w(-fs --color) end end desc "Run all examples with RCov" task :rcov => :prepare do invoke_with_redis_replication "rcov_run" end Spec::Rake::SpecTask.new(:rcov_run) do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.rcov = true end task :prepare do `mkdir -p tmp && rm tmp/*.rdb` end namespace :bundle do task :clean do system "rm -rf ~/.bundle/ ~/.gem/ .bundle/ Gemfile.lock" end end load "tasks/redis.tasks.rb"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
instructure-redis-store-1.0.0.2.instructure1 | Rakefile |
instructure-redis-store-1.0.0.1.instructure1 | Rakefile |