XPBytes/media_types-validation

View on GitHub
README.md

Summary

Maintainability
Test Coverage

Showing 21 of 21 total issues

Code block style
Open

$ gem install media_types-validation
Severity: Info
Found in README.md by markdownlint

Line length
Open

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can
Severity: Info
Found in README.md by markdownlint

Line length
Open

limitations of `JSON` apply. This step is necessary in order to make sure `rails` types and others are first correctly
Severity: Info
Found in README.md by markdownlint

Code block style
Open

$ bundle
Severity: Info
Found in README.md by markdownlint

Line length
Open

Add controller time validation for [media types](https://github.com/SleeplessByte/media_types-ruby) and react accordingly.
Severity: Info
Found in README.md by markdownlint

Line length
Open

By default, this method only outputs to `stderr` when something is wrong; see configuration below if you want to assign
Severity: Info
Found in README.md by markdownlint

Line length
Open

- [`MediaTypes::Serialization`](https://github.com/XPBytes/media_types-serialization): :cyclone: Add media types supported serialization using your favourite serializer
Severity: Info
Found in README.md by markdownlint

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.
Severity: Info
Found in README.md by markdownlint

Dollar signs used before commands without showing output
Open

$ bundle
Severity: Info
Found in README.md by markdownlint

Line length
Open

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the
Severity: Info
Found in README.md by markdownlint

Line length
Open

version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version,
Severity: Info
Found in README.md by markdownlint

Trailing spaces
Open

actions. This does _not_ validate only `JSON` output, but stringifies and then parses the body as `JSON`, so the
Severity: Info
Found in README.md by markdownlint

Trailing spaces
Open

self.json_invalid_media_proc = proc do |media_type:, err:, body:|
Severity: Info
Found in README.md by markdownlint

Line length
Open

This library will nog longer receive updates because it has been completely obsoleted by changes in the `media-types-serialization`. That library now takes care validating _all_ media-type based serialization responses and media-type based deserialization requests.
Severity: Info
Found in README.md by markdownlint

Line length
Open

actions. This does _not_ validate only `JSON` output, but stringifies and then parses the body as `JSON`, so the
Severity: Info
Found in README.md by markdownlint

Line length
Open

# -> serializer has .current_media_type which returns the MediaType::Constructable for the current state
Severity: Info
Found in README.md by markdownlint

Line length
Open

- [`MediaTypes`](https://github.com/SleeplessByte/media-types-ruby): :gem: Library to create media type definitions, schemes and validations
Severity: Info
Found in README.md by markdownlint

Dollar signs used before commands without showing output
Open

$ gem install media_types-validation
Severity: Info
Found in README.md by markdownlint

Trailing spaces
Open

Severity: Info
Found in README.md by markdownlint

Trailing spaces
Open

Severity: Info
Found in README.md by markdownlint

Line length
Open

If you add the `MediaTypes::Validation` controller concern, `validate_json_with_media_type` becomes available during
Severity: Info
Found in README.md by markdownlint

There are no issues that match your filters.

Category
Status