cloudamatic/mu

View on GitHub
cookbooks/mu-master/recipes/ssl-certs.rb

Summary

Maintainability
A
0 mins
Test Coverage

The name of this source file (ssl-certs.rb) should use snake_case.
Open

# Cookbook Name:: mu-master

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

Use meaningful heredoc delimiters.
Open

    EOH

This cop checks that your heredocs are using meaningful delimiters. By default it disallows END and EO*, and can be configured through blacklisting additional delimiters.

Example:

# good
<<-SQL
  SELECT * FROM foo
SQL

# bad
<<-END
  SELECT * FROM foo
END

# bad
<<-EOS
  SELECT * FROM foo
EOS

There are no issues that match your filters.

Category
Status