Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 304165

Summary: ruby-fakegem doesn't stub all required attributes
Product: Gentoo Linux Reporter: Cheba <gentoo>
Component: [OLD] DevelopmentAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 313279    

Description Cheba 2010-02-09 19:39:07 UTC
ruby-fakegem doesn't sutb all required attributes. To name one is a date. That generates warnings on gem loading.

Here is a list of required spec attributes for rubygems 1.3.5: :rubygems_version, :specification_version, :name, :version, :date, :summary, :require_paths

You can obtain the by running this in irb:

    require 'rubygems/specification'
    Gem::Specification.required_attributes


Reproducible: Always

Steps to Reproduce:
Comment 1 Hans de Graaff gentoo-dev Security 2010-12-28 12:21:34 UTC
Starting with ruby-fakegem.eclass r1.27 we now try to install the upstream gemspec, and only use our generated version as a fallback.