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.31.3 lib/tasks/try.rake
picky-4.31.2 lib/tasks/try.rake
picky-4.31.1 lib/tasks/try.rake
picky-4.31.0 lib/tasks/try.rake
picky-4.30.0 lib/tasks/try.rake
picky-4.29.0 lib/tasks/try.rake
picky-4.28.1 lib/tasks/try.rake
picky-4.27.1 lib/tasks/try.rake
picky-4.27.0 lib/tasks/try.rake
picky-4.26.2 lib/tasks/try.rake
picky-4.26.1 lib/tasks/try.rake
picky-4.26.0 lib/tasks/try.rake
picky-4.25.3 lib/tasks/try.rake
picky-4.25.2 lib/tasks/try.rake
picky-4.25.1 lib/tasks/try.rake
picky-4.25.0 lib/tasks/try.rake
picky-4.24.0 lib/tasks/try.rake
picky-4.23.2 lib/tasks/try.rake
picky-4.23.1 lib/tasks/try.rake
picky-4.23.0 lib/tasks/try.rake