Sha256: b119d2775e5aa91de8feeeb2da3cd697c510c89205934e1bd85245c5157c3ed6

Contents?: true

Size: 1.41 KB

Versions: 126

Compression:

Stored size: 1.41 KB

Contents

module Pkg::Util::Platform
  module_function
  ##########################################################################
  # DEPRECATED METHODS
  #
  def platform_tags
    Pkg::Util.deprecate('Pkg::Util::Platform.platform_tags', 'Pkg::Platforms.platform_tags')
    Pkg::Platforms.platform_tags
  end

  def platform_lookup(platform_tag)
    Pkg::Util.deprecate('Pkg::Util::Platform.platform_lookup', 'Pkg::Platforms.platform_lookup')
    Pkg::Platforms.platform_lookup(platform_tag)
  end

  def parse_platform_tag(platform_tag)
    Pkg::Util.deprecate('Pkg::Util::Platform.parse_platform_tag', 'Pkg::Platforms.parse_platform_tag')
    Pkg::Platforms.parse_platform_tag(platform_tag)
  end

  def get_attribute(platform_tag, attribute_name)
    Pkg::Util.deprecate('Pkg::Util::Platform.get_attribute', 'Pkg::Platforms.get_attribute')
    Pkg::Platforms.get_attribute(platform_tag, attribute_name)
  end

  def artifacts_path(platform_tag, package_url = nil)
    Pkg::Util.deprecate('Pkg::Util::Platform.artifacts_path', 'Pkg::Paths.artifacts_path')
    Pkg::Paths.artifacts_path(platform_tag)
  end

  def repo_path(platform_tag)
    Pkg::Util.deprecate('Pkg::Util::Platform.repo_path', 'Pkg::Paths.repo_path')
    Pkg::Paths.repo_path(platform_tag)
  end

  def repo_config_path(platform_tag)
    Pkg::Util.deprecate('Pkg::Util::Platform.repo_config_path', 'Pkg::Paths.repo_config_path')
    Pkg::Paths.repo_config_path(platform_tag)
  end
end

Version data entries

126 entries across 126 versions & 1 rubygems

Version Path
packaging-0.99.62 lib/packaging/util/platform.rb
packaging-0.99.61 lib/packaging/util/platform.rb
packaging-0.99.60 lib/packaging/util/platform.rb
packaging-0.99.59 lib/packaging/util/platform.rb
packaging-0.99.58 lib/packaging/util/platform.rb
packaging-0.99.57 lib/packaging/util/platform.rb
packaging-0.99.56 lib/packaging/util/platform.rb
packaging-0.99.55 lib/packaging/util/platform.rb
packaging-0.99.54 lib/packaging/util/platform.rb
packaging-0.99.53 lib/packaging/util/platform.rb
packaging-0.99.52 lib/packaging/util/platform.rb
packaging-0.99.51 lib/packaging/util/platform.rb
packaging-0.99.50 lib/packaging/util/platform.rb
packaging-0.99.49 lib/packaging/util/platform.rb
packaging-0.99.48 lib/packaging/util/platform.rb
packaging-0.99.47 lib/packaging/util/platform.rb
packaging-0.99.46 lib/packaging/util/platform.rb
packaging-0.99.45 lib/packaging/util/platform.rb
packaging-0.99.44 lib/packaging/util/platform.rb
packaging-0.99.43 lib/packaging/util/platform.rb