licensee 9.13.1 → 9.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +1 -1
  4. data/lib/licensee.rb +4 -4
  5. data/lib/licensee/commands/detect.rb +3 -5
  6. data/lib/licensee/commands/diff.rb +3 -5
  7. data/lib/licensee/content_helper.rb +46 -42
  8. data/lib/licensee/hash_helper.rb +1 -1
  9. data/lib/licensee/license.rb +29 -15
  10. data/lib/licensee/matchers.rb +1 -0
  11. data/lib/licensee/matchers/cabal.rb +1 -1
  12. data/lib/licensee/matchers/cargo.rb +1 -1
  13. data/lib/licensee/matchers/copyright.rb +3 -8
  14. data/lib/licensee/matchers/cran.rb +1 -1
  15. data/lib/licensee/matchers/dice.rb +2 -2
  16. data/lib/licensee/matchers/dist_zilla.rb +1 -1
  17. data/lib/licensee/matchers/gemspec.rb +4 -4
  18. data/lib/licensee/matchers/npm_bower.rb +5 -2
  19. data/lib/licensee/matchers/nuget.rb +43 -0
  20. data/lib/licensee/matchers/spdx.rb +1 -1
  21. data/lib/licensee/project_files/license_file.rb +29 -22
  22. data/lib/licensee/project_files/package_manager_file.rb +3 -2
  23. data/lib/licensee/project_files/project_file.rb +3 -4
  24. data/lib/licensee/project_files/readme_file.rb +1 -1
  25. data/lib/licensee/projects/fs_project.rb +8 -5
  26. data/lib/licensee/projects/git_project.rb +6 -4
  27. data/lib/licensee/projects/github_project.rb +1 -1
  28. data/lib/licensee/projects/project.rb +11 -10
  29. data/lib/licensee/version.rb +1 -1
  30. data/licensee.gemspec +7 -8
  31. data/spec/fixture_spec.rb +3 -3
  32. data/spec/fixtures/bom/LICENSE.txt +21 -0
  33. data/spec/fixtures/bsd-3-authorowner/LICENSE +27 -0
  34. data/spec/fixtures/cc-by-sa-mdlinks/License.md +173 -0
  35. data/spec/fixtures/cc-by-sa-nocclicensor/License.md +425 -0
  36. data/spec/fixtures/crlf-bsd/LICENSE.md +27 -0
  37. data/spec/fixtures/detect.json +16 -22
  38. data/spec/fixtures/eupl-cal2017/LICENSE.txt +274 -0
  39. data/spec/fixtures/fixtures.yml +62 -22
  40. data/spec/fixtures/license-hashes.json +39 -38
  41. data/spec/fixtures/markdown-artistic/LICENSE.md +192 -0
  42. data/spec/fixtures/pixar-modified-apache/LICENSE.txt +174 -0
  43. data/spec/fixtures/readme-invalid-encoding/README.md +24 -0
  44. data/spec/fixtures/vim/LICENSE +78 -0
  45. data/spec/integration_spec.rb +86 -9
  46. data/spec/licensee/commands/detect_spec.rb +2 -2
  47. data/spec/licensee/content_helper_spec.rb +21 -21
  48. data/spec/licensee/hash_helper_spec.rb +22 -22
  49. data/spec/licensee/license_meta_spec.rb +5 -11
  50. data/spec/licensee/license_spec.rb +14 -10
  51. data/spec/licensee/matchers/dice_matcher_spec.rb +4 -11
  52. data/spec/licensee/matchers/matcher_spec.rb +6 -6
  53. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +9 -0
  54. data/spec/licensee/matchers/nu_get_matcher_spec.rb +91 -0
  55. data/spec/licensee/project_files/license_file_spec.rb +34 -27
  56. data/spec/licensee/project_files/package_info_spec.rb +8 -0
  57. data/spec/licensee/project_spec.rb +1 -3
  58. data/spec/licensee/rule_spec.rb +1 -1
  59. data/spec/licensee_spec.rb +1 -1
  60. data/spec/spec_helper.rb +3 -3
  61. data/spec/vendored_license_spec.rb +2 -2
  62. data/vendor/choosealicense.com/_data/meta.yml +1 -1
  63. data/vendor/choosealicense.com/_data/rules.yml +13 -13
  64. data/vendor/choosealicense.com/_licenses/0bsd.txt +3 -3
  65. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +3 -3
  66. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +3 -3
  67. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +3 -3
  68. data/vendor/choosealicense.com/_licenses/bsd-4-clause.txt +3 -3
  69. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +3 -3
  70. data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +16 -16
  71. data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +16 -16
  72. data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +3 -3
  73. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +3 -3
  74. data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +3 -3
  75. data/vendor/choosealicense.com/_licenses/epl-1.0.txt +3 -3
  76. data/vendor/choosealicense.com/_licenses/epl-2.0.txt +3 -3
  77. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +77 -60
  78. data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +3 -3
  79. data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +3 -3
  80. data/vendor/choosealicense.com/_licenses/isc.txt +3 -3
  81. data/vendor/choosealicense.com/_licenses/mit-0.txt +45 -0
  82. data/vendor/choosealicense.com/_licenses/mit.txt +3 -3
  83. data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +3 -3
  84. data/vendor/choosealicense.com/_licenses/ncsa.txt +3 -3
  85. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +3 -3
  86. data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +3 -3
  87. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +3 -3
  88. data/vendor/choosealicense.com/_licenses/postgresql.txt +3 -3
  89. data/vendor/choosealicense.com/_licenses/unlicense.txt +3 -3
  90. data/vendor/choosealicense.com/_licenses/upl-1.0.txt +3 -3
  91. data/vendor/choosealicense.com/_licenses/vim.txt +3 -3
  92. data/vendor/choosealicense.com/_licenses/zlib.txt +3 -3
  93. data/vendor/license-list-XML/src/0BSD.xml +21 -0
  94. data/vendor/license-list-XML/src/AFL-3.0.xml +212 -0
  95. data/vendor/license-list-XML/src/AGPL-3.0.xml +852 -0
  96. data/vendor/license-list-XML/src/Apache-2.0.xml +223 -0
  97. data/vendor/license-list-XML/src/Artistic-2.0.xml +238 -0
  98. data/vendor/license-list-XML/src/BSD-2-Clause.xml +42 -0
  99. data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +59 -0
  100. data/vendor/license-list-XML/src/BSD-3-Clause.xml +46 -0
  101. data/vendor/license-list-XML/src/BSD-4-Clause.xml +59 -0
  102. data/vendor/license-list-XML/src/BSL-1.0.xml +30 -0
  103. data/vendor/license-list-XML/src/CC-BY-4.0.xml +444 -0
  104. data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +475 -0
  105. data/vendor/license-list-XML/src/CC0-1.0.xml +153 -0
  106. data/vendor/license-list-XML/src/CECILL-2.1.xml +669 -0
  107. data/vendor/license-list-XML/src/ECL-2.0.xml +242 -0
  108. data/vendor/license-list-XML/src/EPL-1.0.xml +255 -0
  109. data/vendor/license-list-XML/src/EPL-2.0.xml +639 -0
  110. data/vendor/license-list-XML/src/EUPL-1.1.xml +337 -0
  111. data/vendor/license-list-XML/src/EUPL-1.2.xml +502 -0
  112. data/vendor/license-list-XML/src/GPL-2.0.xml +474 -0
  113. data/vendor/license-list-XML/src/GPL-3.0.xml +858 -0
  114. data/vendor/license-list-XML/src/ISC.xml +29 -0
  115. data/vendor/license-list-XML/src/LGPL-2.1.xml +662 -0
  116. data/vendor/license-list-XML/src/LGPL-3.0.xml +260 -0
  117. data/vendor/license-list-XML/src/LPPL-1.3c.xml +380 -0
  118. data/vendor/license-list-XML/src/MIT-0.xml +40 -0
  119. data/vendor/license-list-XML/src/MIT.xml +32 -0
  120. data/vendor/license-list-XML/src/MPL-2.0.xml +438 -0
  121. data/vendor/license-list-XML/src/MS-PL.xml +89 -0
  122. data/vendor/license-list-XML/src/MS-RL.xml +97 -0
  123. data/vendor/license-list-XML/src/NCSA.xml +60 -0
  124. data/vendor/license-list-XML/src/ODbL-1.0.xml +660 -0
  125. data/vendor/license-list-XML/src/OFL-1.1.xml +94 -0
  126. data/vendor/license-list-XML/src/OSL-3.0.xml +209 -0
  127. data/vendor/license-list-XML/src/PostgreSQL.xml +32 -0
  128. data/vendor/license-list-XML/src/UPL-1.0.xml +46 -0
  129. data/vendor/license-list-XML/src/Unlicense.xml +27 -0
  130. data/vendor/license-list-XML/src/Vim.xml +124 -0
  131. data/vendor/license-list-XML/src/WTFPL.xml +30 -0
  132. data/vendor/license-list-XML/src/Zlib.xml +38 -0
  133. metadata +97 -32
@@ -0,0 +1,27 @@
1
+ Copyright (c) 2010-2020, William Bittle
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ * Neither the name of the copyright holder nor the names of its
15
+ contributors may be used to endorse or promote products derived from
16
+ this software without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -8,17 +8,11 @@
8
8
  "source": "https://spdx.org/licenses/MIT.html",
9
9
  "description": "A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.",
10
10
  "how": "Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.",
11
- "using": [
12
- {
13
- "Babel": "https://github.com/babel/babel/blob/master/LICENSE"
14
- },
15
- {
16
- ".NET Core": "https://github.com/dotnet/runtime/blob/master/LICENSE.TXT"
17
- },
18
- {
19
- "Rails": "https://github.com/rails/rails/blob/master/MIT-LICENSE"
20
- }
21
- ],
11
+ "using": {
12
+ "Babel": "https://github.com/babel/babel/blob/master/LICENSE",
13
+ ".NET Core": "https://github.com/dotnet/runtime/blob/master/LICENSE.TXT",
14
+ "Rails": "https://github.com/rails/rails/blob/master/MIT-LICENSE"
15
+ },
22
16
  "featured": true,
23
17
  "hidden": false,
24
18
  "nickname": null,
@@ -30,29 +24,29 @@
30
24
  {
31
25
  "tag": "commercial-use",
32
26
  "label": "Commercial use",
33
- "description": "This software and derivatives may be used for commercial purposes."
27
+ "description": "The licensed material and derivatives may be used for commercial purposes."
34
28
  },
35
29
  {
36
30
  "tag": "modifications",
37
31
  "label": "Modification",
38
- "description": "This software may be modified."
32
+ "description": "The licensed material may be modified."
39
33
  },
40
34
  {
41
35
  "tag": "distribution",
42
36
  "label": "Distribution",
43
- "description": "This software may be distributed."
37
+ "description": "The licensed material may be distributed."
44
38
  },
45
39
  {
46
40
  "tag": "private-use",
47
41
  "label": "Private use",
48
- "description": "This software may be used and modified in private."
42
+ "description": "The licensed material may be used and modified in private."
49
43
  }
50
44
  ],
51
45
  "conditions": [
52
46
  {
53
47
  "tag": "include-copyright",
54
48
  "label": "License and copyright notice",
55
- "description": "A copy of the license and copyright notice must be included with the software."
49
+ "description": "A copy of the license and copyright notice must be included with the licensed material."
56
50
  }
57
51
  ],
58
52
  "limitations": [
@@ -64,7 +58,7 @@
64
58
  {
65
59
  "tag": "warranty",
66
60
  "label": "Warranty",
67
- "description": "The license explicitly states that it does NOT provide any warranty."
61
+ "description": "This license explicitly states that it does NOT provide any warranty."
68
62
  }
69
63
  ]
70
64
  },
@@ -87,19 +81,19 @@
87
81
  "matched_files": [
88
82
  {
89
83
  "filename": "LICENSE.md",
90
- "content": "MIT License\n\nCopyright (c) 2014-2017 Ben Balter\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
91
- "content_hash": "d64f3bb4282a97b37454b5bb96a8a264a3363dc3",
92
- "content_normalized": "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.",
84
+ "content": "MIT License\n\nCopyright (c) 2014-2021 Ben Balter and Licensee contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
85
+ "content_hash": "4c2c763d64bbc7ef2e58b0ec6d06d90cee9755c9",
86
+ "content_normalized": "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.",
93
87
  "matcher": {
94
88
  "name": "exact",
95
89
  "confidence": 100
96
90
  },
97
91
  "matched_license": "MIT",
98
- "attribution": "Copyright (c) 2014-2017 Ben Balter"
92
+ "attribution": "Copyright (c) 2014-2021 Ben Balter and Licensee contributors"
99
93
  },
100
94
  {
101
95
  "filename": "licensee.gemspec",
102
- "content": "# frozen_string_literal: true\n\nrequire File.expand_path('lib/licensee/version', __dir__)\n\nGem::Specification.new do |gem|\n gem.name = 'licensee'\n gem.version = Licensee::VERSION\n\n gem.summary = 'A Ruby Gem to detect open source project licenses'\n gem.description = <<-DESC\n Licensee automates the process of reading LICENSE files and\n compares their contents to known licenses using a fancy maths.\n DESC\n\n gem.authors = ['Ben Balter']\n gem.email = 'ben.balter@github.com'\n gem.homepage = 'https://github.com/benbalter/licensee'\n gem.license = 'MIT'\n\n gem.bindir = 'bin'\n gem.executables << 'licensee'\n\n gem.add_dependency('dotenv', '~> 2.0')\n gem.add_dependency('octokit', '~> 4.8')\n gem.add_dependency('reverse_markdown', '~> 1.0')\n gem.add_dependency('rugged', '~> 0.24')\n gem.add_dependency('thor', '~> 0.19')\n\n gem.add_development_dependency('mustache', '>= 0.9', '< 2.0')\n gem.add_development_dependency('pry', '~> 0.9')\n gem.add_development_dependency('rake', '~> 10.3')\n gem.add_development_dependency('rspec', '~> 3.5')\n gem.add_development_dependency('rubocop', '~> 0.80')\n gem.add_development_dependency('rubocop-performance', '~> 1.5')\n gem.add_development_dependency('rubocop-rspec', '~> 1.36')\n gem.add_development_dependency('simplecov', '~> 0.16')\n gem.add_development_dependency('webmock', '~> 3.1')\n\n gem.required_ruby_version = '> 2.3'\n\n # ensure the gem is built out of versioned files\n gem.files = Dir[\n 'Rakefile',\n '{bin,lib,man,test,vendor,spec}/**/*',\n 'README*', 'LICENSE*'\n ] & `git ls-files -z`.split(\"\\0\")\nend\n",
96
+ "content": "# frozen_string_literal: true\n\nrequire File.expand_path('lib/licensee/version', __dir__)\n\nGem::Specification.new do |gem|\n gem.name = 'licensee'\n gem.version = Licensee::VERSION\n\n gem.summary = 'A Ruby Gem to detect open source project licenses'\n gem.description = <<-DESC\n Licensee automates the process of reading LICENSE files and\n compares their contents to known licenses using a fancy maths.\n DESC\n\n gem.authors = ['Ben Balter']\n gem.email = 'ben.balter@github.com'\n gem.homepage = 'https://github.com/benbalter/licensee'\n gem.license = 'MIT'\n\n gem.bindir = 'bin'\n gem.executables << 'licensee'\n\n gem.add_dependency('dotenv', '~> 2.0')\n gem.add_dependency('octokit', '~> 4.20')\n gem.add_dependency('reverse_markdown', '~> 1.0')\n gem.add_dependency('rugged', '>= 0.24', '<2.0')\n gem.add_dependency('thor', '>= 0.19', '< 2.0')\n\n gem.add_development_dependency('gem-release', '~> 2.0')\n gem.add_development_dependency('mustache', '>= 0.9', '< 2.0')\n gem.add_development_dependency('pry', '~> 0.9')\n gem.add_development_dependency('rspec', '~> 3.5')\n gem.add_development_dependency('rubocop', '~> 1.0')\n gem.add_development_dependency('rubocop-performance', '~> 1.5')\n gem.add_development_dependency('rubocop-rspec', '~> 2.0')\n gem.add_development_dependency('simplecov', '~> 0.16')\n gem.add_development_dependency('webmock', '~> 3.1')\n\n gem.required_ruby_version = '>= 2.5'\n\n # ensure the gem is built out of versioned files\n gem.files = Dir[\n '{bin,lib,man,test,vendor,spec}/**/*',\n 'README*', 'LICENSE*'\n ] & `git ls-files -z`.split(\"\\0\")\nend\n",
103
97
  "content_hash": null,
104
98
  "content_normalized": null,
105
99
  "matcher": {
@@ -0,0 +1,274 @@
1
+ European Union Public Licence
2
+ V. 1.2
3
+
4
+ EUPL © the European Union 2007, 2016
5
+
6
+ This European Union Public Licence (the ‘EUPL’) applies to the Work (as
7
+ defined below) which is provided under the terms of this Licence. Any use of
8
+ the Work, other than as authorised under this Licence is prohibited (to the
9
+ extent such use is covered by a right of the copyright holder of the Work).
10
+
11
+ The Work is provided under the terms of this Licence when the Licensor (as
12
+ defined below) has placed the following notice immediately following the
13
+ copyright notice for the Work: “Licensed under the EUPL”, or has expressed by
14
+ any other means his willingness to license under the EUPL.
15
+
16
+ 1. Definitions
17
+
18
+ In this Licence, the following terms have the following meaning:
19
+ — ‘The Licence’: this Licence.
20
+ — ‘The Original Work’: the work or software distributed or communicated by the
21
+ ‘Licensor under this Licence, available as Source Code and also as
22
+ ‘Executable Code as the case may be.
23
+ — ‘Derivative Works’: the works or software that could be created by the
24
+ ‘Licensee, based upon the Original Work or modifications thereof. This
25
+ ‘Licence does not define the extent of modification or dependence on the
26
+ ‘Original Work required in order to classify a work as a Derivative Work;
27
+ ‘this extent is determined by copyright law applicable in the country
28
+ ‘mentioned in Article 15.
29
+ — ‘The Work’: the Original Work or its Derivative Works.
30
+ — ‘The Source Code’: the human-readable form of the Work which is the most
31
+ convenient for people to study and modify.
32
+
33
+ — ‘The Executable Code’: any code which has generally been compiled and which
34
+ is meant to be interpreted by a computer as a program.
35
+ — ‘The Licensor’: the natural or legal person that distributes or communicates
36
+ the Work under the Licence.
37
+ — ‘Contributor(s)’: any natural or legal person who modifies the Work under
38
+ the Licence, or otherwise contributes to the creation of a Derivative Work.
39
+ — ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of
40
+ the Work under the terms of the Licence.
41
+ — ‘Distribution’ or ‘Communication’: any act of selling, giving, lending,
42
+ renting, distributing, communicating, transmitting, or otherwise making
43
+ available, online or offline, copies of the Work or providing access to its
44
+ essential functionalities at the disposal of any other natural or legal
45
+ person.
46
+
47
+ 2. Scope of the rights granted by the Licence
48
+
49
+ The Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
50
+ sublicensable licence to do the following, for the duration of copyright
51
+ vested in the Original Work:
52
+
53
+ — use the Work in any circumstance and for all usage,
54
+ — reproduce the Work,
55
+ — modify the Work, and make Derivative Works based upon the Work,
56
+ — communicate to the public, including the right to make available or display
57
+ the Work or copies thereof to the public and perform publicly, as the case
58
+ may be, the Work,
59
+ — distribute the Work or copies thereof,
60
+ — lend and rent the Work or copies thereof,
61
+ — sublicense rights in the Work or copies thereof.
62
+
63
+ Those rights can be exercised on any media, supports and formats, whether now
64
+ known or later invented, as far as the applicable law permits so.
65
+
66
+ In the countries where moral rights apply, the Licensor waives his right to
67
+ exercise his moral right to the extent allowed by law in order to make
68
+ effective the licence of the economic rights here above listed.
69
+
70
+ The Licensor grants to the Licensee royalty-free, non-exclusive usage rights
71
+ to any patents held by the Licensor, to the extent necessary to make use of
72
+ the rights granted on the Work under this Licence.
73
+
74
+ 3. Communication of the Source Code
75
+
76
+ The Licensor may provide the Work either in its Source Code form, or as
77
+ Executable Code. If the Work is provided as Executable Code, the Licensor
78
+ provides in addition a machine-readable copy of the Source Code of the Work
79
+ along with each copy of the Work that the Licensor distributes or indicates,
80
+ in a notice following the copyright notice attached to the Work, a repository
81
+ where the Source Code is easily and freely accessible for as long as the
82
+ Licensor continues to distribute or communicate the Work.
83
+
84
+ 4. Limitations on copyright
85
+
86
+ Nothing in this Licence is intended to deprive the Licensee of the benefits
87
+ from any exception or limitation to the exclusive rights of the rights owners
88
+ in the Work, of the exhaustion of those rights or of other applicable
89
+ limitations thereto.
90
+
91
+ 5. Obligations of the Licensee
92
+
93
+ The grant of the rights mentioned above is subject to some restrictions and
94
+ obligations imposed on the Licensee. Those obligations are the following:
95
+
96
+ Attribution right: The Licensee shall keep intact all copyright, patent or
97
+ trademarks notices and all notices that refer to the Licence and to the
98
+ disclaimer of warranties. The Licensee must include a copy of such notices and
99
+ a copy of the Licence with every copy of the Work he/she distributes or
100
+ communicates. The Licensee must cause any Derivative Work to carry prominent
101
+ notices stating that the Work has been modified and the date of modification.
102
+
103
+ Copyleft clause: If the Licensee distributes or communicates copies of the
104
+ Original Works or Derivative Works, this Distribution or Communication will be
105
+ done under the terms of this Licence or of a later version of this Licence
106
+ unless the Original Work is expressly distributed only under this version of
107
+ the Licence — for example by communicating ‘EUPL v. 1.2 only’. The Licensee
108
+ (becoming Licensor) cannot offer or impose any additional terms or conditions
109
+ on the Work or Derivative Work that alter or restrict the terms of the
110
+ Licence.
111
+
112
+ Compatibility clause: If the Licensee Distributes or Communicates Derivative
113
+ Works or copies thereof based upon both the Work and another work licensed
114
+ under a Compatible Licence, this Distribution or Communication can be done
115
+ under the terms of this Compatible Licence. For the sake of this clause,
116
+ ‘Compatible Licence’ refers to the licences listed in the appendix attached to
117
+ this Licence. Should the Licensee's obligations under the Compatible Licence
118
+ conflict with his/her obligations under this Licence, the obligations of the
119
+ Compatible Licence shall prevail.
120
+
121
+ Provision of Source Code: When distributing or communicating copies of the
122
+ Work, the Licensee will provide a machine-readable copy of the Source Code or
123
+ indicate a repository where this Source will be easily and freely available
124
+ for as long as the Licensee continues to distribute or communicate the Work.
125
+
126
+ Legal Protection: This Licence does not grant permission to use the trade
127
+ names, trademarks, service marks, or names of the Licensor, except as required
128
+ for reasonable and customary use in describing the origin of the Work and
129
+ reproducing the content of the copyright notice.
130
+
131
+ 6. Chain of Authorship
132
+
133
+ The original Licensor warrants that the copyright in the Original Work granted
134
+ hereunder is owned by him/her or licensed to him/her and that he/she has the
135
+ power and authority to grant the Licence.
136
+
137
+ Each Contributor warrants that the copyright in the modifications he/she
138
+ brings to the Work are owned by him/her or licensed to him/her and that he/she
139
+ has the power and authority to grant the Licence.
140
+
141
+ Each time You accept the Licence, the original Licensor and subsequent
142
+ Contributors grant You a licence to their contributions to the Work, under the
143
+ terms of this Licence.
144
+
145
+ 7. Disclaimer of Warranty
146
+
147
+ The Work is a work in progress, which is continuously improved by numerous
148
+ Contributors. It is not a finished work and may therefore contain defects or
149
+ ‘bugs’ inherent to this type of development.
150
+
151
+ For the above reason, the Work is provided under the Licence on an ‘as is’
152
+ basis and without warranties of any kind concerning the Work, including
153
+ without limitation merchantability, fitness for a particular purpose, absence
154
+ of defects or errors, accuracy, non-infringement of intellectual property
155
+ rights other than copyright as stated in Article 6 of this Licence.
156
+
157
+ This disclaimer of warranty is an essential part of the Licence and a
158
+ condition for the grant of any rights to the Work.
159
+
160
+ 8. Disclaimer of Liability
161
+
162
+ Except in the cases of wilful misconduct or damages directly caused to natural
163
+ persons, the Licensor will in no event be liable for any direct or indirect,
164
+ material or moral, damages of any kind, arising out of the Licence or of the
165
+ use of the Work, including without limitation, damages for loss of goodwill,
166
+ work stoppage, computer failure or malfunction, loss of data or any commercial
167
+ damage, even if the Licensor has been advised of the possibility of such
168
+ damage. However, the Licensor will be liable under statutory product liability
169
+ laws as far such laws apply to the Work.
170
+
171
+ 9. Additional agreements
172
+
173
+ While distributing the Work, You may choose to conclude an additional
174
+ agreement, defining obligations or services consistent with this Licence.
175
+ However, if accepting obligations, You may act only on your own behalf and on
176
+ your sole responsibility, not on behalf of the original Licensor or any other
177
+ Contributor, and only if You agree to indemnify, defend, and hold each
178
+ Contributor harmless for any liability incurred by, or claims asserted against
179
+ such Contributor by the fact You have accepted any warranty or additional
180
+ liability.
181
+
182
+ 10. Acceptance of the Licence
183
+
184
+ The provisions of this Licence can be accepted by clicking on an icon ‘I
185
+ agree’ placed under the bottom of a window displaying the text of this Licence
186
+ or by affirming consent in any other similar way, in accordance with the rules
187
+ of applicable law. Clicking on that icon indicates your clear and irrevocable
188
+ acceptance of this Licence and all of its terms and conditions.
189
+
190
+ Similarly, you irrevocably accept this Licence and all of its terms and
191
+ conditions by exercising any rights granted to You by Article 2 of this
192
+ Licence, such as the use of the Work, the creation by You of a Derivative Work
193
+ or the Distribution or Communication by You of the Work or copies thereof.
194
+
195
+ 11. Information to the public
196
+
197
+ In case of any Distribution or Communication of the Work by means of
198
+ electronic communication by You (for example, by offering to download the Work
199
+ from a remote location) the distribution channel or media (for example, a
200
+ website) must at least provide to the public the information requested by the
201
+ applicable law regarding the Licensor, the Licence and the way it may be
202
+ accessible, concluded, stored and reproduced by the Licensee.
203
+
204
+ 12. Termination of the Licence
205
+
206
+ The Licence and the rights granted hereunder will terminate automatically upon
207
+ any breach by the Licensee of the terms of the Licence. Such a termination
208
+ will not terminate the licences of any person who has received the Work from
209
+ the Licensee under the Licence, provided such persons remain in full
210
+ compliance with the Licence.
211
+
212
+ 13. Miscellaneous
213
+
214
+ Without prejudice of Article 9 above, the Licence represents the complete
215
+ agreement between the Parties as to the Work.
216
+
217
+ If any provision of the Licence is invalid or unenforceable under applicable
218
+ law, this will not affect the validity or enforceability of the Licence as a
219
+ whole. Such provision will be construed or reformed so as necessary to make it
220
+ valid and enforceable.
221
+
222
+ The European Commission may publish other linguistic versions or new versions
223
+ of this Licence or updated versions of the Appendix, so far this is required
224
+ and reasonable, without reducing the scope of the rights granted by the
225
+ Licence. New versions of the Licence will be published with a unique version
226
+ number.
227
+
228
+ All linguistic versions of this Licence, approved by the European Commission,
229
+ have identical value. Parties can take advantage of the linguistic version of
230
+ their choice.
231
+
232
+ 14. Jurisdiction
233
+
234
+ Without prejudice to specific agreement between parties,
235
+ — any litigation resulting from the interpretation of this License, arising
236
+ between the European Union institutions, bodies, offices or agencies, as a
237
+ Licensor, and any Licensee, will be subject to the jurisdiction of the Court
238
+ of Justice of the European Union, as laid down in article 272 of the Treaty
239
+ on the Functioning of the European Union,
240
+ — any litigation arising between other parties and resulting from the
241
+ interpretation of this License, will be subject to the exclusive
242
+ jurisdiction of the competent court where the Licensor resides or conducts
243
+ its primary business.
244
+
245
+ 15. Applicable Law
246
+
247
+ Without prejudice to specific agreement between parties,
248
+ — this Licence shall be governed by the law of the European Union Member State
249
+ where the Licensor has his seat, resides or has his registered office,
250
+ — this licence shall be governed by Belgian law if the Licensor has no seat,
251
+ residence or registered office inside a European Union Member State.
252
+
253
+ Appendix
254
+
255
+ ‘Compatible Licences’ according to Article 5 EUPL are:
256
+ — GNU General Public License (GPL) v. 2, v. 3
257
+ — GNU Affero General Public License (AGPL) v. 3
258
+ — Open Software License (OSL) v. 2.1, v. 3.0
259
+ — Eclipse Public License (EPL) v. 1.0
260
+ — CeCILL v. 2.0, v. 2.1
261
+ — Mozilla Public Licence (MPL) v. 2
262
+ — GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
263
+ — Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
264
+ works other than software
265
+ — European Union Public Licence (EUPL) v. 1.1, v. 1.2
266
+ — Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or
267
+ Strong Reciprocity (LiLiQ-R+)
268
+
269
+ — The European Commission may update this Appendix to later versions of the
270
+ above licences without producing a new version of the EUPL, as long as they
271
+ provide the rights granted in Article 2 of this Licence and protect the
272
+ covered Source Code from exclusive appropriation.
273
+ — All other changes or additions to this Appendix require the production of a
274
+ new EUPL version.
@@ -3,7 +3,15 @@
3
3
  apache-with-readme-notice:
4
4
  key: apache-2.0
5
5
  matcher: exact
6
- hash: ab3901051663cb8ee5dea9ebdff406ad136910e3
6
+ hash: bec905d850e7f5dc2e2db78a950d4a9db560a0b8
7
+ bom:
8
+ key: mit
9
+ matcher: exact
10
+ hash: 4c2c763d64bbc7ef2e58b0ec6d06d90cee9755c9
11
+ bsd-3-authorowner:
12
+ key: bsd-3-clause
13
+ matcher: dice
14
+ hash: 2e6f215833d1a3d10e6194d479dbb2b4be2f64d7
7
15
  bsd-3-lists:
8
16
  key: bsd-3-clause
9
17
  matcher:
@@ -11,7 +19,7 @@ bsd-3-lists:
11
19
  bsd-3-noendorseslash:
12
20
  key: bsd-3-clause
13
21
  matcher: dice
14
- hash: 11df3173c40b87a9da370f3420372a310259b273
22
+ hash: cc09daf7c96498abafdb708f3578654d6d5b2a3b
15
23
  bsd-plus-patents:
16
24
  key: other
17
25
  matcher:
@@ -19,7 +27,7 @@ bsd-plus-patents:
19
27
  bsl:
20
28
  key: bsl-1.0
21
29
  matcher: exact
22
- hash: ca8f916d00c234719956e932061f192abb2d5bf9
30
+ hash: 27e28f20b57048cf04be07e1532b6fb501a0753b
23
31
  case-sensitive:
24
32
  key: other
25
33
  matcher:
@@ -27,35 +35,51 @@ case-sensitive:
27
35
  cc-by-nc-sa:
28
36
  key: other
29
37
  matcher:
30
- hash: 5327932ea9cfee2d8d1ab7d5e088e868413eadea
38
+ hash: 2b2df1271efb79dcaf80f0828069b1c85da63eec
31
39
  cc-by-nd:
32
40
  key: other
33
41
  matcher:
34
- hash: a75ef554ca6941d195bbc1197f934d43a75b312d
42
+ hash: 4fb176dcd047bc77f15d7b42824d1a5793bdc865
43
+ cc-by-sa-mdlinks:
44
+ key: cc-by-sa-4.0
45
+ matcher: dice
46
+ hash: 4b0a634a0db5015914cbdde602672b2addfd66e9
47
+ cc-by-sa-nocclicensor:
48
+ key: cc-by-sa-4.0
49
+ matcher: dice
50
+ hash: 4f55d11c9d6fa6710a4c7b41bcbb801966283d45
35
51
  cc0-cal2013:
36
52
  key: cc0-1.0
37
53
  matcher: dice
38
- hash: 2aa555363d0d2ce0a924940fab198c38dd3ff30b
54
+ hash: 06f73ef48851a6f6d0bcd179faa65145c76d5562
39
55
  cc0-cc:
40
56
  key: cc0-1.0
41
57
  matcher: exact
42
- hash: c07f7fdd02072b9b9ddafb29c7fe556ed4d31f6a
58
+ hash: 94c8187ec82b2b4a69fb990f80833fbe6e3c95e7
43
59
  copyright-encoding:
44
60
  key: no-license
45
61
  matcher: copyright
46
62
  hash: da39a3ee5e6b4b0d3255bfef95601890afd80709
63
+ crlf-bsd:
64
+ key: bsd-3-clause
65
+ matcher: exact
66
+ hash: a961b19cc6921d510e29a13b0ba1a826fcffe41c
47
67
  crlf-license:
48
68
  key: gpl-3.0
49
69
  matcher: exact
50
- hash: b22f1b1f953a38a8a11686587b98831858d6468b
70
+ hash: 7d4cdf499d39e2e1ce27b2878e22872f0f5a74dd
51
71
  description-license:
52
72
  key: other
53
73
  matcher:
54
74
  hash: ab0fb718684bbc67c7dfc2e9ab2175dab4fcb819
75
+ eupl-cal2017:
76
+ key: eupl-1.2
77
+ matcher: exact
78
+ hash: 7425a276b011dea63591fe8876146f2451cfd777
55
79
  fcpl-modified-mpl:
56
80
  key: other
57
81
  matcher:
58
- hash: '06942321efd22b697fc4600bf68c0b6b3399cb12'
82
+ hash: 97b12cefc05cdb701e4ae9a59e7c11f25cdb8edc
59
83
  gemspec:
60
84
  key:
61
85
  matcher:
@@ -63,15 +87,15 @@ gemspec:
63
87
  gpl3-without-instructions:
64
88
  key: gpl-3.0
65
89
  matcher: exact
66
- hash: b22f1b1f953a38a8a11686587b98831858d6468b
90
+ hash: 7d4cdf499d39e2e1ce27b2878e22872f0f5a74dd
67
91
  html:
68
92
  key: epl-1.0
69
93
  matcher: dice
70
- hash: 5265922b5943810a3ad23c66c50a0828ba342bfd
94
+ hash: cc33ea9c29348d147e633c02c5696e76c722b00e
71
95
  lgpl:
72
96
  key: lgpl-3.0
73
97
  matcher: exact
74
- hash: bdb3c042bd84f914eacfbe4977c5e58352745809
98
+ hash: 2f434698bab479f8f6c5043f2796767287f40495
75
99
  license-folder:
76
100
  key:
77
101
  matcher:
@@ -79,23 +103,27 @@ license-folder:
79
103
  license-in-parent-folder:
80
104
  key: mit
81
105
  matcher: exact
82
- hash: d64f3bb4282a97b37454b5bb96a8a264a3363dc3
106
+ hash: 4c2c763d64bbc7ef2e58b0ec6d06d90cee9755c9
83
107
  license-with-readme-reference:
84
108
  key: mit
85
109
  matcher: exact
86
- hash: d64f3bb4282a97b37454b5bb96a8a264a3363dc3
110
+ hash: 4c2c763d64bbc7ef2e58b0ec6d06d90cee9755c9
111
+ markdown-artistic:
112
+ key: artistic-2.0
113
+ matcher: dice
114
+ hash: 2c21400d21cbcc827e039eeea73cf95bc42183dd
87
115
  markdown-gpl:
88
116
  key: gpl-2.0
89
- matcher: dice
90
- hash: a0de4ee2a7e6ef2c2f6283b09cc755af5de5a5cb
117
+ matcher: exact
118
+ hash: 74e2c1e8b8ff13e284dd222f214b79e9f4d3590b
91
119
  mit:
92
120
  key: mit
93
121
  matcher: exact
94
- hash: d64f3bb4282a97b37454b5bb96a8a264a3363dc3
122
+ hash: 4c2c763d64bbc7ef2e58b0ec6d06d90cee9755c9
95
123
  mit-optional:
96
124
  key: mit
97
125
  matcher: exact
98
- hash: d64f3bb4282a97b37454b5bb96a8a264a3363dc3
126
+ hash: 4c2c763d64bbc7ef2e58b0ec6d06d90cee9755c9
99
127
  mit-with-copyright:
100
128
  key: mit
101
129
  matcher:
@@ -103,23 +131,35 @@ mit-with-copyright:
103
131
  mpl-without-hrs:
104
132
  key: mpl-2.0
105
133
  matcher: exact
106
- hash: b4db668fa7573bfdcae74eb51eafc961034f0a61
134
+ hash: 820048a1dbef5dfac65547bd9eb935beb76b2257
107
135
  multiple-arrs:
108
136
  key: bsd-3-clause
109
137
  matcher: exact
110
- hash: fa22c672927af9c7334874561198799cbf4bdf31
138
+ hash: a961b19cc6921d510e29a13b0ba1a826fcffe41c
111
139
  multiple-license-files:
112
140
  key: other
113
141
  matcher:
114
142
  hash:
143
+ pixar-modified-apache:
144
+ key: other
145
+ matcher:
146
+ hash: efb005bb5924d60314b2aaedb4fceef92c5d5631
115
147
  readme:
116
148
  key: mit
117
149
  matcher:
118
150
  hash:
151
+ readme-invalid-encoding:
152
+ key: mit
153
+ matcher:
154
+ hash:
119
155
  unlicense-noinfo:
120
156
  key: unlicense
121
157
  matcher: exact
122
- hash: 853b375edc61b9e823da0fa5fead97c9460c3e45
158
+ hash: 859a7d829d402dd6e047293d87979dacc1b88f37
159
+ vim:
160
+ key: vim
161
+ matcher: dice
162
+ hash: 6e1bfd854c9ad8626d61367ccfecc9f96e54ce92
123
163
  webmock:
124
164
  key:
125
165
  matcher:
@@ -127,4 +167,4 @@ webmock:
127
167
  wrk-modified-apache:
128
168
  key: other
129
169
  matcher:
130
- hash: e733ea59fcc053841df5a1a3574a298d9ee3635e
170
+ hash: '09df4f164a92a0464452178cf1e4eb58c3f25c01'