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

danielstocks / yak
100%

Build:
DEFAULT BRANCH: master
Repo Added 02 Oct 2015 07:23AM UTC
Files 2
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • ci
  • feature/collections
  • feature/nested-models
  • feature/parse
  • refactor/remove-lodash

pending completion
39

push

travis-ci

Daniel Stocks
Fixed Naive Parsing of Content-Type HTTP header

It turns out checking for exactly "application/json" is a bad idea since
some servers/web frameworks include stuff like encoding in the header.
For example: Express.js since 4.16.x now set's the content-type header
to: 'application/json; charset=utf-8'.

To remedy this, we now check for the inclusion of application/json in
the string, but don't attempt to match the exact value

31 of 32 branches covered (96.88%)

52 of 52 relevant lines covered (100.0%)

2.92 hits per line

Relevant lines Covered
Build:
Build:
52 RELEVANT LINES 52 COVERED LINES
2.92 HITS PER LINE
Source Files on master
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
39 master Fixed Naive Parsing of Content-Type HTTP header It turns out checking for exactly "application/json" is a bad idea since some servers/web frameworks include stuff like encoding in the header. For example: Express.js since 4.16.x now set's the con... push 28 Oct 2017 10:27PM UTC Daniel Stocks travis-ci pending completion  
38 master Made it possible to get a single resource without id push 20 Dec 2016 02:47PM UTC danielstocks travis-ci pending completion  
37 master 0.0.16 push 13 Apr 2016 11:45AM UTC danielstocks travis-ci pending completion  
35 master Added logo to docs push 21 Mar 2016 09:26AM UTC danielstocks travis-ci pending completion  
34 master Merge pull request #6 from danielstocks/refactor/remove-lodash Removed lodash dependency push 21 Mar 2016 09:20AM UTC danielstocks travis-ci pending completion  
26 master Replaced node-fetch with isomorphic-fetch to automate universal compatibility push 17 Mar 2016 01:22PM UTC danielstocks travis-ci pending completion  
25 master 0.0.14 push 16 Feb 2016 02:45PM UTC danielstocks travis-ci pending completion  
24 master 0.0.13 push 26 Jan 2016 03:49PM UTC danielstocks travis-ci pending completion  
23 master Merge pull request #5 from danielstocks/feature/collections Added collections push 26 Jan 2016 03:48PM UTC danielstocks travis-ci pending completion  
22 master Added collections Make a backwards incompatible change when using Model.all. In the callback argument, models are now namespaced under the models given name. For instance: var Fruit = yak.model({ name: "fruits" }); Fruit.all().then(collection ... Pull #5 26 Jan 2016 03:46PM UTC danielstocks travis-ci pending completion  
See All Builds (35)
  • Repo 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

© 2025 Coveralls, Inc