licensee 9.10.1 → 9.13.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +5 -4
  4. data/lib/licensee.rb +7 -5
  5. data/lib/licensee/commands/detect.rb +7 -5
  6. data/lib/licensee/commands/diff.rb +7 -8
  7. data/lib/licensee/commands/license_path.rb +2 -0
  8. data/lib/licensee/commands/version.rb +2 -0
  9. data/lib/licensee/content_helper.rb +230 -85
  10. data/lib/licensee/hash_helper.rb +7 -5
  11. data/lib/licensee/license.rb +21 -22
  12. data/lib/licensee/license_field.rb +3 -1
  13. data/lib/licensee/license_meta.rb +2 -0
  14. data/lib/licensee/license_rules.rb +2 -0
  15. data/lib/licensee/matchers.rb +2 -0
  16. data/lib/licensee/matchers/cabal.rb +16 -2
  17. data/lib/licensee/matchers/cargo.rb +3 -1
  18. data/lib/licensee/matchers/copyright.rb +6 -4
  19. data/lib/licensee/matchers/cran.rb +5 -3
  20. data/lib/licensee/matchers/dice.rb +6 -4
  21. data/lib/licensee/matchers/dist_zilla.rb +3 -1
  22. data/lib/licensee/matchers/exact.rb +2 -0
  23. data/lib/licensee/matchers/gemspec.rb +7 -5
  24. data/lib/licensee/matchers/matcher.rb +3 -1
  25. data/lib/licensee/matchers/npm_bower.rb +3 -1
  26. data/lib/licensee/matchers/package.rb +2 -0
  27. data/lib/licensee/matchers/reference.rb +3 -1
  28. data/lib/licensee/matchers/spdx.rb +3 -1
  29. data/lib/licensee/project_files.rb +2 -0
  30. data/lib/licensee/project_files/license_file.rb +12 -10
  31. data/lib/licensee/project_files/package_manager_file.rb +2 -0
  32. data/lib/licensee/project_files/project_file.rb +12 -5
  33. data/lib/licensee/project_files/readme_file.rb +5 -3
  34. data/lib/licensee/projects.rb +2 -0
  35. data/lib/licensee/projects/fs_project.rb +9 -2
  36. data/lib/licensee/projects/git_project.rb +19 -11
  37. data/lib/licensee/projects/github_project.rb +3 -1
  38. data/lib/licensee/projects/project.rb +7 -5
  39. data/lib/licensee/rule.rb +2 -0
  40. data/lib/licensee/version.rb +3 -1
  41. data/licensee.gemspec +45 -0
  42. data/spec/bin_spec.rb +3 -1
  43. data/spec/fixture_spec.rb +46 -0
  44. data/spec/fixtures/bsd-3-noendorseslash/LICENSE +30 -0
  45. data/spec/fixtures/cc0-cal2013/LICENSE +116 -0
  46. data/spec/fixtures/cc0-cc/LICENSE +121 -0
  47. data/spec/fixtures/detect.json +10 -8
  48. data/spec/fixtures/fixtures.yml +134 -0
  49. data/spec/fixtures/html/license.html +262 -0
  50. data/spec/fixtures/license-hashes.json +41 -0
  51. data/spec/fixtures/mit-optional/LICENSE.txt +21 -0
  52. data/spec/fixtures/multiple-arrs/LICENSE +30 -0
  53. data/spec/fixtures/readme-invalid-encoding/README.md +24 -0
  54. data/spec/fixtures/unlicense-noinfo/LICENSE +22 -0
  55. data/spec/integration_spec.rb +68 -2
  56. data/spec/licensee/commands/detect_spec.rb +11 -7
  57. data/spec/licensee/commands/license_path_spec.rb +3 -1
  58. data/spec/licensee/commands/version_spec.rb +3 -1
  59. data/spec/licensee/content_helper_spec.rb +185 -67
  60. data/spec/licensee/hash_helper_spec.rb +3 -1
  61. data/spec/licensee/license_field_spec.rb +5 -3
  62. data/spec/licensee/license_meta_spec.rb +16 -12
  63. data/spec/licensee/license_rules_spec.rb +6 -2
  64. data/spec/licensee/license_spec.rb +37 -35
  65. data/spec/licensee/matchers/cabal_matcher_spec.rb +97 -2
  66. data/spec/licensee/matchers/cargo_matcher_spec.rb +5 -2
  67. data/spec/licensee/matchers/copyright_matcher_spec.rb +7 -5
  68. data/spec/licensee/matchers/cran_matcher_spec.rb +5 -2
  69. data/spec/licensee/matchers/dice_matcher_spec.rb +15 -12
  70. data/spec/licensee/matchers/dist_zilla_matcher_spec.rb +5 -2
  71. data/spec/licensee/matchers/exact_matcher_spec.rb +5 -2
  72. data/spec/licensee/matchers/gemspec_matcher_spec.rb +5 -2
  73. data/spec/licensee/matchers/matcher_spec.rb +6 -2
  74. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +5 -3
  75. data/spec/licensee/matchers/package_matcher_spec.rb +6 -2
  76. data/spec/licensee/matchers/reference_matcher_spec.rb +4 -2
  77. data/spec/licensee/matchers/spdx_matcher_spec.rb +5 -2
  78. data/spec/licensee/project_files/license_file_spec.rb +20 -18
  79. data/spec/licensee/project_files/package_info_spec.rb +5 -1
  80. data/spec/licensee/project_files/project_file_spec.rb +8 -2
  81. data/spec/licensee/project_files/readme_file_spec.rb +4 -1
  82. data/spec/licensee/project_spec.rb +24 -17
  83. data/spec/licensee/projects/git_project_spec.rb +23 -0
  84. data/spec/licensee/projects/github_project_spec.rb +8 -5
  85. data/spec/licensee/rule_spec.rb +6 -3
  86. data/spec/licensee_spec.rb +12 -9
  87. data/spec/spec_helper.rb +27 -9
  88. data/spec/vendored_license_spec.rb +29 -10
  89. data/vendor/choosealicense.com/_data/meta.yml +0 -4
  90. data/vendor/choosealicense.com/_data/rules.yml +3 -0
  91. data/vendor/choosealicense.com/_licenses/0bsd.txt +39 -0
  92. data/vendor/choosealicense.com/_licenses/afl-3.0.txt +7 -6
  93. data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +0 -1
  94. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -2
  95. data/vendor/choosealicense.com/_licenses/artistic-2.0.txt +1 -2
  96. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +8 -6
  97. data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +2 -2
  98. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +12 -10
  99. data/vendor/choosealicense.com/_licenses/bsd-4-clause.txt +61 -0
  100. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +5 -2
  101. data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +16 -14
  102. data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +16 -14
  103. data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +113 -105
  104. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +579 -0
  105. data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +1 -2
  106. data/vendor/choosealicense.com/_licenses/epl-1.0.txt +1 -2
  107. data/vendor/choosealicense.com/_licenses/epl-2.0.txt +3 -4
  108. data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +0 -1
  109. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +0 -1
  110. data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +0 -1
  111. data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +1 -2
  112. data/vendor/choosealicense.com/_licenses/isc.txt +2 -3
  113. data/vendor/choosealicense.com/_licenses/lgpl-2.1.txt +0 -1
  114. data/vendor/choosealicense.com/_licenses/lgpl-3.0.txt +1 -3
  115. data/vendor/choosealicense.com/_licenses/lppl-1.3c.txt +1 -2
  116. data/vendor/choosealicense.com/_licenses/mit.txt +1 -2
  117. data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +0 -1
  118. data/vendor/choosealicense.com/_licenses/ms-pl.txt +0 -1
  119. data/vendor/choosealicense.com/_licenses/ms-rl.txt +0 -1
  120. data/vendor/choosealicense.com/_licenses/ncsa.txt +21 -22
  121. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +573 -0
  122. data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +4 -2
  123. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +1 -2
  124. data/vendor/choosealicense.com/_licenses/postgresql.txt +4 -5
  125. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -2
  126. data/vendor/choosealicense.com/_licenses/upl-1.0.txt +4 -5
  127. data/vendor/choosealicense.com/_licenses/vim.txt +111 -0
  128. data/vendor/choosealicense.com/_licenses/wtfpl.txt +0 -1
  129. data/vendor/choosealicense.com/_licenses/zlib.txt +4 -2
  130. metadata +79 -28
@@ -2,15 +2,17 @@
2
2
  title: SIL Open Font License 1.1
3
3
  spdx-id: OFL-1.1
4
4
  redirect_from: /licenses/ofl/
5
- source: http://scripts.sil.org/OFL_web
6
5
 
7
6
  description: The Open Font License (OFL) is maintained by SIL International. It attempts to be a compromise between the values of the free software and typeface design communities. It is used for almost all open source font projects, including those by Adobe, Google and Mozilla.
8
7
 
9
- how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your font source and copy the text of the license into the file. Replace [year] with the current year and [fullname] ([email]) with the name and contact email address of each copyright holder. You may take the additional step of appending a Reserved Font Name notice. This option requires anyone making modifications to change the font's name, and is not ideal for web fonts (which all users will modify by changing formats and subsetting for their own needs.)
8
+ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your font's source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] ([email]) with the name and contact email address of each copyright holder. You may take the additional step of appending a Reserved Font Name notice. This option requires anyone making modifications to change the font's name, and is not ideal for web fonts (which all users will modify by changing formats and subsetting for their own needs.)
10
9
 
11
10
  note: This license doesn't require source provision, but recommends it. All files derived from OFL files must remain licensed under the OFL.
12
11
 
13
12
  using:
13
+ - FiraCode: https://github.com/tonsky/FiraCode/blob/master/LICENSE
14
+ - Noto fonts: https://github.com/googlefonts/noto-fonts/blob/master/LICENSE
15
+ - Fantasque Sans Mono: https://github.com/belluzj/fantasque-sans/blob/master/LICENSE.txt
14
16
 
15
17
  permissions:
16
18
  - private-use
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  title: Open Software License 3.0
3
3
  spdx-id: OSL-3.0
4
- source: https://opensource.org/licenses/OSL-3.0
5
4
 
6
5
  description: OSL 3.0 is a copyleft license that does not require reciprocal licensing on linked works. It also provides an express grant of patent rights from contributors to users, with a termination clause triggered if a user files a patent infringement lawsuit.
7
6
 
@@ -35,7 +34,7 @@ limitations:
35
34
 
36
35
  ---
37
36
 
38
- Open Software License ("OSL") v 3.0
37
+ Open Software License ("OSL") v. 3.0
39
38
 
40
39
  This Open Software License (the "License") applies to any original work of
41
40
  authorship (the "Original Work") whose owner (the "Licensor") has placed the
@@ -1,14 +1,13 @@
1
1
  ---
2
2
  title: PostgreSQL License
3
3
  spdx-id: PostgreSQL
4
- source: https://opensource.org/licenses/PostgreSQL
5
4
 
6
- description: A very short, BSD-style license, used specifically for PostgreSQL.
5
+ description: A very short, BSD-style license, used specifically for PostgreSQL.
7
6
 
8
- how: To use it, say that it is The PostgreSQL License, and then substitute the copyright year and name of the copyright holder into the body of the license. Then put the license into a prominent file ("COPYRIGHT", "LICENSE" or "COPYING" are common names for this file) in your software distribution.
7
+ 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.
9
8
 
10
9
  using:
11
- - pgBadger: https://github.com/dalibo/pgbadger/blob/master/LICENSE
10
+ - pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
12
11
  - pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
13
12
  - .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
14
13
 
@@ -27,7 +26,7 @@ limitations:
27
26
 
28
27
  ---
29
28
 
30
- PostgreSQL Licence
29
+ PostgreSQL License
31
30
 
32
31
  Copyright (c) [year], [fullname]
33
32
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  title: The Unlicense
3
3
  spdx-id: Unlicense
4
- source: https://unlicense.org/UNLICENSE
5
4
  hidden: false
6
5
 
7
6
  description: A license with no conditions whatsoever which dedicates works to the public domain. Unlicensed works, modifications, and larger works may be distributed under different terms and without source code.
@@ -50,4 +49,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
50
49
  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
51
50
  OTHER DEALINGS IN THE SOFTWARE.
52
51
 
53
- For more information, please refer to <http://unlicense.org>
52
+ For more information, please refer to <https://unlicense.org>
@@ -1,18 +1,17 @@
1
1
  ---
2
2
  title: Universal Permissive License v1.0
3
3
  spdx-id: UPL-1.0
4
- source: https://oss.oracle.com/licenses/upl/
5
4
 
6
5
  description: A permissive, OSI and FSF approved, GPL compatible license, expressly allowing attribution with just a copyright notice and a short form link rather than the full text of the license. Includes an express grant of patent rights. Licensed works and modifications may be distributed under different terms and without source code, and the patent grant may also optionally be expanded to larger works to permit use as a contributor license agreement.
7
6
 
8
- how: Insert the license or a link to it along with a copyright notice into your source file(s), and/or create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license and your copyright notice into the file.
7
+ how: Insert the license or a link to it along with a copyright notice into your source file(s), and/or 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, replacing [year] with the current year and [fullname] with the name (or names) of the copyright holders.
9
8
 
10
9
  note: It is recommended to add a link to the license and copyright notice at the top of each source file, example text can be found at https://oss.oracle.com/licenses/upl/.
11
10
 
12
11
  using:
13
- - WebLogic Kubernetes Operator: https://github.com/oracle/weblogic-kubernetes-operator/blob/master/LICENSE
14
- - Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
15
12
  - Oracle Product Boxes for Vagrant: https://github.com/oracle/vagrant-boxes/blob/master/LICENSE
13
+ - Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
14
+ - Skater: https://github.com/oracle/Skater/blob/master/LICENSE
16
15
 
17
16
  permissions:
18
17
  - commercial-use
@@ -35,7 +34,7 @@ Copyright (c) [year] [fullname]
35
34
  The Universal Permissive License (UPL), Version 1.0
36
35
 
37
36
  Subject to the condition set forth below, permission is hereby granted to any
38
- person obtaining a copy of this software, associate documentation and/or data
37
+ person obtaining a copy of this software, associated documentation and/or data
39
38
  (collectively the "Software"), free of charge and under any and all copyright
40
39
  rights in the Software, and any and all patent rights owned or freely
41
40
  licensable by each licensor hereunder covering either (i) the unmodified
@@ -0,0 +1,111 @@
1
+ ---
2
+ title: Vim License
3
+ spdx-id: Vim
4
+
5
+ description: There are no restrictions on using or distributing an unmodified copy of the software. Parts of the software may also be distributed, but the license text must always be included. For modified versions a few restrictions apply. The license is GPL compatible, you may compile the software with GPL libraries and distribute it.
6
+
7
+ 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 [project] with the project name.
8
+
9
+ using:
10
+ - Vim: https://github.com/vim/vim/blob/master/LICENSE
11
+ - Pathogen: https://github.com/tpope/vim-pathogen/blob/master/LICENSE
12
+ - vim-license-gen: https://github.com/othree/vim-license/blob/master/LICENSE
13
+
14
+ permissions:
15
+ - commercial-use
16
+ - modifications
17
+ - distribution
18
+ - private-use
19
+
20
+ conditions:
21
+ - include-copyright
22
+ - document-changes
23
+ - disclose-source
24
+ - same-license
25
+
26
+ limitations: []
27
+
28
+ ---
29
+
30
+ VIM LICENSE
31
+
32
+ I) There are no restrictions on distributing unmodified copies of [project]
33
+ except that they must include this license text. You can also distribute
34
+ unmodified parts of [project], likewise unrestricted except that they must
35
+ include this license text. You are also allowed to include executables
36
+ that you made from the unmodified [project] sources, plus your own usage
37
+ examples and Vim scripts.
38
+
39
+ II) It is allowed to distribute a modified (or extended) version of [project],
40
+ including executables and/or source code, when the following four
41
+ conditions are met:
42
+ 1) This license text must be included unmodified.
43
+ 2) The modified [project] must be distributed in one of the following five
44
+ ways:
45
+ a) If you make changes to [project] yourself, you must clearly describe
46
+ in the distribution how to contact you. When the maintainer asks
47
+ you (in any way) for a copy of the modified [project] you
48
+ distributed, you must make your changes, including source code,
49
+ available to the maintainer without fee. The maintainer reserves
50
+ the right to include your changes in the official version of
51
+ [project]. What the maintainer will do with your changes and under
52
+ what license they will be distributed is negotiable. If there has
53
+ been no negotiation then this license, or a later version, also
54
+ applies to your changes. The current maintainer is Bram Moolenaar
55
+ <Bram@vim.org>. If this changes it will be announced in appropriate
56
+ places (most likely vim.sf.net, www.vim.org and/or comp.editors).
57
+ When it is completely impossible to contact the maintainer, the
58
+ obligation to send him your changes ceases. Once the maintainer has
59
+ confirmed that he has received your changes they will not have to be
60
+ sent again.
61
+ b) If you have received a modified [project] that was distributed as
62
+ mentioned under a) you are allowed to further distribute it
63
+ unmodified, as mentioned at I). If you make additional changes the
64
+ text under a) applies to those changes.
65
+ c) Provide all the changes, including source code, with every copy of
66
+ the modified [project] you distribute. This may be done in the form
67
+ of a context diff. You can choose what license to use for new code
68
+ you add. The changes and their license must not restrict others
69
+ from making their own changes to the official version of [project].
70
+ d) When you have a modified [project] which includes changes as
71
+ mentioned under c), you can distribute it without the source code
72
+ for the changes if the following three conditions are met:
73
+ - The license that applies to the changes permits you to distribute
74
+ the changes to the Vim maintainer without fee or restriction, and
75
+ permits the Vim maintainer to include the changes in the official
76
+ version of [project] without fee or restriction.
77
+ - You keep the changes for at least three years after last
78
+ distributing the corresponding modified [project]. When the
79
+ maintainer or someone who you distributed the modified [project]
80
+ to asks you (in any way) for the changes within this period, you
81
+ must make them available to him.
82
+ - You clearly describe in the distribution how to contact you. This
83
+ contact information must remain valid for at least three years
84
+ after last distributing the corresponding modified [project], or
85
+ as long as possible.
86
+ e) When the GNU General Public License (GPL) applies to the changes,
87
+ you can distribute the modified [project] under the GNU GPL version
88
+ 2 or any later version.
89
+ 3) A message must be added, at least in the output of the ":version"
90
+ command and in the intro screen, such that the user of the modified
91
+ [project] is able to see that it was modified. When distributing as
92
+ mentioned under 2)e) adding the message is only required for as far as
93
+ this does not conflict with the license used for the changes.
94
+ 4) The contact information as required under 2)a) and 2)d) must not be
95
+ removed or changed, except that the person himself can make
96
+ corrections.
97
+
98
+ III) If you distribute a modified version of [project], you are encouraged to
99
+ use the Vim license for your changes and make them available to the
100
+ maintainer, including the source code. The preferred way to do this is
101
+ by e-mail or by uploading the files to a server and e-mailing the URL. If
102
+ the number of changes is small (e.g., a modified Makefile) e-mailing a
103
+ context diff will do. The e-mail address to be used is
104
+ <maintainer@vim.org>
105
+
106
+ IV) It is not allowed to remove this license from the distribution of the
107
+ [project] sources, parts of it or from a modified version. You may use
108
+ this license for previous [project] releases instead of the license that
109
+ they came with, at your option.
110
+
111
+
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  title: "Do What The F*ck You Want To Public License"
3
3
  spdx-id: WTFPL
4
- source: http://www.wtfpl.net/txt/copying/
5
4
 
6
5
  description: The easiest license out there. It gives the user permissions to do whatever they want with your code.
7
6
 
@@ -1,13 +1,15 @@
1
1
  ---
2
2
  title: zlib License
3
3
  spdx-id: Zlib
4
- source: https://opensource.org/licenses/Zlib
5
4
 
6
5
  description: A short permissive license, compatible with GPL. Requires altered source versions to be documented as such.
7
6
 
8
7
  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.
9
8
 
10
9
  using:
10
+ - GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
11
+ - Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
12
+ - TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
11
13
 
12
14
  permissions:
13
15
  - commercial-use
@@ -16,7 +18,7 @@ permissions:
16
18
  - private-use
17
19
 
18
20
  conditions:
19
- - include-copyright
21
+ - include-copyright--source
20
22
  - document-changes
21
23
 
22
24
  limitations:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: licensee
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.10.1
4
+ version: 9.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-09 00:00:00.000000000 Z
11
+ date: 2020-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -30,56 +30,62 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.8.0
33
+ version: '4.17'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 4.8.0
40
+ version: '4.17'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rugged
42
+ name: reverse_markdown
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.24'
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.24'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: thor
56
+ name: rugged
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.19'
61
+ version: '0.24'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.19'
68
+ version: '0.24'
69
69
  - !ruby/object:Gem::Dependency
70
- name: coveralls
70
+ name: thor
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0.8'
76
- type: :development
75
+ version: '0.19'
76
+ - - "<"
77
+ - !ruby/object:Gem::Version
78
+ version: '2.0'
79
+ type: :runtime
77
80
  prerelease: false
78
81
  version_requirements: !ruby/object:Gem::Requirement
79
82
  requirements:
80
- - - "~>"
83
+ - - ">="
81
84
  - !ruby/object:Gem::Version
82
- version: '0.8'
85
+ version: '0.19'
86
+ - - "<"
87
+ - !ruby/object:Gem::Version
88
+ version: '2.0'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: mustache
85
91
  requirement: !ruby/object:Gem::Requirement
@@ -115,47 +121,75 @@ dependencies:
115
121
  - !ruby/object:Gem::Version
116
122
  version: '0.9'
117
123
  - !ruby/object:Gem::Dependency
118
- name: rake
124
+ name: rspec
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '3.5'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - "~>"
135
+ - !ruby/object:Gem::Version
136
+ version: '3.5'
137
+ - !ruby/object:Gem::Dependency
138
+ name: rubocop
119
139
  requirement: !ruby/object:Gem::Requirement
120
140
  requirements:
121
141
  - - "~>"
122
142
  - !ruby/object:Gem::Version
123
- version: '10.3'
143
+ version: '0.80'
124
144
  type: :development
125
145
  prerelease: false
126
146
  version_requirements: !ruby/object:Gem::Requirement
127
147
  requirements:
128
148
  - - "~>"
129
149
  - !ruby/object:Gem::Version
130
- version: '10.3'
150
+ version: '0.80'
131
151
  - !ruby/object:Gem::Dependency
132
- name: rspec
152
+ name: rubocop-performance
133
153
  requirement: !ruby/object:Gem::Requirement
134
154
  requirements:
135
155
  - - "~>"
136
156
  - !ruby/object:Gem::Version
137
- version: '3.5'
157
+ version: '1.5'
138
158
  type: :development
139
159
  prerelease: false
140
160
  version_requirements: !ruby/object:Gem::Requirement
141
161
  requirements:
142
162
  - - "~>"
143
163
  - !ruby/object:Gem::Version
144
- version: '3.5'
164
+ version: '1.5'
145
165
  - !ruby/object:Gem::Dependency
146
- name: rubocop
166
+ name: rubocop-rspec
167
+ requirement: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '1.36'
172
+ type: :development
173
+ prerelease: false
174
+ version_requirements: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - "~>"
177
+ - !ruby/object:Gem::Version
178
+ version: '1.36'
179
+ - !ruby/object:Gem::Dependency
180
+ name: simplecov
147
181
  requirement: !ruby/object:Gem::Requirement
148
182
  requirements:
149
183
  - - "~>"
150
184
  - !ruby/object:Gem::Version
151
- version: '0.49'
185
+ version: '0.16'
152
186
  type: :development
153
187
  prerelease: false
154
188
  version_requirements: !ruby/object:Gem::Requirement
155
189
  requirements:
156
190
  - - "~>"
157
191
  - !ruby/object:Gem::Version
158
- version: '0.49'
192
+ version: '0.16'
159
193
  - !ruby/object:Gem::Dependency
160
194
  name: webmock
161
195
  requirement: !ruby/object:Gem::Requirement
@@ -218,43 +252,55 @@ files:
218
252
  - lib/licensee/projects/project.rb
219
253
  - lib/licensee/rule.rb
220
254
  - lib/licensee/version.rb
255
+ - licensee.gemspec
221
256
  - spec/bin_spec.rb
257
+ - spec/fixture_spec.rb
222
258
  - spec/fixtures/apache-with-readme-notice/LICENSE
223
259
  - spec/fixtures/apache-with-readme-notice/LICENSE.header
224
260
  - spec/fixtures/apache-with-readme-notice/README.md
225
261
  - spec/fixtures/bsd-3-lists/LICENSE.BULLETS
226
262
  - spec/fixtures/bsd-3-lists/LICENSE.NUMBERS
263
+ - spec/fixtures/bsd-3-noendorseslash/LICENSE
227
264
  - spec/fixtures/bsd-plus-patents/PATENTS
228
265
  - spec/fixtures/bsd-plus-patents/license.txt
229
266
  - spec/fixtures/bsl/LICENSE_1_0.txt
230
267
  - spec/fixtures/case-sensitive/LiCeNsE.TxT
231
268
  - spec/fixtures/cc-by-nc-sa/LICENSE
232
269
  - spec/fixtures/cc-by-nd/LICENSE
270
+ - spec/fixtures/cc0-cal2013/LICENSE
271
+ - spec/fixtures/cc0-cc/LICENSE
233
272
  - spec/fixtures/copyright-encoding/COPYING
234
273
  - spec/fixtures/crlf-license/LICENSE
235
274
  - spec/fixtures/description-license/DESCRIPTION
236
275
  - spec/fixtures/description-license/LICENSE
237
276
  - spec/fixtures/detect.json
238
277
  - spec/fixtures/fcpl-modified-mpl/LICENSE
278
+ - spec/fixtures/fixtures.yml
239
279
  - spec/fixtures/gemspec/project._gemspec
240
280
  - spec/fixtures/gpl3-without-instructions/LICENSE
281
+ - spec/fixtures/html/license.html
241
282
  - spec/fixtures/ipsum.txt
242
283
  - spec/fixtures/lgpl/COPYING.lesser
243
284
  - spec/fixtures/lgpl/LICENSE
244
285
  - spec/fixtures/license-folder/README.md
286
+ - spec/fixtures/license-hashes.json
245
287
  - spec/fixtures/license-in-parent-folder/LICENSE.txt
246
288
  - spec/fixtures/license-in-parent-folder/license-folder/LICENSE.txt
247
289
  - spec/fixtures/license-with-readme-reference/LICENSE
248
290
  - spec/fixtures/license-with-readme-reference/README
249
291
  - spec/fixtures/markdown-gpl/LICENSE.md
292
+ - spec/fixtures/mit-optional/LICENSE.txt
250
293
  - spec/fixtures/mit-with-copyright/COPYRIGHT.md
251
294
  - spec/fixtures/mit-with-copyright/LICENSE.txt
252
295
  - spec/fixtures/mit/LICENSE.txt
253
296
  - spec/fixtures/mit/README.md
254
297
  - spec/fixtures/mpl-without-hrs/LICENSE
298
+ - spec/fixtures/multiple-arrs/LICENSE
255
299
  - spec/fixtures/multiple-license-files/LICENSE
256
300
  - spec/fixtures/multiple-license-files/LICENSE.txt
301
+ - spec/fixtures/readme-invalid-encoding/README.md
257
302
  - spec/fixtures/readme/README.md
303
+ - spec/fixtures/unlicense-noinfo/LICENSE
258
304
  - spec/fixtures/webmock/licensee.json
259
305
  - spec/fixtures/wrk-modified-apache/LICENSE
260
306
  - spec/integration_spec.rb
@@ -285,6 +331,7 @@ files:
285
331
  - spec/licensee/project_files/project_file_spec.rb
286
332
  - spec/licensee/project_files/readme_file_spec.rb
287
333
  - spec/licensee/project_spec.rb
334
+ - spec/licensee/projects/git_project_spec.rb
288
335
  - spec/licensee/projects/github_project_spec.rb
289
336
  - spec/licensee/rule_spec.rb
290
337
  - spec/licensee_spec.rb
@@ -293,6 +340,7 @@ files:
293
340
  - vendor/choosealicense.com/_data/fields.yml
294
341
  - vendor/choosealicense.com/_data/meta.yml
295
342
  - vendor/choosealicense.com/_data/rules.yml
343
+ - vendor/choosealicense.com/_licenses/0bsd.txt
296
344
  - vendor/choosealicense.com/_licenses/afl-3.0.txt
297
345
  - vendor/choosealicense.com/_licenses/agpl-3.0.txt
298
346
  - vendor/choosealicense.com/_licenses/apache-2.0.txt
@@ -300,10 +348,12 @@ files:
300
348
  - vendor/choosealicense.com/_licenses/bsd-2-clause.txt
301
349
  - vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt
302
350
  - vendor/choosealicense.com/_licenses/bsd-3-clause.txt
351
+ - vendor/choosealicense.com/_licenses/bsd-4-clause.txt
303
352
  - vendor/choosealicense.com/_licenses/bsl-1.0.txt
304
353
  - vendor/choosealicense.com/_licenses/cc-by-4.0.txt
305
354
  - vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt
306
355
  - vendor/choosealicense.com/_licenses/cc0-1.0.txt
356
+ - vendor/choosealicense.com/_licenses/cecill-2.1.txt
307
357
  - vendor/choosealicense.com/_licenses/ecl-2.0.txt
308
358
  - vendor/choosealicense.com/_licenses/epl-1.0.txt
309
359
  - vendor/choosealicense.com/_licenses/epl-2.0.txt
@@ -320,11 +370,13 @@ files:
320
370
  - vendor/choosealicense.com/_licenses/ms-pl.txt
321
371
  - vendor/choosealicense.com/_licenses/ms-rl.txt
322
372
  - vendor/choosealicense.com/_licenses/ncsa.txt
373
+ - vendor/choosealicense.com/_licenses/odbl-1.0.txt
323
374
  - vendor/choosealicense.com/_licenses/ofl-1.1.txt
324
375
  - vendor/choosealicense.com/_licenses/osl-3.0.txt
325
376
  - vendor/choosealicense.com/_licenses/postgresql.txt
326
377
  - vendor/choosealicense.com/_licenses/unlicense.txt
327
378
  - vendor/choosealicense.com/_licenses/upl-1.0.txt
379
+ - vendor/choosealicense.com/_licenses/vim.txt
328
380
  - vendor/choosealicense.com/_licenses/wtfpl.txt
329
381
  - vendor/choosealicense.com/_licenses/zlib.txt
330
382
  homepage: https://github.com/benbalter/licensee
@@ -339,15 +391,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
339
391
  requirements:
340
392
  - - ">"
341
393
  - !ruby/object:Gem::Version
342
- version: '2.2'
394
+ version: '2.3'
343
395
  required_rubygems_version: !ruby/object:Gem::Requirement
344
396
  requirements:
345
397
  - - ">="
346
398
  - !ruby/object:Gem::Version
347
399
  version: '0'
348
400
  requirements: []
349
- rubyforge_project:
350
- rubygems_version: 2.7.6
401
+ rubygems_version: 3.0.3
351
402
  signing_key:
352
403
  specification_version: 4
353
404
  summary: A Ruby Gem to detect open source project licenses