Showing 57 of 57 total issues
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
source "https://rubygems.org"
- Read upRead up
- Exclude checks
Line length Open
- [`MediaTypes::Deserialization`](https://github.com/XPBytes/media_types-deserialization): :cyclone: Add media types supported deserialization using your favourite parser, and media type validation.
- Read upRead up
- Exclude checks
Line is too long. [96/80] 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
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
require "media_types/validation"
- Read upRead up
- Exclude checks
Line is too long. [85/80] Open
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
- Exclude checks
Lists should be surrounded by blank lines Open
* Trolling, insulting/derogatory comments, and personal or political attacks
- Read upRead up
- Exclude checks
Unnecessary spacing detected. Open
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
- Read upRead up
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
require "rake/testtask"
- Read upRead up
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
require "irb"
- Read upRead up
- Exclude checks
Line is too long. [94/80] Open
'[media type validation] The data being sent as %<media_type>s is invalid:' + "\n" \
- Exclude checks
Line length Open
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the
- Read upRead up
- Exclude checks
Operator =
should be surrounded by a single space. Open
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
- Read upRead up
- Exclude checks
Line is too long. [82/80] Open
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
VERSION = "0.2.0"
- Read upRead up
- Exclude checks
Line length Open
version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version,
- Read upRead up
- Exclude checks
Trailing spaces Open
actions. This does _not_ validate only `JSON` output, but stringifies and then parses the body as `JSON`, so the
- Read upRead up
- Exclude checks