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

msimerson / Haraka / 1156
38%
master: 17%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/redis-4.6.6
DEFAULT BRANCH: master
Ran 24 Feb 2015 06:36PM UTC
Jobs 3
Files 1
Run time 1min
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
1156

push

travis-ci

msimerson
rename net_utils.is_rfc1918 -> is_private_ip

RFC 1918 only specifies the 3 IPv4 private IP blocks. This function has evolved to also include loopback IPs and is likely to continue evolving to add other "Special IP allocations" (RFC 6890) such as the link local netblocks. This name encompasses all those uses.

* adds IPv6 link local to is_private_ip
    * fixes #850
* net_utils: wrap long lines (lint)
* net_utils, added is_local_ipv4, is_private_ipv4, & is_local_ipv6
    * updated is_private_ip to use them
* adds additional test coverage
* considerably easier to maintain than one regex for ipv4 and one for ipv6
* no significant performance impact (0.05 second difference on 2 million iterations)
* side note: using ?: in /regex/.test(str) seems to make no performance different whatsoever (less than rounding error in testing).
* added docs for net_utils.is_local|private_ipv*
* add IPv6 unique local fc00::/7

23 of 61 relevant lines covered (37.7%)

1.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1156.1 24 Feb 2015 06:36PM UTC 0
Travis Job 1156.1
2 1156.2 24 Feb 2015 06:36PM UTC 0
Travis Job 1156.2
4 1156.4 24 Feb 2015 06:37PM UTC 0
37.7
Travis Job 1156.4
Source Files on build 1156
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1156
  • da0a748d on github
  • Prev Build on net_utils (#1155)
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