Registry / utility / sem-version

sem-version

JSON →
library2.0.1rbrubygemsunverified

A utility for parsing, comparing, and checking semantic version constraints as specified by semver.org.

gem install sem_version
INSTALL
IMPORT
SIG · SEM-VERSION
S
sem-version
utilityrubyv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SemVersion
require 'sem_version'

Parse and compare semantic versions.

require 'sem_version' v1 = SemVersion.new('1.2.3') v2 = SemVersion.new('2.0.0') puts v1 < v2 # true
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
sem-version — gem install sem-version · libregistry