varvet/godmin

View on GitHub
godmin.gemspec

Summary

Maintainability
Test Coverage

Block has too many lines. [32/25]
Open

Gem::Specification.new do |gem|
  gem.name        = "godmin"
  gem.version     = Godmin::VERSION
  gem.authors     = ["Jens Ljungblad", "Linus Pettersson", "Varvet"]
  gem.email       = ["info@varvet.se"]
Severity: Minor
Found in godmin.gemspec by rubocop

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.

Line is too long. [170/120]
Open

  gem.description = "Godmin is an admin framework for Rails 5+. Use it to build dedicated admin sections for your apps, or stand alone admin apps such as internal tools."
Severity: Minor
Found in godmin.gemspec by rubocop

Space missing to the left of {.
Open

  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
Severity: Minor
Found in godmin.gemspec by rubocop

Checks that block braces have or don't have a space before the opening brace depending on configuration.

Example:

# bad
foo.map{ |a|
  a.bar.to_s
}

# good
foo.map { |a|
  a.bar.to_s
}

Prefer $LOAD_PATH over $:.
Open

$:.push File.expand_path("../lib", __FILE__)
Severity: Minor
Found in godmin.gemspec by rubocop

Prefer $INPUT_RECORD_SEPARATOR or $RS from the stdlib 'English' module (don't forget to require it) over $/.
Open

  gem.files         = `git ls-files`.split($/)
Severity: Minor
Found in godmin.gemspec by rubocop

There are no issues that match your filters.

Category
Status