Sha256: 8142c34f4a6d5f0c19d1227eec7034a4abc381a7f436e93a57562996a5fbdd06

Contents?: true

Size: 486 Bytes

Versions: 4

Compression:

Stored size: 486 Bytes

Contents

#!/usr/bin/env ruby

require 'menagerie'

data = Menagerie.new

data.releases.sort.each do |release|
  puts "Release: #{release.id}"
  release.artifacts.each do |artifact|
    puts "  #{artifact.name}: #{artifact.version}"
  end
end

if data.orphans.size
  puts "\nOrphans:"
  artifacts = data.orphans.map { |x| x.split('/')[1..2] }.group_by(&:first)
  artifacts.each do |artifact, versions|
    puts "  #{artifact}"
    versions.each { |version| puts "    #{version.last}" }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
menagerie-1.1.1 bin/menagerie
menagerie-1.1.0 bin/menagerie
menagerie-1.0.0 bin/menagerie
menagerie-0.1.3 bin/menagerie