• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UrbanCCD-UChicago / plenario2 / 1090
77%
master: 76%

Build:
Build:
LAST BUILD BRANCH: vue-cleanup
DEFAULT BRANCH: master
Ran 26 Jul 2018 04:45PM UTC
Jobs 1
Files 122
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1090

Pull #392

travis-ci

web-flow
Removed God Awful Explode Library

Just... wow. What an unbelievable pile of turds.

Rather than relying on a library that was clearly developed by a high
schooler, we're going to be smart about this and **just use the
functions and modules Plug already gives us**.

Plug gives us the ability to:

- set the resonse content type we want
- set the status code and message
- get an appropriate status code by either its integer value or atom
- get an appropriate message for that code
- halt further processing

We have no reason to ever consider what the client accepts via our API
because its documented to be strictly `application/json`. Clients should
only expect that content type. And overriding the `accept` content type
the client sends is a massive violation of the client/server contract.

Beyond that, as the title of the issue this solves indicates, **we do
not serve up JSON+API content**.

This whole thing went way sideways -- mainly because of good intentions
to be helpful and give clients verbose error messages. This fixes that.
We _can_ be helpful and not rely on shity anti-patterns at the same
time.

Fixes #348
Pull Request #392: Removed God Awful Explode Library

16 of 16 new or added lines in 5 files covered. (100.0%)

1501 of 1956 relevant lines covered (76.74%)

81.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1090.1 (MIX_ENV=test) 26 Jul 2018 04:45PM UTC 0
76.74
Travis Job 1090.1
Source Files on build 1090
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1090
  • Pull Request #392
  • PR Base - master (#1088)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc