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

UrbanCCD-UChicago / plenario2 / 1089 / 1
77%
master: 76%

Build:
Build:
LAST BUILD BRANCH: vue-cleanup
DEFAULT BRANCH: master
Ran 26 Jul 2018 04:42PM UTC
Files 122
Run time 14s
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

26 Jul 2018 04:23PM UTC coverage: 76.738%. First build
MIX_ENV=test

push

travis-ci

vforgione
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

1501 of 1956 relevant lines covered (76.74%)

81.04 hits per line

Source Files on job 1089.1 (MIX_ENV=test)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 753
  • Travis Job 1089.1
  • 72b6d02f on github
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