diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..be796aa --- /dev/null +++ b/LICENSE @@ -0,0 +1,25 @@ +Copyright (c) IBM Corp. 2014,2016. All Rights Reserved. +Node module: loopback-connector +This project is licensed under the MIT License, full text below. + +-------- + +MIT license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 9ee149f..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -Copyright (c) 2013-2015 StrongLoop, Inc and other contributors. - -loopback-connector uses a dual license model. - -You may use this library under the terms of the [MIT License][], -or under the terms of the [StrongLoop Subscription Agreement][]. - -[MIT License]: http://opensource.org/licenses/MIT -[StrongLoop Subscription Agreement]: http://strongloop.com/license diff --git a/index.js b/index.js index 8cacef7..7b038af 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014,2016. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + exports.Connector = require('./lib/connector'); // Set up SqlConnector as an alias to SQLConnector exports.SQLConnector = exports.SqlConnector = require('./lib/sql'); diff --git a/lib/connector.js b/lib/connector.js index 613b0ca..39be3ca 100644 --- a/lib/connector.js +++ b/lib/connector.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014,2016. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var debug = require('debug')('loopback:connector'); module.exports = Connector; diff --git a/lib/parameterized-sql.js b/lib/parameterized-sql.js index c50d1b5..d96f7a2 100644 --- a/lib/parameterized-sql.js +++ b/lib/parameterized-sql.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2015,2016. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var assert = require('assert'); var PLACEHOLDER = '?'; diff --git a/lib/sql.js b/lib/sql.js index 413050e..2c82a47 100644 --- a/lib/sql.js +++ b/lib/sql.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014,2016. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var util = require('util'); var async = require('async'); var assert = require('assert'); diff --git a/lib/transaction.js b/lib/transaction.js index a3cbb64..0f6f14a 100644 --- a/lib/transaction.js +++ b/lib/transaction.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2015,2016. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var assert = require('assert'); var util = require('util'); var EventEmitter = require('events').EventEmitter; diff --git a/test/automigrate.test.js b/test/automigrate.test.js index 1daf061..ddc1f39 100644 --- a/test/automigrate.test.js +++ b/test/automigrate.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014,2016. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var expect = require('chai').expect; var testConnector = require('./connectors/test-sql-connector'); diff --git a/test/connectors/test-sql-connector.js b/test/connectors/test-sql-connector.js index 827a057..b621fde 100644 --- a/test/connectors/test-sql-connector.js +++ b/test/connectors/test-sql-connector.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014,2016. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + /* * A mockup connector that extends SQL connector */ diff --git a/test/smoke.test.js b/test/smoke.test.js index cb01c34..bb670d1 100644 --- a/test/smoke.test.js +++ b/test/smoke.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014,2015. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var assert = require('assert'); var connector = require('../'); diff --git a/test/sql.test.js b/test/sql.test.js index 3f10090..0542a12 100644 --- a/test/sql.test.js +++ b/test/sql.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2015,2016. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var expect = require('chai').expect; var SQLConnector = require('../lib/sql'); var ParameterizedSQL = SQLConnector.ParameterizedSQL; diff --git a/test/transaction.test.js b/test/transaction.test.js index b599c5b..0f5a4ae 100644 --- a/test/transaction.test.js +++ b/test/transaction.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2015,2016. All Rights Reserved. +// Node module: loopback-connector +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var Transaction = require('../index').Transaction; var expect = require('chai').expect;