Sha256: f02226bd7d952cc1e1d89438bc7bca2e42b801579948ad4d415a77adf43ead53

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

#!/usr/bin/env ruby

require 'yaml'
require 'fileutils'

bin_home = File.dirname(__FILE__)
project_home = File.expand_path(File.join(bin_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

5 entries across 5 versions & 1 rubygems

Version Path
natives-0.6.2 catalogs_test/bin/list_all
natives-0.6.1 catalogs_test/bin/list_all
natives-0.6.0 catalogs_test/bin/list_all
natives-0.5.5 catalogs_test/bin/list_all
natives-0.5.4 catalogs_test/bin/list_all