namespace :panopticon do
  desc "Register application metadata with panopticon"
  task :register => [:environment] do
    Tag.published.find_each do |tag|
      PanopticonNotifier.update_tag(TagPresenter.presenter_for(tag))
    end
  end
end

namespace :panopticon do
  desc "Republish all tags to panopticon"
  task :republish_tags => [:environment] do
    Tag.published.find_each do |tag|
      PanopticonNotifier.update_tag(TagPresenter.presenter_for(tag))
    end
  end
end

Rename rake task to republish tags
Rename rake task to republish tags

`rake panopticon:republish_tags` is more descriptive and won't
interfere with the pattern of running `panopticon:register` on each
deploy.
