Sha256: 1adf6b0f0f8b80f10e5700e6f1086c3cb51b3482f6a94c51cd7e45261658acea

Contents?: true

Size: 538 Bytes

Versions: 6

Compression:

Stored size: 538 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

desc "Run all specs"
RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = [
    '-c',
    '--format documentation',
    '-r ./spec/spec_helper.rb'
  ]
  t.pattern = 'spec/**/*_spec.rb'
end

desc "open coverage report"
task :coverage do
  system 'rake spec'
  system 'open coverage/index.html'
end

desc "Open development console"
task :console do
  puts "Loading development console..."
  system "irb -I #{File.join('.', 'lib')} -r #{File.join('.', 'lib', 'lrucache')}"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lrucache-0.1.4 Rakefile
lrucache-0.1.3 Rakefile
lrucache-0.1.2 Rakefile
lrucache-0.1.1 Rakefile
lrucache-0.1.0 Rakefile
lrucache-0.0.1 Rakefile