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.22.0 lib/tasks/try.rake
picky-4.21.2 lib/tasks/try.rake
picky-4.21.1 lib/tasks/try.rake
picky-4.21.0 lib/tasks/try.rake
picky-4.20.2 lib/tasks/try.rake
picky-4.20.1 lib/tasks/try.rake
picky-4.20.0 lib/tasks/try.rake
picky-4.19.7 lib/tasks/try.rake
picky-4.19.6 lib/tasks/try.rake
picky-4.19.5 lib/tasks/try.rake
picky-4.19.4 lib/tasks/try.rake
picky-4.19.3 lib/tasks/try.rake
picky-4.19.2 lib/tasks/try.rake
picky-4.19.1 lib/tasks/try.rake
picky-4.19.0 lib/tasks/try.rake
picky-4.18.0 lib/tasks/try.rake
picky-4.17.1 lib/tasks/try.rake
picky-4.17.0 lib/tasks/try.rake
picky-4.16.0 lib/tasks/try.rake
picky-4.15.1 lib/tasks/try.rake