Sha256: d6c7c80815aff85434983fe76f54cc60063abd691547ec82cc72a22ca3af404a
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 Bytes
Contents
# Indexing tasks. # desc "Generate the index (index, category optional)." task :index, [:index, :category] => :application do |_, options| index, category = options.index, options.category specific = Indexes specific = specific[index] if index specific = specific[category] if category specific.index end namespace :index do # Advanced usage. # # desc "Takes a snapshot, indexes, and caches in random order." task :randomly => :application do Indexes.index true end # desc "Takes a snapshot, indexes, and caches in order given." task :ordered => :application do Indexes.index false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
picky-2.7.0 | lib/tasks/index.rake |