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.122.3 lib/packaging/util/platform.rb
packaging-0.122.2 lib/packaging/util/platform.rb
packaging-0.122.1 lib/packaging/util/platform.rb
packaging-0.122.0 lib/packaging/util/platform.rb
packaging-0.121.0 lib/packaging/util/platform.rb
packaging-0.120.0 lib/packaging/util/platform.rb
packaging-0.118.0 lib/packaging/util/platform.rb
packaging-0.117.0 lib/packaging/util/platform.rb
packaging-0.116.0 lib/packaging/util/platform.rb
packaging-0.115.0 lib/packaging/util/platform.rb
packaging-0.114.0 lib/packaging/util/platform.rb
packaging-0.113.0 lib/packaging/util/platform.rb
packaging-0.112.0 lib/packaging/util/platform.rb
packaging-0.111.0 lib/packaging/util/platform.rb
packaging-0.110.1 lib/packaging/util/platform.rb
packaging-0.110.0 lib/packaging/util/platform.rb
packaging-0.109.7 lib/packaging/util/platform.rb
packaging-0.109.6 lib/packaging/util/platform.rb
packaging-0.109.5 lib/packaging/util/platform.rb
packaging-0.109.4 lib/packaging/util/platform.rb