nisevi/primes_table

View on GitHub
primes_table.gemspec

Summary

Maintainability
Test Coverage

Line is too long. [88/80]
Open

  spec.summary       = 'Prints out a multiplication table of the first N prime numbers.'
Severity: Minor
Found in primes_table.gemspec by rubocop

required_ruby_version (2.7, declared in primes_table.gemspec) and TargetRubyVersion (2.1, declared in .rubocop.yml) should be equal.
Wontfix

  spec.required_ruby_version = '>= 2.7.1'
Severity: Minor
Found in primes_table.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

Line is too long. [112/80]
Open

  spec.description   = 'Command line tool for printing out a multiplication table of the first N prime numbers.'
Severity: Minor
Found in primes_table.gemspec by rubocop

There are no issues that match your filters.

Category
Status