dpn-admin/dpn-sync

View on GitHub
lib/tasks/dpn_sync.rake

Summary

Maintainability
Test Coverage

Block has too many lines. [45/25]
Open

namespace :dpn do
  namespace :sync do
    desc "DPN - fetch bag meta-data from remote nodes"
    task :bags do
      DPN::Workers::SyncWorker.perform_async "DPN::Workers::SyncBags"
Severity: Minor
Found in lib/tasks/dpn_sync.rake by rubocop

This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.

Block has too many lines. [43/25]
Open

  namespace :sync do
    desc "DPN - fetch bag meta-data from remote nodes"
    task :bags do
      DPN::Workers::SyncWorker.perform_async "DPN::Workers::SyncBags"
    end
Severity: Minor
Found in lib/tasks/dpn_sync.rake by rubocop

This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.

There are no issues that match your filters.

Category
Status