Yes, it's wrong. I'll fix it. thanks, alex
On Tue, Nov 17, 2009 at 9:00 AM, Greg Lucas <[email protected]> wrote: > I believe the doc on implementing a custom packaging type is incorrect: > > def package_as_sources_spec(spec) #:nodoc: > { :type=>:zip, :classifier=>'sources' }.merge(spec) > end > > > The result of the above hash merge will still have the type/classifier from > the spec that was passed in. Shouldn't it be the other way around: > > > def package_as_sources_spec(spec) #:nodoc: > spec.merge({ :type=>:zip, :classifier=>'sources' }) > end > > > Thanks, > > -- > Greg Lucas >
