Registry / utility / semantic-puppet

semantic-puppet

JSON →
library1.1.1rbrubygemsunverified

Tools used by Puppet to parse, validate, and compare Semantic Versions and Version Ranges and to query and resolve module dependencies.

gem install semantic_puppet
INSTALL
IMPORT
SIG · SEMANTIC-PUPPET
S
semantic-puppet
utilityrubyv1.1.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.

SemanticPuppet
✓ require 'semantic_puppet'

Parse and compare semantic versions and ranges

require 'semantic_puppet' version = SemanticPuppet::Version.parse('1.2.3') range = SemanticPuppet::VersionRange.parse('>=1.0.0 <2.0.0') puts range.include?(version) # true
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources