Skip to content
Sections
>> Trisquel >> Packages >> ecne (12.0LTS) >> ruby >> ruby-version-sorter
[  aramo  ] [  ecne  ] [  xolotl  ]
[ Source: ruby-version-sorter  ]

Package: ruby-version-sorter (2.3.0-1build2)

Fast sorting of version strings

Used to sort version strings faster. It is used to sort a repository's tags. It is used as follows 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"]

Other Packages Related to ruby-version-sorter

  • depends
  • recommends
  • suggests
  • dep: libatomic1 (>= 4.8) [riscv64]
    support library providing __atomic built-in functions
  • dep: libc6 (>= 2.17) [arm64, ppc64el]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.27) [riscv64]
    dep: libc6 (>= 2.4) [amd64, armhf]
  • dep: libruby (<< 1:3.3~)
    Libraries necessary to run Ruby
    dep: libruby (>= 1:3.2~0)
  • dep: libruby3.2 (>= 3.2.0~preview1)
    Libraries necessary to run Ruby 3.2

Download ruby-version-sorter

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 7.3 kB33 kB [list of files]
arm64 7.4 kB85 kB [list of files]
armhf 6.7 kB29 kB [list of files]
ppc64el 8.5 kB85 kB [list of files]
riscv64 7.4 kB29 kB [list of files]