nsweeting/qpush

View on GitHub
lib/qpush/server/launcher.rb

Summary

Maintainability
A
0 mins
Test Coverage

Pass &:validate! as an argument to each instead of a block.
Open

        Server.config.workers.each { |w| w.validate! }
Severity: Minor
Found in lib/qpush/server/launcher.rb by rubocop

Use symbols as procs when possible.

Example:

# bad
something.map { |s| s.upcase }

# good
something.map(&:upcase)

Line is too long. [84/80]
Open

        Server.log.info("* Version #{QPush::VERSION}, codename: #{QPush::CODENAME}")
Severity: Minor
Found in lib/qpush/server/launcher.rb by rubocop

There are no issues that match your filters.

Category
Status