MyGet: use of v3 API

Fixes #655.
This commit is contained in:
Thaddee Tyl 2016-03-15 14:20:00 +01:00
parent 4df74acd6c
commit fbb034f6e5
2 changed files with 6 additions and 6 deletions

View File

@ -3387,11 +3387,11 @@ mapNugetFeed('nuget', 0, function(match) {
});
// MyGet
mapNugetFeedv2('myget\\/(.*)', 1, function(match) {
mapNugetFeed('myget\\/(.*)', 1, function(match) {
var feed = match[1];
return {
site: feed,
feed: 'https://www.myget.org/F/' + feed + '/api/v2'
feed: 'https://www.myget.org/F/' + feed + '/api/v3'
};
});

View File

@ -467,12 +467,12 @@ Pixel-perfect   Retina-ready   Fast   Consistent   Hackable
<td><code>https://img.shields.io/nuget/vpre/Microsoft.AspNet.Mvc.svg</code></td>
</tr>
<tr><th> MyGet: </th>
<td><img src='/myget/yolodev/v/FSharpSupport.svg' alt=''/></td>
<td><code>https://img.shields.io/myget/yolodev/v/FSharpSupport.svg</code></td>
<td><img src='/myget/mongodb/v/MongoDB.Driver.Core.svg' alt=''/></td>
<td><code>https://img.shields.io/myget/mongodb/v/MongoDB.Driver.Core.svg</code></td>
</tr>
<tr><th> MyGet Pre Release: </th>
<td><img src='/myget/yolodev/vpre/FSharpSupport.svg' alt=''/></td>
<td><code>https://img.shields.io/myget/yolodev/vpre/FSharpSupport.svg</code></td>
<td><img src='/myget/yolodev/vpre/YoloDev.Dnx.FSharp.svg' alt=''/></td>
<td><code>https://img.shields.io/myget/yolodev/vpre/YoloDev.Dnx.FSharp.svg</code></td>
</tr>
<tr><th> Chocolatey: </th>
<td><img src='/chocolatey/v/git.svg' alt=''/></td>