lib/recipes/mysql.rb
Block has too many lines. [40/25] Open
Open
namespace :deploy do
namespace :mysql do
desc 'Sets up mysql databse'
task :setup do
read_config
- Read upRead up
- Exclude checks
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. [38/25] Open
Open
namespace :mysql do
desc 'Sets up mysql databse'
task :setup do
read_config
sudo "mysqladmin create #{db_name}"
- Read upRead up
- Exclude checks
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.