guzart/toktok

View on GitHub
toktok.gemspec

Summary

Maintainability
Test Coverage

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

Gem::Specification.new do |spec|
  spec.name          = 'toktok'
  spec.version       = Toktok::VERSION
  spec.authors       = ['Arturo Guzman']
  spec.email         = ['arturo@guzart.com']
Severity: Minor
Found in toktok.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.

Add an empty line after magic comments.
Open

lib = File.expand_path('../lib', __FILE__)
Severity: Minor
Found in toktok.gemspec by rubocop

Checks for a newline after the final magic comment.

Example:

# good
# frozen_string_literal: true

# Some documentation for Person
class Person
  # Some code
end

# bad
# frozen_string_literal: true
# Some documentation for Person
class Person
  # Some code
end

Unnecessary utf-8 encoding comment.
Open

# coding: utf-8
Severity: Minor
Found in toktok.gemspec by rubocop

There are no issues that match your filters.

Category
Status