Project

General

Profile

Actions

Feature #18376

open

Version comparison API

Added by vo.x (Vit Ondruch) almost 3 years ago. Updated almost 3 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:106360]

Description

Is there a chance to have version comparison API? For example if Gem::Version was extracted into ::Version. This idea was triggered by this PR 1 and 2, where the Gem::Version API is used for comparing Ruby versions. While RubyGems might be available everywhere, it does not look correct to introduce dependencies on RubyGems into libraries which could run without them just fine.


Related issues 2 (1 open1 closed)

Related to Ruby master - Feature #17684: Remove `--disable-gems` from release version of RubyAssignedhsbt (Hiroshi SHIBATA)Actions
Is duplicate of Ruby master - Feature #5861: String#version_compareRejectedmatz (Yukihiro Matsumoto)01/08/2012Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0