| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 17:24:51 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091025103730
location: https://web.archive.org/web/20091025103730/https://github.com/pope/version_sorter
server-timing: captures_list;dur=0.644105, exclusion.robots;dur=0.060606, exclusion.robots.policy;dur=0.047463, esindex;dur=0.010458, cdx.remote;dur=7.671924, LoadShardBlock;dur=260.082165, PetaboxLoader3.datanode;dur=65.477583, PetaboxLoader3.resolve;dur=90.408414
x-app-server: wwwb-app219-dc8
x-ts: 302
x-tr: 291
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app219; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 23 Dec 2025 17:24:52 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sun, 25 Oct 2009 10:37:30 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "75f23d5eec47eb6336d0f73916e3a48a"
x-archive-orig-x-runtime: 130ms
x-archive-orig-content-length: 23526
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 25 Oct 2009 10:37:30 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: webgroup-20100503193022-00066/ARCHIVEIT-1147-WEEKLY-AVVNXU-20091025103411-00039-crawling105.us.archive.org.warc.gz
server-timing: captures_list;dur=0.561403, exclusion.robots;dur=0.020651, exclusion.robots.policy;dur=0.009786, esindex;dur=0.011251, cdx.remote;dur=57.490086, LoadShardBlock;dur=222.373718, PetaboxLoader3.datanode;dur=164.024596, PetaboxLoader3.resolve;dur=175.722320, load_resource;dur=199.099321
x-app-server: wwwb-app219-dc8
x-ts: 200
x-tr: 547
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
pope's version_sorter at master - GitHub
Hi! pope is using GitHub to share code with you!
But GitHub is more than just a place to share code. It's a place to keep tabs on your favorite developers and projects, easily contribute fixes and new features, and visualize what's going on inside your codebase!
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| Fork of defunkt/version_sorter | |
| Description: | edit |
| Homepage: | edit |
| Public Clone URL: |
git://github.com/pope/version_sorter.git
Give this clone URL to anyone.
git clone git://github.com/pope/version_sorter.git
|
| Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:pope/version_sorter.git
|
commit 901b9783a9cfc0389bfe0117d9951b1768d04394
tree 53e648269529fefab1dc3ffc557d3fbff7446550
parent ee78fb2cf10f4542819334f9a4ac85a256b8daa7
tree 53e648269529fefab1dc3ffc557d3fbff7446550
parent ee78fb2cf10f4542819334f9a4ac85a256b8daa7
| name | age | message | |
|---|---|---|---|
| |
.gitattributes | Sun Oct 11 07:59:20 -0700 2009 | Trying to speed things up with C. This commit ... [pope] |
| |
.gitignore | Sun Oct 11 07:59:20 -0700 2009 | Trying to speed things up with C. This commit ... [pope] |
| |
README.markdown | Tue Oct 13 12:37:51 -0700 2009 | installation [defunkt] |
| |
Rakefile | Tue Oct 13 12:36:51 -0700 2009 | gemify [defunkt] |
| |
ext/ | Tue Oct 13 19:05:35 -0700 2009 | Added cmockery as a framework and removed pcre.... [pope] |
| |
lib/ | Wed Oct 14 00:31:54 -0700 2009 | 1.1.0 [defunkt] |
| |
test/ | Tue Oct 13 11:32:18 -0700 2009 | setup paths so the tests run [defunkt] |
README.markdown
VersionSorter
By pope.
require 'version_sorter'
versions = %w( 1.0.9 2.0 1.0.10 1.0.3 )
VersionSorter.rsort(versions) # => ["2.0", "1.0.10", "1.0.9", "1.0.3"]
VersionSorter.sort(versions) # => ["1.0.3", "1.0.9", "1.0.10", "2.0"]
https://github.com/blog/521-speedy-version-sorting
Install
Gemcutter
$ gem install version_sorter
This feature is coming soon. Sit tight!








