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

theckman / tunnelbroker / 37 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 13 Apr 2014 01:37AM UTC
Files 5
Run time 1s
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

13 Apr 2014 01:36AM UTC coverage: 100.0%. Remained the same
2.1.0

Pull #17

travis-ci

theckman
try to improve TunnelBroker::Client

The `build_messenger_config()` method was seen as being too complex in CodeClimate so this attempts to address that. Also, increase release version to `0.0.11`.

I've reduced `build_messenger_config()` to just iterate over the config fields. For each item it calls `config_hash_item()` and merges the result of that in to the running config hash.

`config_hash_item()` returns a Hash to be merged in to the config hash:
- When given an invalid config key it raises a NoMethodError (maybe this should be a custom Exception)
- When the key is `:url` and config.url is unset, it defaults to the `ENDPOINT` constant
- When the config key is valid, and set, it returns a Hash with `{ :keyname => config.keyname }`
- When the config key is unset, and not url, return an empty Hash
Pull Request #17: try to improve TunnelBroker::Client

101 of 101 relevant lines covered (100.0%)

6.89 hits per line

Source Files on job 37.2 (2.1.0)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 37
  • Travis Job 37.2
  • 421a4529 on github
  • Prev Job for 2.1.0 on master (#36.2)
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