Sha256: 08f54d81748d534a47e657687dbcfc86ec57832e676d2555e67d101934e4e1a0

Contents?: true

Size: 369 Bytes

Versions: 2

Compression:

Stored size: 369 Bytes

Contents

#!/usr/bin/env ruby

require 'psych'
require 'yaml'
require 'fileutils'

test_home = File.expand_path(File.dirname(__FILE__))
project_home = File.expand_path(File.join(test_home, '..'))

rubygems_catalog_file = File.join(
  project_home, 'catalogs', 'rubygems.yaml')

catalog = YAML.load_file(rubygems_catalog_file)
gem_names = catalog["rubygems"].keys

puts gem_names

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
natives-0.5.3 catalogs_test/list_all
natives-0.5.2 catalogs_test/list_all