Merge pull request #873 from ilovenwd/master
add prerlease=true in Gem::Specification.latest_specs
This commit is contained in:
commit
1623a99f81
|
@ -84,7 +84,7 @@ module Middleman
|
||||||
def rubygems_latest_specs
|
def rubygems_latest_specs
|
||||||
# If newer Rubygems
|
# If newer Rubygems
|
||||||
if ::Gem::Specification.respond_to? :latest_specs
|
if ::Gem::Specification.respond_to? :latest_specs
|
||||||
::Gem::Specification.latest_specs
|
::Gem::Specification.latest_specs(true)
|
||||||
else
|
else
|
||||||
::Gem.source_index.latest_specs
|
::Gem.source_index.latest_specs
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue