Sha256: 154c4e7c1d0305e67e02fb2e5336f57c6754716d5c3cd5e60b859a79350d93d0
Contents?: true
Size: 623 Bytes
Versions: 227
Compression:
Stored size: 623 Bytes
Contents
require 'semantic_puppet/dependency' module SemanticPuppet module Dependency class Source def self.priority 0 end def priority self.class.priority end def create_release(name, version, dependencies = {}) version = Version.parse(version) if version.is_a? String dependencies = dependencies.inject({}) do |hash, (key, value)| hash[key] = VersionRange.parse(value || '>= 0.0.0') hash[key] ||= VersionRange::EMPTY_RANGE hash end ModuleRelease.new(self, name, version, dependencies) end end end end
Version data entries
227 entries across 227 versions & 4 rubygems