From cb6eafd5929170c96490d660eb483ed5e0046431 Mon Sep 17 00:00:00 2001 From: Ryan Graham Date: Thu, 5 May 2016 17:10:55 -0700 Subject: [PATCH] update copyright notices and license --- LICENSE | 25 ++++++++++++++++++++ LICENSE.md | 9 ------- example/hidden.js | 5 ++++ example/simple.js | 5 ++++ index.js | 5 ++++ lib/url-join.js | 5 ++++ public/lib/loadSwaggerUI.js | 5 ++++ test/explorer.test.js | 5 ++++ test/fixtures/dummy-swagger-ui/swagger-ui.js | 5 ++++ 9 files changed, 60 insertions(+), 9 deletions(-) create mode 100644 LICENSE delete mode 100644 LICENSE.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..eded999 --- /dev/null +++ b/LICENSE @@ -0,0 +1,25 @@ +Copyright (c) IBM Corp. 2013,2016. All Rights Reserved. +Node module: loopback-component-explorer +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 afe2813..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -Copyright (c) 2013-2015 StrongLoop, Inc. - -loopback-component-explorer 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/example/hidden.js b/example/hidden.js index 93bfad0..a0f4104 100644 --- a/example/hidden.js +++ b/example/hidden.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014,2016. All Rights Reserved. +// Node module: loopback-component-explorer +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var loopback = require('loopback'); var app = loopback(); var explorer = require('../'); diff --git a/example/simple.js b/example/simple.js index d0e0405..c67ab44 100644 --- a/example/simple.js +++ b/example/simple.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-component-explorer +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var loopback = require('loopback'); var app = loopback(); var explorer = require('../'); diff --git a/index.js b/index.js index efceba8..f9b71e1 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-component-explorer +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + 'use strict'; /*! * Adds dynamically-updated docs as /explorer diff --git a/lib/url-join.js b/lib/url-join.js index 4805191..2d64731 100644 --- a/lib/url-join.js +++ b/lib/url-join.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014. All Rights Reserved. +// Node module: loopback-component-explorer +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + 'use strict'; // Simple url joiner. Ensure we don't have to care about whether or not diff --git a/public/lib/loadSwaggerUI.js b/public/lib/loadSwaggerUI.js index aaee90b..595436c 100644 --- a/public/lib/loadSwaggerUI.js +++ b/public/lib/loadSwaggerUI.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014,2016. All Rights Reserved. +// Node module: loopback-component-explorer +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + 'use strict'; // Refactoring of inline script from index.html. diff --git a/test/explorer.test.js b/test/explorer.test.js index 8e25858..1efa8a0 100644 --- a/test/explorer.test.js +++ b/test/explorer.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-component-explorer +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var loopback = require('loopback'); var explorer = require('../'); var request = require('supertest'); diff --git a/test/fixtures/dummy-swagger-ui/swagger-ui.js b/test/fixtures/dummy-swagger-ui/swagger-ui.js index 55f593f..4ed36a7 100644 --- a/test/fixtures/dummy-swagger-ui/swagger-ui.js +++ b/test/fixtures/dummy-swagger-ui/swagger-ui.js @@ -1 +1,6 @@ +// Copyright IBM Corp. 2014. All Rights Reserved. +// Node module: loopback-component-explorer +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + /* custom swagger-ui file */