Commit Graph

19 Commits

Author SHA1 Message Date
f493527dc4 [eslint] fix no-unused-vars violations 2018-05-14 12:16:03 -07:00
f1de944809 Upgrade to lodash v4 (#660)
* npm install lodash-2

Someone handily published a lodash-2 v4.17.4 - it is exactly the same as lodash v4.17.4, so it is safe to use during the migration.

* use lodash-2 in tests

* update tests to split utils vs lodash

* remove Utils.nextTick usage

Utils.nextTick with a single argument is the same as process.nextTick

* lowercase utils

Because it seems that this is the coding style in this repo

* upgrade lodash in grunt/*

* keep lodash-2 as a dev dep for now

* use lodash-2 in scripts

* use snakeCase from utils

It was a mistake in my previous commit to not update this usage

* fix naming gruntUtils vs utils

As all three - gruntUtils, utils and lodash (_) are getting passed into templates, it makes sense to keep the naming consistent

* fix naming gruntUtils vs utils

As all three - gruntUtils, utils and lodash (_) are getting passed into templates, it makes sense to keep the naming consistent

* split utils vs lodash in scripts/generate

Also use lodash-2 where it is easy to do so

* use utils.get until lodash upgrade

* remove lodash.isempty; lodash-2 now used in prod (in src/lib/apis/ code)

* unbundle lodash from utils

* upgrade to lodash 4

* remove lodash.get and lodash.trimEnd

* clean out unused code

* clean out unused code

* fix a breaking change listed under "notable changes" rather than under "breaking changes"...
2018-05-14 11:37:23 -07:00
8ad271d81c and finally, return to standard mo 2016-05-19 14:33:04 -07:00
ec06c51c5d final sweep, moved everything to _v4 2016-05-19 14:23:33 -07:00
4a77556866 tracked down more necessary updated, lots of _.bind() 2016-05-19 12:47:33 -07:00
68a8f712c8 fix eslint errors 2016-05-19 07:52:01 -07:00
6368d12a2f Support setting elasticsearch bind host for tests 2015-08-25 11:46:20 -07:00
878a3e41ce strip timeout override left from debugging 2015-07-02 13:07:27 -07:00
863cb7a61c clear the snapshot repos after every doc 2015-07-02 13:05:06 -07:00
102d8965d6 log earlier, for formatting sake 2015-01-11 16:09:38 -07:00
176febb3b9 report args from yaml suite runner 2015-01-10 14:21:05 -07:00
b182141d07 support running integration tests against a specific version 2015-01-10 13:50:59 -07:00
00a721a112 another attempt to prevent failures because of visionmedia/mocha#1292 2014-07-30 10:10:41 -07:00
5ade73c8bb forcing the latest version of mocha because of visionmedia/mocha#1292 2014-07-30 10:06:49 -07:00
7a2571f11a updated other places that es is cleared to also clear templates 2014-06-09 10:03:05 -07:00
ec199bde2f ensure that templates are also cleared before each test 2014-06-09 09:21:25 -07:00
70b51dfa6d stopped using an empty suffix for test/branch stuff, so that things are less confusing down the road when versions change 2014-02-05 09:46:53 -07:00
6c5838fbfa Added API generation and Yaml testing for 1.x and 1.0 branches of elasticsearch. 2014-02-05 08:18:19 -07:00
18e134d0a6 Summary of Changes:
- moved es install/start/stop logic into a seperate script
  - `grunt test` now runs the integration tests once for each version of ES we support
  - grunt can now install and run elasticearch (using grunt-run, pure js solution coming later)
  - included seperate es.sh script specifically for starting or stopping elasticsearch
  - url aliases, api, yaml_suite/index.js, and yaml_tests.json, are all now duplicated for 0_90 support
  - the client now accepts an apiVersion argument (undocumented) which defaults to 'master' but can be '0.90'
  - The yaml test runner will now check the name of the ES instance it is connecting to, preventing accidental wiping of ES
2014-01-14 23:10:12 -07:00