Sha256: 3bb7ecabee8d5640d22c98e16e7151f1c8924241c87c2df8fb6d0e9e063f4bce

Contents?: true

Size: 428 Bytes

Versions: 13

Compression:

Stored size: 428 Bytes

Contents

require_relative '../lib/progressrus'
require 'rake'

namespace :progressrus do
  namespace :store do
    desc "Flushes the current Progressrus.store."
    task :flush, :environment do |t, args|
      scope = *args
      raise ArgumentError.new("Must pass [scope] to progressrus:store:flush[scope(,parts)] task.") unless scope.length > 0
      Progressrus.stores.first.flush(scope) if Progressrus.stores.first
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
progressrus-0.1.8 tasks/redis_store.rake
progressrus-0.1.7 tasks/redis_store.rake
progressrus-0.1.6 tasks/redis_store.rake
progressrus-0.1.5 tasks/redis_store.rake
progressrus-0.1.4 tasks/redis_store.rake
progressrus-0.1.3 tasks/redis_store.rake
progressrus-0.1.2 tasks/redis_store.rake
progressrus-0.1.1 tasks/redis_store.rake
progressrus-0.1.0 tasks/redis_store.rake
progressrus-0.0.4 tasks/redis_store.rake
progressrus-0.0.3 tasks/redis_store.rake
progressrus-0.0.2 tasks/redis_store.rake
progressrus-0.0.1 tasks/redis_store.rake