Sha256: abf3bc1f47d3e35432c7717656a3dc795c714afa7962534ebdea33fbc1302ea1

Contents?: true

Size: 326 Bytes

Versions: 18

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

namespace :fixtury do
  task :setup

  desc "Clear fixtures from your cache. Accepts a pattern or fixture name such as foo/bar or /foo/*. Default pattern is /*"
  task :clear_cache, [:pattern] => :setup do |_t, args|
    ::Fixtury::Store.instance.clear_cache!(pattern: args[:pattern])
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fixtury-1.0.0.beta1 lib/fixtury/tasks.rake
fixtury-0.4.1 lib/fixtury/tasks.rake
fixtury-0.4.0 lib/fixtury/tasks.rake
fixtury-0.3.5 lib/fixtury/tasks.rake
fixtury-0.3.4 lib/fixtury/tasks.rake
fixtury-0.3.3 lib/fixtury/tasks.rake
fixtury-0.3.2 lib/fixtury/tasks.rake
fixtury-0.3.1 lib/fixtury/tasks.rake
fixtury-0.3.0 lib/fixtury/tasks.rake
fixtury-0.3.0.beta lib/fixtury/tasks.rake
fixtury-0.2.1 lib/fixtury/tasks.rake
fixtury-0.2.0 lib/fixtury/tasks.rake
fixtury-0.1.0 lib/fixtury/tasks.rake
fixtury-0.1.0.rc1 lib/fixtury/tasks.rake
fixtury-0.1.0.beta2 lib/fixtury/tasks.rake
fixtury-0.1.0.beta lib/fixtury/tasks.rake
fixtury-0.1.0.alpha2 lib/fixtury/tasks.rake
fixtury-0.1.0.alpha lib/fixtury/tasks.rake