Sha256: b8921d7d66957446fd89ef5e1159019588d5bb7c6118071a91b5786c9d3a1565
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
# # This file was ported to ruby from Composer php source code file. # Original Source: Composer\Package\RootAliasPackage.php # # (c) Nils Adermann <naderman@naderman.de> # Jordi Boggiano <j.boggiano@seld.be> # # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # module Composer module Package # The root package represents the project's composer.json # and contains additional metadata class RootAliasPackage < Composer::Package::CompletePackage attr_accessor :minimum_stability, :prefer_stable, :stability_flags, :references, :aliases # Creates a new root package in memory package. # Param: string name The package's name # Param: string version The package's version # Param: string prettyVersion The package's non-normalized version def initialize(name, version, pretty_version) super(name, version, pretty_version) @minimum_stability = 'stable' @stability_flags = [] @references = [] @aliases = [] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
php-composer-0.3.0 | lib/composer/package/root_alias_package.rb |
php-composer-0.2.0 | lib/composer/package/root_alias_package.rb |