licensee 9.10.0 → 9.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/bin/licensee +5 -4
  3. data/lib/licensee.rb +4 -2
  4. data/lib/licensee/commands/detect.rb +10 -5
  5. data/lib/licensee/commands/diff.rb +7 -8
  6. data/lib/licensee/commands/license_path.rb +2 -0
  7. data/lib/licensee/commands/version.rb +2 -0
  8. data/lib/licensee/content_helper.rb +234 -85
  9. data/lib/licensee/hash_helper.rb +7 -5
  10. data/lib/licensee/license.rb +32 -25
  11. data/lib/licensee/license_field.rb +4 -1
  12. data/lib/licensee/license_meta.rb +3 -0
  13. data/lib/licensee/license_rules.rb +2 -0
  14. data/lib/licensee/matchers.rb +2 -0
  15. data/lib/licensee/matchers/cabal.rb +16 -2
  16. data/lib/licensee/matchers/cargo.rb +3 -1
  17. data/lib/licensee/matchers/copyright.rb +6 -4
  18. data/lib/licensee/matchers/cran.rb +7 -3
  19. data/lib/licensee/matchers/dice.rb +6 -4
  20. data/lib/licensee/matchers/dist_zilla.rb +3 -1
  21. data/lib/licensee/matchers/exact.rb +3 -0
  22. data/lib/licensee/matchers/gemspec.rb +8 -5
  23. data/lib/licensee/matchers/matcher.rb +3 -1
  24. data/lib/licensee/matchers/npm_bower.rb +3 -1
  25. data/lib/licensee/matchers/package.rb +3 -0
  26. data/lib/licensee/matchers/reference.rb +3 -1
  27. data/lib/licensee/matchers/spdx.rb +3 -1
  28. data/lib/licensee/project_files.rb +2 -0
  29. data/lib/licensee/project_files/license_file.rb +13 -10
  30. data/lib/licensee/project_files/package_manager_file.rb +3 -0
  31. data/lib/licensee/project_files/project_file.rb +12 -4
  32. data/lib/licensee/project_files/readme_file.rb +5 -3
  33. data/lib/licensee/projects.rb +2 -0
  34. data/lib/licensee/projects/fs_project.rb +3 -0
  35. data/lib/licensee/projects/git_project.rb +19 -11
  36. data/lib/licensee/projects/github_project.rb +6 -1
  37. data/lib/licensee/projects/project.rb +16 -5
  38. data/lib/licensee/rule.rb +2 -0
  39. data/lib/licensee/version.rb +3 -1
  40. data/licensee.gemspec +47 -0
  41. data/spec/bin_spec.rb +3 -1
  42. data/spec/fixture_spec.rb +46 -0
  43. data/spec/fixtures/bsd-3-noendorseslash/LICENSE +30 -0
  44. data/spec/fixtures/cc0-cal2013/LICENSE +116 -0
  45. data/spec/fixtures/cc0-cc/LICENSE +121 -0
  46. data/spec/fixtures/detect.json +9 -7
  47. data/spec/fixtures/fixtures.yml +130 -0
  48. data/spec/fixtures/html/license.html +262 -0
  49. data/spec/fixtures/license-hashes.json +41 -0
  50. data/spec/fixtures/mit-optional/LICENSE.txt +21 -0
  51. data/spec/fixtures/multiple-arrs/LICENSE +30 -0
  52. data/spec/fixtures/unlicense-noinfo/LICENSE +22 -0
  53. data/spec/integration_spec.rb +68 -2
  54. data/spec/licensee/commands/detect_spec.rb +10 -6
  55. data/spec/licensee/commands/license_path_spec.rb +3 -1
  56. data/spec/licensee/commands/version_spec.rb +3 -1
  57. data/spec/licensee/content_helper_spec.rb +184 -67
  58. data/spec/licensee/hash_helper_spec.rb +3 -1
  59. data/spec/licensee/license_field_spec.rb +5 -3
  60. data/spec/licensee/license_meta_spec.rb +16 -12
  61. data/spec/licensee/license_rules_spec.rb +6 -2
  62. data/spec/licensee/license_spec.rb +62 -37
  63. data/spec/licensee/matchers/cabal_matcher_spec.rb +97 -2
  64. data/spec/licensee/matchers/cargo_matcher_spec.rb +5 -2
  65. data/spec/licensee/matchers/copyright_matcher_spec.rb +7 -5
  66. data/spec/licensee/matchers/cran_matcher_spec.rb +5 -2
  67. data/spec/licensee/matchers/dice_matcher_spec.rb +15 -12
  68. data/spec/licensee/matchers/dist_zilla_matcher_spec.rb +5 -2
  69. data/spec/licensee/matchers/exact_matcher_spec.rb +5 -2
  70. data/spec/licensee/matchers/gemspec_matcher_spec.rb +5 -2
  71. data/spec/licensee/matchers/matcher_spec.rb +6 -2
  72. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +5 -3
  73. data/spec/licensee/matchers/package_matcher_spec.rb +6 -2
  74. data/spec/licensee/matchers/reference_matcher_spec.rb +4 -2
  75. data/spec/licensee/matchers/spdx_matcher_spec.rb +5 -2
  76. data/spec/licensee/project_files/license_file_spec.rb +20 -18
  77. data/spec/licensee/project_files/package_info_spec.rb +5 -1
  78. data/spec/licensee/project_files/project_file_spec.rb +8 -2
  79. data/spec/licensee/project_files/readme_file_spec.rb +4 -1
  80. data/spec/licensee/project_spec.rb +24 -17
  81. data/spec/licensee/projects/git_project_spec.rb +23 -0
  82. data/spec/licensee/projects/github_project_spec.rb +8 -5
  83. data/spec/licensee/rule_spec.rb +6 -3
  84. data/spec/licensee_spec.rb +12 -9
  85. data/spec/spec_helper.rb +28 -9
  86. data/spec/vendored_license_spec.rb +29 -10
  87. data/vendor/choosealicense.com/_data/meta.yml +0 -4
  88. data/vendor/choosealicense.com/_data/rules.yml +3 -0
  89. data/vendor/choosealicense.com/_licenses/0bsd.txt +39 -0
  90. data/vendor/choosealicense.com/_licenses/afl-3.0.txt +7 -6
  91. data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +0 -1
  92. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -2
  93. data/vendor/choosealicense.com/_licenses/artistic-2.0.txt +1 -2
  94. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +8 -6
  95. data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +2 -2
  96. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +12 -10
  97. data/vendor/choosealicense.com/_licenses/bsd-4-clause.txt +61 -0
  98. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +5 -2
  99. data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +3 -1
  100. data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +3 -1
  101. data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +113 -105
  102. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +579 -0
  103. data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +1 -2
  104. data/vendor/choosealicense.com/_licenses/epl-1.0.txt +1 -2
  105. data/vendor/choosealicense.com/_licenses/epl-2.0.txt +3 -4
  106. data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +0 -1
  107. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +0 -1
  108. data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +0 -1
  109. data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +1 -2
  110. data/vendor/choosealicense.com/_licenses/isc.txt +0 -1
  111. data/vendor/choosealicense.com/_licenses/lgpl-2.1.txt +0 -1
  112. data/vendor/choosealicense.com/_licenses/lgpl-3.0.txt +1 -3
  113. data/vendor/choosealicense.com/_licenses/lppl-1.3c.txt +1 -2
  114. data/vendor/choosealicense.com/_licenses/mit.txt +1 -2
  115. data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +0 -1
  116. data/vendor/choosealicense.com/_licenses/ms-pl.txt +0 -1
  117. data/vendor/choosealicense.com/_licenses/ms-rl.txt +0 -1
  118. data/vendor/choosealicense.com/_licenses/ncsa.txt +21 -22
  119. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +573 -0
  120. data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +4 -2
  121. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +1 -2
  122. data/vendor/choosealicense.com/_licenses/postgresql.txt +4 -5
  123. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -2
  124. data/vendor/choosealicense.com/_licenses/upl-1.0.txt +4 -5
  125. data/vendor/choosealicense.com/_licenses/vim.txt +111 -0
  126. data/vendor/choosealicense.com/_licenses/wtfpl.txt +0 -1
  127. data/vendor/choosealicense.com/_licenses/zlib.txt +4 -2
  128. metadata +77 -19
@@ -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.0
4
+ version: 9.13.1
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-09-17 00:00:00.000000000 Z
11
+ date: 2020-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -30,56 +30,56 @@ 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
+ type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.8'
82
+ version: '0.19'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: mustache
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -148,14 +148,56 @@ dependencies:
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: '0.49'
151
+ version: '0.80'
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: '0.80'
159
+ - !ruby/object:Gem::Dependency
160
+ name: rubocop-performance
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: '1.5'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: '1.5'
173
+ - !ruby/object:Gem::Dependency
174
+ name: rubocop-rspec
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '1.36'
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '1.36'
187
+ - !ruby/object:Gem::Dependency
188
+ name: simplecov
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '0.16'
152
194
  type: :development
153
195
  prerelease: false
154
196
  version_requirements: !ruby/object:Gem::Requirement
155
197
  requirements:
156
198
  - - "~>"
157
199
  - !ruby/object:Gem::Version
158
- version: '0.49'
200
+ version: '0.16'
159
201
  - !ruby/object:Gem::Dependency
160
202
  name: webmock
161
203
  requirement: !ruby/object:Gem::Requirement
@@ -218,43 +260,54 @@ files:
218
260
  - lib/licensee/projects/project.rb
219
261
  - lib/licensee/rule.rb
220
262
  - lib/licensee/version.rb
263
+ - licensee.gemspec
221
264
  - spec/bin_spec.rb
265
+ - spec/fixture_spec.rb
222
266
  - spec/fixtures/apache-with-readme-notice/LICENSE
223
267
  - spec/fixtures/apache-with-readme-notice/LICENSE.header
224
268
  - spec/fixtures/apache-with-readme-notice/README.md
225
269
  - spec/fixtures/bsd-3-lists/LICENSE.BULLETS
226
270
  - spec/fixtures/bsd-3-lists/LICENSE.NUMBERS
271
+ - spec/fixtures/bsd-3-noendorseslash/LICENSE
227
272
  - spec/fixtures/bsd-plus-patents/PATENTS
228
273
  - spec/fixtures/bsd-plus-patents/license.txt
229
274
  - spec/fixtures/bsl/LICENSE_1_0.txt
230
275
  - spec/fixtures/case-sensitive/LiCeNsE.TxT
231
276
  - spec/fixtures/cc-by-nc-sa/LICENSE
232
277
  - spec/fixtures/cc-by-nd/LICENSE
278
+ - spec/fixtures/cc0-cal2013/LICENSE
279
+ - spec/fixtures/cc0-cc/LICENSE
233
280
  - spec/fixtures/copyright-encoding/COPYING
234
281
  - spec/fixtures/crlf-license/LICENSE
235
282
  - spec/fixtures/description-license/DESCRIPTION
236
283
  - spec/fixtures/description-license/LICENSE
237
284
  - spec/fixtures/detect.json
238
285
  - spec/fixtures/fcpl-modified-mpl/LICENSE
286
+ - spec/fixtures/fixtures.yml
239
287
  - spec/fixtures/gemspec/project._gemspec
240
288
  - spec/fixtures/gpl3-without-instructions/LICENSE
289
+ - spec/fixtures/html/license.html
241
290
  - spec/fixtures/ipsum.txt
242
291
  - spec/fixtures/lgpl/COPYING.lesser
243
292
  - spec/fixtures/lgpl/LICENSE
244
293
  - spec/fixtures/license-folder/README.md
294
+ - spec/fixtures/license-hashes.json
245
295
  - spec/fixtures/license-in-parent-folder/LICENSE.txt
246
296
  - spec/fixtures/license-in-parent-folder/license-folder/LICENSE.txt
247
297
  - spec/fixtures/license-with-readme-reference/LICENSE
248
298
  - spec/fixtures/license-with-readme-reference/README
249
299
  - spec/fixtures/markdown-gpl/LICENSE.md
300
+ - spec/fixtures/mit-optional/LICENSE.txt
250
301
  - spec/fixtures/mit-with-copyright/COPYRIGHT.md
251
302
  - spec/fixtures/mit-with-copyright/LICENSE.txt
252
303
  - spec/fixtures/mit/LICENSE.txt
253
304
  - spec/fixtures/mit/README.md
254
305
  - spec/fixtures/mpl-without-hrs/LICENSE
306
+ - spec/fixtures/multiple-arrs/LICENSE
255
307
  - spec/fixtures/multiple-license-files/LICENSE
256
308
  - spec/fixtures/multiple-license-files/LICENSE.txt
257
309
  - spec/fixtures/readme/README.md
310
+ - spec/fixtures/unlicense-noinfo/LICENSE
258
311
  - spec/fixtures/webmock/licensee.json
259
312
  - spec/fixtures/wrk-modified-apache/LICENSE
260
313
  - spec/integration_spec.rb
@@ -285,6 +338,7 @@ files:
285
338
  - spec/licensee/project_files/project_file_spec.rb
286
339
  - spec/licensee/project_files/readme_file_spec.rb
287
340
  - spec/licensee/project_spec.rb
341
+ - spec/licensee/projects/git_project_spec.rb
288
342
  - spec/licensee/projects/github_project_spec.rb
289
343
  - spec/licensee/rule_spec.rb
290
344
  - spec/licensee_spec.rb
@@ -293,6 +347,7 @@ files:
293
347
  - vendor/choosealicense.com/_data/fields.yml
294
348
  - vendor/choosealicense.com/_data/meta.yml
295
349
  - vendor/choosealicense.com/_data/rules.yml
350
+ - vendor/choosealicense.com/_licenses/0bsd.txt
296
351
  - vendor/choosealicense.com/_licenses/afl-3.0.txt
297
352
  - vendor/choosealicense.com/_licenses/agpl-3.0.txt
298
353
  - vendor/choosealicense.com/_licenses/apache-2.0.txt
@@ -300,10 +355,12 @@ files:
300
355
  - vendor/choosealicense.com/_licenses/bsd-2-clause.txt
301
356
  - vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt
302
357
  - vendor/choosealicense.com/_licenses/bsd-3-clause.txt
358
+ - vendor/choosealicense.com/_licenses/bsd-4-clause.txt
303
359
  - vendor/choosealicense.com/_licenses/bsl-1.0.txt
304
360
  - vendor/choosealicense.com/_licenses/cc-by-4.0.txt
305
361
  - vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt
306
362
  - vendor/choosealicense.com/_licenses/cc0-1.0.txt
363
+ - vendor/choosealicense.com/_licenses/cecill-2.1.txt
307
364
  - vendor/choosealicense.com/_licenses/ecl-2.0.txt
308
365
  - vendor/choosealicense.com/_licenses/epl-1.0.txt
309
366
  - vendor/choosealicense.com/_licenses/epl-2.0.txt
@@ -320,11 +377,13 @@ files:
320
377
  - vendor/choosealicense.com/_licenses/ms-pl.txt
321
378
  - vendor/choosealicense.com/_licenses/ms-rl.txt
322
379
  - vendor/choosealicense.com/_licenses/ncsa.txt
380
+ - vendor/choosealicense.com/_licenses/odbl-1.0.txt
323
381
  - vendor/choosealicense.com/_licenses/ofl-1.1.txt
324
382
  - vendor/choosealicense.com/_licenses/osl-3.0.txt
325
383
  - vendor/choosealicense.com/_licenses/postgresql.txt
326
384
  - vendor/choosealicense.com/_licenses/unlicense.txt
327
385
  - vendor/choosealicense.com/_licenses/upl-1.0.txt
386
+ - vendor/choosealicense.com/_licenses/vim.txt
328
387
  - vendor/choosealicense.com/_licenses/wtfpl.txt
329
388
  - vendor/choosealicense.com/_licenses/zlib.txt
330
389
  homepage: https://github.com/benbalter/licensee
@@ -339,15 +398,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
339
398
  requirements:
340
399
  - - ">"
341
400
  - !ruby/object:Gem::Version
342
- version: '2.2'
401
+ version: '2.3'
343
402
  required_rubygems_version: !ruby/object:Gem::Requirement
344
403
  requirements:
345
404
  - - ">="
346
405
  - !ruby/object:Gem::Version
347
406
  version: '0'
348
407
  requirements: []
349
- rubyforge_project:
350
- rubygems_version: 2.7.6
408
+ rubygems_version: 3.1.2
351
409
  signing_key:
352
410
  specification_version: 4
353
411
  summary: A Ruby Gem to detect open source project licenses