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

preaction / Yancy / 533
79%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2019 11:53PM UTC
Jobs 1
Files 17
Run time 2s
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
533

push

travis-ci

preaction
fix controller to respond to any supported format

If we do not provide a fallback `any` to `respond_to`, any other format
get a blank `204 No Content` response. But, if we do provide an `any`
handler to `respond_to`, the `format` gets blanked and an HTML template is
rendered.

So, we need to save the format before `respond_to` and then restore it
inside the `any` handler. This does the right thing.

1131 of 1214 relevant lines covered (93.16%)

191.92 hits per line

Jobs
ID Job ID Ran Files Coverage
10 533.10 (COVERAGE=1) 05 Jul 2019 11:53PM UTC 0
93.16
Travis Job 533.10
Source Files on build 533
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #533
  • a651818c on github
  • Prev Build on master (#532)
  • Next Build on master (#534)
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