minidoc.gemspec
Showing 7 of 7 total issues
%q
-literals should be delimited by (
and )
. Open
Open
spec.summary = %q{Lightweight wrapper for MongoDB documents}
- Read upRead up
- Exclude checks
Missing magic comment # frozen_string_literal: true
. Open
Open
# coding: utf-8
- Read upRead up
- Exclude checks
Add an empty line after magic comments. Open
Open
lib = File.expand_path("../lib", __FILE__)
- Read upRead up
- Exclude checks
Unnecessary utf-8 encoding comment. Open
Open
# coding: utf-8
- Exclude checks
Prefer $:
over $LOAD_PATH
. Open
Open
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
- Exclude checks
Use %q
only for strings that contain both single quotes and double quotes. Open
Open
spec.summary = %q{Lightweight wrapper for MongoDB documents}
- Exclude checks
Prefer $:
over $LOAD_PATH
. Open
Open
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
- Exclude checks