Sha256: ee2eb143057463c8ca7ba491cfc05dc3d8c29001423c01d2dc71cd7b50abdd1c
Contents?: true
Size: 622 Bytes
Versions: 2
Compression:
Stored size: 622 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |task| task.rspec_opts = ['--color', '--format', 'doc'] end task test: :spec task default: :spec require 'cassette-rack' namespace :vcr do desc "Draw cassettes of VCR" task :draw do root_path = File.dirname(__FILE__) CassetteRack.configure do |config| config.content_layout = File.join(root_path, 'doc/caracal/content.md.liquid') end dest_path = ENV['path'] ||= File.join(root_path, 'doc/cassettes') CassetteRack::Cli.draw(dest_path) puts "drawing cassettes to #{dest_path}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
smartdc-2.0.2 | Rakefile |
smartdc-2.0.1 | Rakefile |