codeclimate/minidoc

View on GitHub
minidoc.gemspec

Summary

Maintainability
Test Coverage

Showing 7 of 7 total issues

%q-literals should be delimited by ( and ).
Open

spec.summary = %q{Lightweight wrapper for MongoDB documents}
Severity: Minor
Found in minidoc.gemspec by rubocop

Missing magic comment # frozen_string_literal: true.
Open

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

Add an empty line after magic comments.
Open

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

Unnecessary utf-8 encoding comment.
Open

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

Prefer $: over $LOAD_PATH.
Open

$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Severity: Minor
Found in minidoc.gemspec by rubocop

Use %q only for strings that contain both single quotes and double quotes.
Open

spec.summary = %q{Lightweight wrapper for MongoDB documents}
Severity: Minor
Found in minidoc.gemspec by rubocop

Prefer $: over $LOAD_PATH.
Open

$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Severity: Minor
Found in minidoc.gemspec by rubocop

There are no issues that match your filters.

Category
Status