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

tom-lord / regexp-examples / 114
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v1.5.1
DEFAULT BRANCH: master
Ran 08 Mar 2015 01:20PM UTC
Jobs 3
Files 11
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
114

push

travis-ci

tom-lord
Version bump (v1.1.0)

Implemented Regexp#random_example !!!

This is effectively just a (MUCH) more efficient way of doing:
/complicated .{20} regex/.examples(max_group_results: 9999999999).sample(1)

Instead, you can use much more optimised code for this method via:
/complicated .{20} regex/.random_example

The key differrence being that Regexp#random_example does not store any
more than 1 result in memory, at any time, making its performance scale
linearly rather than exponentially.

586 of 587 relevant lines covered (99.83%)

539.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 114.1 (2.0.0-p598) 08 Mar 2015 01:22PM UTC 0
99.83
Travis Job 114.1
2 114.2 (2.1.5) 08 Mar 2015 01:20PM UTC 0
99.83
Travis Job 114.2
3 114.3 (2.2.0) 08 Mar 2015 01:20PM UTC 0
99.83
Travis Job 114.3
Source Files on build 114
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #114
  • d58aa7b4 on github
  • Prev Build on random_example (#113)
  • Next Build on random_example (#116)
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