plentz/lol_dba

View on GitHub
lol_dba.gemspec

Summary

Maintainability
Test Coverage

Line is too long. [119/100]
Open

  s.summary = 'A small package of rake tasks to track down missing database indexes and generate sql migration scripts'
Severity: Minor
Found in lol_dba.gemspec by rubocop

Line is too long. [204/100]
Open

  s.description = 'lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.'
Severity: Minor
Found in lol_dba.gemspec by rubocop

required_ruby_version (2.0, declared in lol_dba.gemspec) and TargetRubyVersion (2.1, declared in .rubocop.yml) should be equal.
Open

  s.required_ruby_version = '>= 2.0.0'
Severity: Minor
Found in lol_dba.gemspec by rubocop

Checks that required_ruby_version of gemspec and TargetRubyVersion of .rubocop.yml are equal. Thereby, RuboCop to perform static analysis working on the version required by gemspec.

Example:

# When `TargetRubyVersion` of .rubocop.yml is `2.3`.

# bad
Gem::Specification.new do |spec|
  spec.required_ruby_version = '>= 2.2.0'
end

# bad
Gem::Specification.new do |spec|
  spec.required_ruby_version = '>= 2.4.0'
end

# good
Gem::Specification.new do |spec|
  spec.required_ruby_version = '>= 2.3.0'
end

# good
Gem::Specification.new do |spec|
  spec.required_ruby_version = '>= 2.3'
end

# good
Gem::Specification.new do |spec|
  spec.required_ruby_version = ['>= 2.3.0', '< 2.5.0']
end

There are no issues that match your filters.

Category
Status