Skip to content

Commit

Permalink
Merge pull request gruntjs#144 from leobalter/131-fix-plugins-list
Browse files Browse the repository at this point in the history
Fix plugins list with up to date entries
  • Loading branch information
vladikoff committed Sep 25, 2014
2 parents 850d469 + c8c3870 commit 7de2732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grunt-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var pluginFile = 'build/plugin-list.json';

function getPlugin(item, callback) {
var name = item.key[1];
var url = 'http://isaacs.iriscouch.com/registry/' + name;
var url = 'https://skimdb.npmjs.com/registry/' + name;
request({url: url, json: true}, function handlePlugin(error, response, body) {
if (!error && response.statusCode == 200) {
callback(null, condensePlugin(body));
Expand Down Expand Up @@ -82,7 +82,7 @@ function getPlugins(opts, callback) {
// download plugin names based on the keyword
function(callback) {
var keyword = 'gruntplugin';
var url = 'http://isaacs.iriscouch.com/registry/_design/app/_view/byKeyword?startkey=[%22' +
var url = 'https://skimdb.npmjs.com/registry/_design/app/_view/byKeyword?startkey=[%22' +
keyword + '%22]&endkey=[%22' + keyword + '%22,{}]&group_level=3';
request({url: url, json: true}, function handlePluginList(error, response, body) {
if (!error && response.statusCode == 200) {
Expand Down

0 comments on commit 7de2732

Please sign in to comment.