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.109.3 lib/packaging/util/platform.rb
packaging-0.109.2 lib/packaging/util/platform.rb
packaging-0.109.1 lib/packaging/util/platform.rb
packaging-0.109.0 lib/packaging/util/platform.rb
packaging-0.108.2 lib/packaging/util/platform.rb
packaging-0.108.1 lib/packaging/util/platform.rb
packaging-0.108.0 lib/packaging/util/platform.rb
packaging-0.107.2 lib/packaging/util/platform.rb
packaging-0.107.1 lib/packaging/util/platform.rb
packaging-0.107.0 lib/packaging/util/platform.rb
packaging-0.106.3 lib/packaging/util/platform.rb
packaging-0.106.2 lib/packaging/util/platform.rb
packaging-0.106.1 lib/packaging/util/platform.rb
packaging-0.106.0 lib/packaging/util/platform.rb
packaging-0.105.0 lib/packaging/util/platform.rb
packaging-0.104.0 lib/packaging/util/platform.rb
packaging-0.103.0 lib/packaging/util/platform.rb
packaging-0.102.0 lib/packaging/util/platform.rb
packaging-0.101.0 lib/packaging/util/platform.rb
packaging-0.99.82 lib/packaging/util/platform.rb