Skip to content

Commit

Permalink
Bump to lodash 3.10.2, normalize metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed Feb 20, 2017
1 parent 8263b6b commit 6d80634
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 19 deletions.
35 changes: 27 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
machinepack-mysql
</h1>

### [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)
Structured Node.js bindings for MySQL.

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

## 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)
Expand All @@ -14,16 +14,35 @@ Structured Node.js bindings for MySql.
$ npm install machinepack-mysql
```


## Usage

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).
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.


## Help

For more examples, or if you get stuck or have questions, click [here](http://sailsjs.com/support).


## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/machinepack-mysql.svg)](http://npmjs.com/package/machinepack-mysql)

To report a bug, [click here](http://sailsjs.com/bugs).

## 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)

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).
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>.
Learn more at <a href="http://node-machine.org/implementing/FAQ" title="Machine Project FAQ (for implementors)">http://node-machine.org/implementing/FAQ</a>.
## Contributing &nbsp; [![Build Status](https://travis-ci.org/balderdashy/machinepack-mysql.svg?branch=master)](https://travis-ci.org/balderdashy/machinepack-mysql)

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.

[![NPM](https://nodei.co/npm/machinepack-mysql.png?downloads=true)](http://npmjs.com/package/machinepack-mysql)

## Acknowledgements

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).

## License

MIT &copy; 2015 - 2016 Cody Stoltman, Mike McNeil, Scott Gress
MIT &copy; 2015-2017 The Sails Company

This package, like the [Sails framework](http://sailsjs.com), is free and open-source under the [MIT License](http://sailsjs.com/license).

2 changes: 1 addition & 1 deletion helpers/validate-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = require('machine').build({


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

// Validate some basic assertions about the provided connection.
// (this doesn't guarantee it's still active or anything, but it does let
Expand Down
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@ module.exports = require('machine').pack({
pkg: require('./package.json'),
dir: __dirname
});



//... well except for this.
// Also give the driver a `mysql` property, so that it provides access
// to the `mysql` library for Node.js. (See http://npmjs.com/package/mysql)
module.exports.mysql = require('mysql');
2 changes: 1 addition & 1 deletion machines/create-manager.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Dependencies
var util = require('util');
var Url = require('url');
var _ = require('lodash');
var _ = require('@sailshq/lodash');
var felix = require('mysql');

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion machines/parse-native-query-error.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Dependencies
var _ = require('lodash');
var _ = require('@sailshq/lodash');

module.exports = {

Expand Down
2 changes: 1 addition & 1 deletion machines/parse-native-query-result.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Dependencies
var _ = require('lodash');
var _ = require('@sailshq/lodash');

module.exports = {

Expand Down
2 changes: 1 addition & 1 deletion machines/send-native-query.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Dependencies
var util = require('util');
var _ = require('lodash');
var _ = require('@sailshq/lodash');
var debug = require('debug')('query');

module.exports = {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "node ./node_modules/mocha/bin/mocha --recursive",
"fasttest": "node ./node_modules/mocha/bin/mocha --recursive",
"pretest": "npm run lint",
"lint": "eslint machines test",
"lint": "node ./node_modules/eslint/bin/eslint *.js **/*.js",
"docker": "docker-compose run adapter bash"
},
"keywords": [
Expand All @@ -17,11 +17,11 @@
"machines",
"machinepack"
],
"author": "The Treeline Company",
"author": "The Sails Company",
"license": "MIT",
"dependencies": {
"debug": "2.2.0",
"lodash": "3.10.1",
"@sailshq/lodash": "^3.10.2",
"machine": "^13.0.0-17",
"mysql": "2.10.2",
"waterline-sql-builder": "^1.0.0-2"
Expand Down
2 changes: 1 addition & 1 deletion test/queryable/parse-native-query-error.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var _ = require('lodash');
var _ = require('@sailshq/lodash');
var Pack = require('../../');

describe('Queryable ::', function() {
Expand Down
2 changes: 1 addition & 1 deletion test/queryable/parse-native-query-result.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var _ = require('lodash');
var _ = require('@sailshq/lodash');
var Pack = require('../../');

describe('Queryable ::', function() {
Expand Down
2 changes: 1 addition & 1 deletion test/queryable/send-native-query.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert');
var _ = require('lodash');
var _ = require('@sailshq/lodash');
var Pack = require('../../');

describe('Queryable ::', function() {
Expand Down

0 comments on commit 6d80634

Please sign in to comment.