final sweep, moved everything to _v4

This commit is contained in:
spalger
2016-05-19 14:23:33 -07:00
parent 4a77556866
commit ec06c51c5d
78 changed files with 542 additions and 542 deletions

View File

@ -2,4 +2,4 @@ module.exports = {
dist: {
src: ['<%= distDir %>']
}
};
};

View File

@ -11,8 +11,8 @@ function archive(out) {
}
module.exports = {
master_zip: archive('elasticsearch-js-master.zip'),
master_tarball: archive('elasticsearch-js-master.tar.gz'),
release_zip: archive('elasticsearch-js-<%= package.version %>.zip'),
release_tarball: archive('elasticsearch-js-<%= package.version %>.tar.gz')
};
master_zip: archive('elasticsearch-js-master.zip'),
master_tarball: archive('elasticsearch-js-master.tar.gz'),
release_zip: archive('elasticsearch-js-<%= package.version %>.zip'),
release_tarball: archive('elasticsearch-js-<%= package.version %>.tar.gz')
};

View File

@ -15,4 +15,4 @@ module.exports = {
footer: '\n}());'
}
}
};
};

View File

@ -11,4 +11,4 @@ module.exports = {
dest: '<%= bowerSubmodule %>',
expand: true
}
};
};

View File

@ -1,11 +1,11 @@
var _ = require('lodash-migrate');
// var _ = require('lodash');
var utils = require('../utils');
var fromRoot = require('path').join.bind(null, __dirname, '..', '..');
var release = process.env.ES_RELEASE;
var ref = process.env.ES_REF;
var port = parseFloat(_.get(process.env, 'ES_PORT', 9400));
var host = _.get(process.env, 'ES_HOST', 'localhost');
var port = parseFloat(_v4.get(process.env, 'ES_PORT', 9400));
var host = _v4.get(process.env, 'ES_HOST', 'localhost');
var Version = require('../../scripts/Version');
var versionedOpts = [

View File

@ -1,7 +1,7 @@
var root = require('find-root')(__dirname);
var rel = require('path').resolve.bind(null, root);
var rootReq = function (p) { return require(rel(p)); };
var _ = rootReq('src/lib/utils');
// var _ = rootReq('src/lib/utils');
var grunt = require('grunt');
var JENKINS_REPORTER = rel('test/utils/jenkins-reporter.js');
@ -65,7 +65,7 @@ var config = {
grunt.registerTask('mocha_integration', function (branch) {
grunt.config.set(
'mochacov.integration.src',
'test/integration/yaml_suite/index_' + _.snakeCase(branch) + '.js'
'test/integration/yaml_suite/index_' + _v4.snakeCase(branch) + '.js'
);
grunt.task.run('mochacov:integration');
});
@ -73,7 +73,7 @@ grunt.registerTask('mocha_integration', function (branch) {
grunt.registerTask('mocha_jenkins_integration', function (branch) {
grunt.config.set(
'mochacov.jenkins_integration.src',
'test/integration/yaml_suite/index_' + _.snakeCase(branch) + '.js'
'test/integration/yaml_suite/index_' + _v4.snakeCase(branch) + '.js'
);
grunt.task.run('mochacov:jenkins_integration');
});

View File

@ -3,4 +3,4 @@ module.exports = {
path: 'coverage.html',
app: 'Google Chrome'
}
};
};

View File

@ -9,4 +9,4 @@ module.exports = {
}]
}
}
};
};

View File

@ -22,4 +22,4 @@ module.exports = {
}
}
}
};
};

View File

@ -33,4 +33,4 @@ module.exports = {
]
}
}
};
};

View File

@ -1,4 +1,4 @@
var _ = require('../src/lib/utils');
// var _ = require('../src/lib/utils');
var root = require('find-root')(__dirname);
var pkg = require(root + '/package.json');
@ -8,7 +8,7 @@ var branches = [].concat(stable, unstable);
var utils = {
branchSuffix: function (branch) {
return branch === utils.branches._default ? '' : '_' + _.snakeCase(branch);
return branch === utils.branches._default ? '' : '_' + _v4.snakeCase(branch);
},
branches: branches,
stableBranches: stable,