class Gem::NameTuple

def lock_name

def lock_name
  if platform == Gem::Platform::RUBY
    "#{name} (#{version})"
  else
    "#{name} (#{version}-#{platform})"
  end
end