From a923f397c3fd19cf2d896a89b36600ba31ad1288 Mon Sep 17 00:00:00 2001 From: Phil Kedy Date: Mon, 22 Jan 2018 10:46:25 -0500 Subject: [PATCH] Added SPDX header lines per issue #1 --- docs/file-writer.md | 0 index.js | 2 ++ lib/generator.js | 2 ++ lib/loader.js | 2 ++ lib/modules.js | 2 ++ lib/modules/helpers.js | 2 ++ lib/modules/java-8.js | 2 ++ lib/modules/java-bean-validation.js | 2 ++ lib/modules/java.js | 2 ++ lib/modules/jax-b.js | 2 ++ lib/modules/jax-rs.js | 2 ++ lib/template-engines/handlebars.js | 2 ++ lib/template-engines/hogan.js | 2 ++ lib/template-engines/pug.js | 2 ++ lib/template-engines/underscore.js | 2 ++ lib/templates.js | 2 ++ lib/utilities.js | 2 ++ lib/writer.js | 2 ++ test/common.js | 2 ++ test/generator.js | 2 ++ test/helpers/modules/module-a.js | 2 ++ test/helpers/modules/module-b.js | 2 ++ test/helpers/template-engines/text.js | 2 ++ test/loader.js | 2 ++ test/modules.js | 2 ++ test/modules/helpers.js | 2 ++ test/modules/java-8.js | 2 ++ test/modules/java-bean-validation.js | 2 ++ test/modules/java.js | 2 ++ test/modules/jax-b.js | 2 ++ test/modules/jax-rs.js | 2 ++ test/template-engines/handlebars.js | 2 ++ test/template-engines/hogan.js | 2 ++ test/template-engines/pug.js | 2 ++ test/template-engines/underscore.js | 2 ++ test/templates.js | 2 ++ test/tests.js | 2 ++ test/utilities.js | 2 ++ test/writer.js | 2 ++ 39 files changed, 76 insertions(+) delete mode 100644 docs/file-writer.md diff --git a/docs/file-writer.md b/docs/file-writer.md deleted file mode 100644 index e69de29..0000000 diff --git a/index.js b/index.js index f253ec0..410b2f5 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/generator.js b/lib/generator.js index 5f150ca..ec29557 100644 --- a/lib/generator.js +++ b/lib/generator.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/loader.js b/lib/loader.js index 6798881..0f70622 100644 --- a/lib/loader.js +++ b/lib/loader.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/modules.js b/lib/modules.js index a2b81a7..f6b3a79 100644 --- a/lib/modules.js +++ b/lib/modules.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/modules/helpers.js b/lib/modules/helpers.js index 9d9e18c..39d786b 100644 --- a/lib/modules/helpers.js +++ b/lib/modules/helpers.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/modules/java-8.js b/lib/modules/java-8.js index a1767e4..c099160 100644 --- a/lib/modules/java-8.js +++ b/lib/modules/java-8.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/modules/java-bean-validation.js b/lib/modules/java-bean-validation.js index 45f1e01..f0d87a1 100644 --- a/lib/modules/java-bean-validation.js +++ b/lib/modules/java-bean-validation.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/modules/java.js b/lib/modules/java.js index 6ceed77..6d7aa93 100644 --- a/lib/modules/java.js +++ b/lib/modules/java.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/modules/jax-b.js b/lib/modules/jax-b.js index a158841..6495fb0 100644 --- a/lib/modules/jax-b.js +++ b/lib/modules/jax-b.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/modules/jax-rs.js b/lib/modules/jax-rs.js index bf1ccb6..046e56a 100644 --- a/lib/modules/jax-rs.js +++ b/lib/modules/jax-rs.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/template-engines/handlebars.js b/lib/template-engines/handlebars.js index 8ae8fbc..ce40860 100644 --- a/lib/template-engines/handlebars.js +++ b/lib/template-engines/handlebars.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/template-engines/hogan.js b/lib/template-engines/hogan.js index a909aa3..f9a4218 100644 --- a/lib/template-engines/hogan.js +++ b/lib/template-engines/hogan.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/template-engines/pug.js b/lib/template-engines/pug.js index 046d2d6..bcec82e 100644 --- a/lib/template-engines/pug.js +++ b/lib/template-engines/pug.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/template-engines/underscore.js b/lib/template-engines/underscore.js index cc11a1e..f4e8f95 100644 --- a/lib/template-engines/underscore.js +++ b/lib/template-engines/underscore.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/templates.js b/lib/templates.js index 817db4a..cbec5be 100644 --- a/lib/templates.js +++ b/lib/templates.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/utilities.js b/lib/utilities.js index 07cf73c..e5ac70c 100644 --- a/lib/utilities.js +++ b/lib/utilities.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lib/writer.js b/lib/writer.js index c813e3e..d50d6c6 100644 --- a/lib/writer.js +++ b/lib/writer.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/common.js b/test/common.js index b469146..57954de 100644 --- a/test/common.js +++ b/test/common.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/generator.js b/test/generator.js index fd2c82e..1f03a05 100644 --- a/test/generator.js +++ b/test/generator.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/helpers/modules/module-a.js b/test/helpers/modules/module-a.js index 5d943b8..e35a629 100644 --- a/test/helpers/modules/module-a.js +++ b/test/helpers/modules/module-a.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/helpers/modules/module-b.js b/test/helpers/modules/module-b.js index b3395a1..09e4c5c 100644 --- a/test/helpers/modules/module-b.js +++ b/test/helpers/modules/module-b.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/helpers/template-engines/text.js b/test/helpers/template-engines/text.js index 0783f89..0521731 100644 --- a/test/helpers/template-engines/text.js +++ b/test/helpers/template-engines/text.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/loader.js b/test/loader.js index 8c2106a..41a32dc 100644 --- a/test/loader.js +++ b/test/loader.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/modules.js b/test/modules.js index ff6c237..61e3e9a 100644 --- a/test/modules.js +++ b/test/modules.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/modules/helpers.js b/test/modules/helpers.js index fde9e53..1dac8fc 100644 --- a/test/modules/helpers.js +++ b/test/modules/helpers.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/modules/java-8.js b/test/modules/java-8.js index b224351..28667bb 100644 --- a/test/modules/java-8.js +++ b/test/modules/java-8.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/modules/java-bean-validation.js b/test/modules/java-bean-validation.js index e9ee790..911d5a9 100644 --- a/test/modules/java-bean-validation.js +++ b/test/modules/java-bean-validation.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/modules/java.js b/test/modules/java.js index aab853b..3cca271 100644 --- a/test/modules/java.js +++ b/test/modules/java.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/modules/jax-b.js b/test/modules/jax-b.js index 1e77a4c..5efd274 100644 --- a/test/modules/jax-b.js +++ b/test/modules/jax-b.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/modules/jax-rs.js b/test/modules/jax-rs.js index 79948df..c5b4a17 100644 --- a/test/modules/jax-rs.js +++ b/test/modules/jax-rs.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/template-engines/handlebars.js b/test/template-engines/handlebars.js index cdd69a5..cbf5ead 100644 --- a/test/template-engines/handlebars.js +++ b/test/template-engines/handlebars.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/template-engines/hogan.js b/test/template-engines/hogan.js index ab91fb0..c07085f 100644 --- a/test/template-engines/hogan.js +++ b/test/template-engines/hogan.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/template-engines/pug.js b/test/template-engines/pug.js index caed698..fe11b38 100644 --- a/test/template-engines/pug.js +++ b/test/template-engines/pug.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/template-engines/underscore.js b/test/template-engines/underscore.js index 78c61a4..e7316b2 100644 --- a/test/template-engines/underscore.js +++ b/test/template-engines/underscore.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/templates.js b/test/templates.js index 87c5789..3492755 100644 --- a/test/templates.js +++ b/test/templates.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/tests.js b/test/tests.js index b8c1cb0..3e0a359 100644 --- a/test/tests.js +++ b/test/tests.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/utilities.js b/test/utilities.js index 3b76329..71b826c 100644 --- a/test/utilities.js +++ b/test/utilities.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/test/writer.js b/test/writer.js index ecc9a56..630b805 100644 --- a/test/writer.js +++ b/test/writer.js @@ -1,4 +1,6 @@ /* + * SPDX-Copyright: Copyright (c) Capital One Services, LLC + * SPDX-License-Identifier: Apache-2.0 * Copyright 2016 Capital One Services, LLC * * Licensed under the Apache License, Version 2.0 (the "License");