U:RDoc::AnyMethod[iI"sort_versions:EFI".Bundler::GemVersionPromoter#sort_versions;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [ I"OGiven a Dependency and an Array of SpecGroups of available versions for a ;TI"Ogem, this method will return the Array of SpecGroups sorted (and possibly ;TI"Ptruncated if strict is true) in an order to give preference to the current ;TI"Plevel (:major, :minor or :patch) when resolution is deciding what versions ;TI"2best resolve all dependencies in the bundle. ;TI"8@param dep [Dependency] The Dependency of the gem. ;TI"K@param spec_groups [SpecGroup] An array of SpecGroups for the same gem;To:RDoc::Markup::Verbatim; [I"named in the @dep param. ;T: @format0o; ; [I"I@return [SpecGroup] A new instance of the SpecGroup Array sorted and;To; ; [I"possibly filtered.;T; 0: @fileI"(lib/bundler/gem_version_promoter.rb;T:0@omit_headings_from_table_of_contents_below000[I"(dep, spec_groups);T@FI"GemVersionPromoter;TcRDoc::NormalClass00