Skip to content

Commit 6d80634

Browse files
committed
Bump to lodash 3.10.2, normalize metadata.
1 parent 8263b6b commit 6d80634

11 files changed

+45
-19
lines changed

README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
machinepack-mysql
44
</h1>
55

6-
### [Docs](http://node-machine.org/machinepack-mysql) &nbsp; [Browse other machines](http://node-machine.org/machinepacks) &nbsp; [FAQ](http://node-machine.org/implementing/FAQ) &nbsp; [Newsgroup](https://groups.google.com/forum/?hl=en#!forum/node-machine)
6+
Structured Node.js bindings for MySQL.
77

8-
Structured Node.js bindings for MySql.
8+
> See https://github.com/node-machine/driver-interface for more background information about this package.
99
1010

1111
## Installation &nbsp; [![NPM version](https://badge.fury.io/js/machinepack-mysql.svg)](http://badge.fury.io/js/machinepack-mysql) [![Build Status](https://travis-ci.org/treelinehq/machinepack-mysql.png?branch=master)](https://travis-ci.org/treelinehq/machinepack-mysql)
@@ -14,16 +14,35 @@ Structured Node.js bindings for MySql.
1414
$ npm install machinepack-mysql
1515
```
1616

17+
1718
## Usage
1819

19-
For the latest usage documentation, version information, and test status of this module, see <a href="http://node-machine.org/machinepack-mysql" title="Structured Node.js bindings for MySql. (for node.js)">http://node-machine.org/machinepack-mysql</a>. The generated manpages for each machine contain a complete reference of all expected inputs, possible exit states, and example return values. If you need more help, or find a bug, jump into [Gitter](https://gitter.im/node-machine/general) or leave a message in the project [newsgroup](https://groups.google.com/forum/?hl=en#!forum/node-machine).
20+
For the latest usage documentation, version information, and test status of this module, see <a href="http://node-machine.org/machinepack-mysql" title="Structured Node.js bindings for MySql. (for node.js)">http://node-machine.org/machinepack-mysql</a>. The generated manpages for each machine contain a complete reference of all expected inputs, possible exit states, and example return values.
21+
22+
23+
## Help
24+
25+
For more examples, or if you get stuck or have questions, click [here](http://sailsjs.com/support).
26+
27+
28+
## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/machinepack-mysql.svg)](http://npmjs.com/package/machinepack-mysql)
29+
30+
To report a bug, [click here](http://sailsjs.com/bugs).
2031

21-
## About &nbsp; [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/node-machine/general?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2232

23-
This is a [machinepack](http://node-machine.org/machinepacks), an NPM module which exposes a set of related Node.js [machines](http://node-machine.org/spec/machine) according to the [machinepack specification](http://node-machine.org/spec/machinepack).
24-
Documentation pages for the machines contained in this module (as well as all other NPM-hosted machines for Node.js) are automatically generated and kept up-to-date on the <a href="http://node-machine.org" title="Public machine registry for Node.js">public registry</a>.
25-
Learn more at <a href="http://node-machine.org/implementing/FAQ" title="Machine Project FAQ (for implementors)">http://node-machine.org/implementing/FAQ</a>.
33+
## Contributing &nbsp; [![Build Status](https://travis-ci.org/balderdashy/machinepack-mysql.svg?branch=master)](https://travis-ci.org/balderdashy/machinepack-mysql)
34+
35+
Please observe the guidelines and conventions laid out in the [Sails project contribution guide](http://sailsjs.com/contribute) when opening issues or submitting pull requests.
36+
37+
[![NPM](https://nodei.co/npm/machinepack-mysql.png?downloads=true)](http://npmjs.com/package/machinepack-mysql)
38+
39+
## Acknowledgements
40+
41+
Thanks to [felixge](https://github.com/felixge) and [dougwilson](https://github.com/dougwilson) for all of their great work on [mysql](http://npmjs.com/package/mysql).
2642

2743
## License
2844

29-
MIT &copy; 2015 - 2016 Cody Stoltman, Mike McNeil, Scott Gress
45+
MIT &copy; 2015-2017 The Sails Company
46+
47+
This package, like the [Sails framework](http://sailsjs.com), is free and open-source under the [MIT License](http://sailsjs.com/license).
48+

helpers/validate-connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = require('machine').build({
3838

3939

4040
fn: function validateConnection(inputs, exits) {
41-
var _ = require('lodash');
41+
var _ = require('@sailshq/lodash');
4242

4343
// Validate some basic assertions about the provided connection.
4444
// (this doesn't guarantee it's still active or anything, but it does let

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@ module.exports = require('machine').pack({
33
pkg: require('./package.json'),
44
dir: __dirname
55
});
6+
7+
8+
9+
//... well except for this.
10+
// Also give the driver a `mysql` property, so that it provides access
11+
// to the `mysql` library for Node.js. (See http://npmjs.com/package/mysql)
12+
module.exports.mysql = require('mysql');

machines/create-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Dependencies
22
var util = require('util');
33
var Url = require('url');
4-
var _ = require('lodash');
4+
var _ = require('@sailshq/lodash');
55
var felix = require('mysql');
66

77
module.exports = {

machines/parse-native-query-error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Dependencies
2-
var _ = require('lodash');
2+
var _ = require('@sailshq/lodash');
33

44
module.exports = {
55

machines/parse-native-query-result.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Dependencies
2-
var _ = require('lodash');
2+
var _ = require('@sailshq/lodash');
33

44
module.exports = {
55

machines/send-native-query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Dependencies
22
var util = require('util');
3-
var _ = require('lodash');
3+
var _ = require('@sailshq/lodash');
44
var debug = require('debug')('query');
55

66
module.exports = {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"test": "node ./node_modules/mocha/bin/mocha --recursive",
77
"fasttest": "node ./node_modules/mocha/bin/mocha --recursive",
88
"pretest": "npm run lint",
9-
"lint": "eslint machines test",
9+
"lint": "node ./node_modules/eslint/bin/eslint *.js **/*.js",
1010
"docker": "docker-compose run adapter bash"
1111
},
1212
"keywords": [
@@ -17,11 +17,11 @@
1717
"machines",
1818
"machinepack"
1919
],
20-
"author": "The Treeline Company",
20+
"author": "The Sails Company",
2121
"license": "MIT",
2222
"dependencies": {
2323
"debug": "2.2.0",
24-
"lodash": "3.10.1",
24+
"@sailshq/lodash": "^3.10.2",
2525
"machine": "^13.0.0-17",
2626
"mysql": "2.10.2",
2727
"waterline-sql-builder": "^1.0.0-2"

test/queryable/parse-native-query-error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var assert = require('assert');
2-
var _ = require('lodash');
2+
var _ = require('@sailshq/lodash');
33
var Pack = require('../../');
44

55
describe('Queryable ::', function() {

test/queryable/parse-native-query-result.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var assert = require('assert');
2-
var _ = require('lodash');
2+
var _ = require('@sailshq/lodash');
33
var Pack = require('../../');
44

55
describe('Queryable ::', function() {

0 commit comments

Comments
 (0)