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

httprb / http / 1722 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 16 Dec 2019 01:24PM UTC
Files 33
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

16 Dec 2019 01:19PM UTC coverage: 94.95%. Remained the same
jruby-9.2.5.0, JRUBY_OPTS="$JRUBY_OPTS --debug"

push

travis-ci

ixti
Duplicate options Hash in .timeout call

When `Hash` is passed to HTTP.timeout, it's been mutated. So when you pass
a frozen `Hash` it raises an exception.

Here is an example of the code:
```
timeout_settings = { connect: 5, write: 2, read: 10 }.freeze
HTTP.timeout(timeout_settings).get('http://example.com')
```

In this change, I have added a call to .dup on options Hash to create a
copy and avoid mutation of original Hash.

1335 of 1406 relevant lines covered (94.95%)

110.76 hits per line

Source Files on job 1722.1 (jruby-9.2.5.0, JRUBY_OPTS="$JRUBY_OPTS --debug")
  • Tree
  • List 0
  • Changed 10
  • Source Changed 1
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1707
  • Travis Job 1722.1
  • 7ce201eb on github
  • Prev Job for jruby-9.2.5.0, JRUBY_OPTS="$JRUBY_OPTS --debug" on master (#1709.1)
  • Next Job for jruby-9.2.5.0, JRUBY_OPTS="$JRUBY_OPTS --debug" on master (#1732.1)
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