Sha256: 450c56964755271a592826060ab818462de20bfbc94485b1fdc4a87d91f5d030

Contents?: true

Size: 458 Bytes

Versions: 111

Compression:

Stored size: 458 Bytes

Contents

# Tasks for manually testing your engine configuration.
#
desc "Try the given text in the indexer/query (index and category optional)."
task :try, [:text, :index, :category] => :application do |_, options|
  puts
  fail "\x1b[31mrake try needs a text to try indexing and query preparation\x1b[m, e.g. rake 'try[yourtext]'." unless options.text

  require_relative 'try'
  try = Picky::Try.new options.text, options.index, options.category
  try.to_stdout
end

Version data entries

111 entries across 111 versions & 1 rubygems

Version Path
picky-4.0.7 lib/tasks/try.rake
picky-4.0.6 lib/tasks/try.rake
picky-4.0.5 lib/tasks/try.rake
picky-4.0.4 lib/tasks/try.rake
picky-4.0.3 lib/tasks/try.rake
picky-4.0.1 lib/tasks/try.rake
picky-4.0.0 lib/tasks/try.rake
picky-4.0.0pre6 lib/tasks/try.rake
picky-4.0.0pre5 lib/tasks/try.rake
picky-4.0.0pre3 lib/tasks/try.rake
picky-4.0.0pre2 lib/tasks/try.rake