media_types-validation.gemspec
Showing 10 of 10 total issues
Block has too many lines. [27/25] Open
Open
Gem::Specification.new do |spec| spec.name = 'media_types-validation' spec.version = MediaTypes::Validation::VERSION spec.authors = ['Derk-Jan Karrenbeld'] spec.email = ['derk-jan@xpbytes.com']
- Read upRead up
- Exclude checks
TODO found Open
Open
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
- Exclude checks
Line is too long. [90/80] Open
Open
# to allow pushing to a single host or delete this section to allow pushing to any host.
- Exclude checks
Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency minitest
should appear before rake
. Open
Open
spec.add_development_dependency 'minitest', '~> 5.0'
- Read upRead up
- Exclude checks
Line is too long. [96/80] Open
Open
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
- Exclude checks
Line is too long. [87/80] Open
Open
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
- Exclude checks
Line is too long. [85/80] Open
Open
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
- Exclude checks
Unnecessary spacing detected. Open
Open
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
- Read upRead up
- Exclude checks
Operator =
should be surrounded by a single space. Open
Open
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
- Read upRead up
- Exclude checks
Line is too long. [82/80] Open
Open
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
- Exclude checks