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

prometheus / client_ruby / 367
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix_with_labels
DEFAULT BRANCH: master
Ran 07 May 2019 10:44AM UTC
Jobs 4
Files 32
Run time 4min
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
367

Pull #121

travis-ci

web-flow
Make it clear when error comes from mocking in tests

This is a small quality of life enhancement when debugging test
failures. When you comment out the catch-all `rescue` in the production
code of Prometheus::Middleware::Collector, you see a `NoMethodError`
with no stack or message attached.

Initially, this is pretty confusing, and you may think it was the reason
for your tests failing! In fact, it's to test the catch-all rescue.

This commit makes it really explicit that the error is deliberately
coming from the tests.

Signed-off-by: Chris Sinjakli <chris@gocardless.com>
Pull Request #121: Remove support for flexible labels in collector middleware

10 of 10 new or added lines in 2 files covered. (100.0%)

1380 of 1380 relevant lines covered (100.0%)

41.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 367.1 (2.3.8) 07 May 2019 10:44AM UTC 0
100.0
Travis Job 367.1
2 367.2 (2.4.5) 07 May 2019 10:44AM UTC 0
100.0
Travis Job 367.2
3 367.3 (2.5.3) 07 May 2019 10:44AM UTC 0
100.0
Travis Job 367.3
5 367.5 (jruby-9.1.5.0) 07 May 2019 10:48AM UTC 0
0.0
Travis Job 367.5
Source Files on build 367
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #367
  • Pull Request #121
  • PR Base - master (#362)
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