lib/tasks/checks.rake in picky-3.0.0 vs lib/tasks/checks.rake in picky-3.0.1
- old
+ new
@@ -2,10 +2,10 @@
#
desc 'Checks if index files are small/missing (index, category optional).'
task :check, [:index, :category] => :application do |_, options|
index, category = options.index, options.category
- specific = Indexes
+ specific = Picky::Indexes
specific = specific[index] if index
specific = specific[category] if category
specific.check
puts "All checked indexes look ok."
\ No newline at end of file