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

awakia / ruby_stable_sort
93%

Build:
DEFAULT BRANCH: master
Repo Added 10 Apr 2014 07:25AM UTC
Files 6
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • coveralls
  • master
  • v1.1.0

pending completion
21

Pull #3

travis-ci

web-flow
Make tests more reliable, especially for MRI >= 2.2

* Monkey-patch built-sorts to force them to be unstable in all Rubies.
  Some rubies (such as MRI >= 2.2) have stable sorts, which can cause
  the tests to pass erroneously.  See
  https://stackoverflow.com/a/44486562/238886 for more about sort
  stability in Ruby

* Set the random number seed in order to make tests repeatable.  Since
  the tests sort relatively short arrays, random chance would
  sometimes cause erroneous test failures.

* Some tests checked that Ruby's built-in sort is unstable.  Those
  checks were moved into their own sections and expanded.  Now every
  Ruby built-in sort method is tested for to ensure that it is
  unstable.
Pull Request #3: Repeatable tests

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

99 of 106 relevant lines covered (93.4%)

3.88 hits per line

Relevant lines Covered
Build:
Build:
106 RELEVANT LINES 99 COVERED LINES
3.88 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21 master Make tests more reliable, especially for MRI >= 2.2 * Monkey-patch built-sorts to force them to be unstable in all Rubies. Some rubies (such as MRI >= 2.2) have stable sorts, which can cause the tests to pass erroneously. See https://stack... Pull #3 17 Jun 2017 02:31PM UTC web-flow travis-ci pending completion  
20 master Use expect in version part push 27 Aug 2015 02:59AM UTC Naoyoshi Aikawa travis-ci pending completion  
19 master Use expect in rspec push 27 Aug 2015 02:49AM UTC awakia travis-ci pending completion  
18 master Change to use master branch of coveralls badge push 10 Apr 2014 08:48AM UTC awakia travis-ci pending completion  
17 v1.1.0 Bump version to 1.1.0 push 10 Apr 2014 08:22AM UTC awakia travis-ci pending completion  
16 master Bump version to 1.1.0 push 10 Apr 2014 08:20AM UTC awakia travis-ci pending completion  
15 master Merge pull request #1 from cielavenir/master Enumerator->Enumerable push 10 Apr 2014 08:18AM UTC awakia travis-ci pending completion  
14 master Merge pull request #2 from awakia/coveralls Add Coveralls push 10 Apr 2014 07:53AM UTC awakia travis-ci pending completion  
12 coveralls Add coveralls badge push 10 Apr 2014 07:50AM UTC awakia travis-ci pending completion  
11 coveralls Add coveralls push 10 Apr 2014 07:48AM UTC awakia travis-ci pending completion  
See All Builds (10)
  • Repo on GitHub
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