ringcentral-ruby/ringcentral-avatars-ruby

View on GitHub
lib/ringcentral-avatars.rb

Summary

Maintainability
A
0 mins
Test Coverage

The name of this source file (ringcentral-avatars.rb) should use snake_case.
Open

require 'ringcentral-avatars/creator'
Severity: Minor
Found in lib/ringcentral-avatars.rb by rubocop

This cop makes sure that Ruby source files have snake_case names. Ruby scripts (i.e. source files with a shebang in the first line) are ignored.

Example:

# bad
lib/layoutManager.rb

anything/usingCamelCase

# good
lib/layout_manager.rb

anything/using_snake_case.rake

Missing top-level module documentation comment.
Open

  module Avatars
Severity: Minor
Found in lib/ringcentral-avatars.rb by rubocop

This cop checks for missing top-level documentation of classes and modules. Classes with no body are exempt from the check and so are namespace modules - modules that have nothing in their bodies except classes, other modules, or constant definitions.

The documentation requirement is annulled if the class or module has a "#:nodoc:" comment next to it. Likewise, "#:nodoc: all" does the same for all its children.

Example:

# bad
class Person
  # ...
end

# good
# Description/Explanation of Person class
class Person
  # ...
end

There are no issues that match your filters.

Category
Status