1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-09 12:47:49 +02:00

Convert license using array to map

This commit is contained in:
ObserverOfTime 2020-10-03 11:34:50 +03:00
parent 96d90b1fe5
commit a5e495914c
No known key found for this signature in database
GPG Key ID: 8A2DEA1DBAEBCA9E
30 changed files with 87 additions and 89 deletions

View File

@ -54,7 +54,7 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
* `spdx-id` - Short identifier specified by https://spdx.org/licenses/ * `spdx-id` - Short identifier specified by https://spdx.org/licenses/
* `description` - A human-readable description of the license * `description` - A human-readable description of the license
* `how` - Instructions on how to implement the license * `how` - Instructions on how to implement the license
* `using` - A list of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/licensee/licensee) in the form of `project_name: license_file_url` * `using` - A map of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/licensee/licensee) in the form of `project_name: license_file_url`
* `permissions` - Bulleted list of permission rules * `permissions` - Bulleted list of permission rules
* `conditions` - Bulleted list of condition rules * `conditions` - Bulleted list of condition rules
* `limitations` - Bulleted list of limitation rules * `limitations` - Bulleted list of limitation rules

View File

@ -7,9 +7,9 @@ description: The BSD Zero Clause license goes further than the BSD 2-Clause lice
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. You may take the additional step of removing the copyright notice. 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. You may take the additional step of removing the copyright notice.
using: using:
- PickMeUp: https://github.com/nazar-pc/PickMeUp/blob/master/copying.md PickMeUp: https://github.com/nazar-pc/PickMeUp/blob/master/copying.md
- smoltcp: https://github.com/m-labs/smoltcp/blob/master/LICENSE-0BSD.txt smoltcp: https://github.com/m-labs/smoltcp/blob/master/LICENSE-0BSD.txt
- Toybox: https://github.com/landley/toybox/blob/master/LICENSE Toybox: https://github.com/landley/toybox/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -12,9 +12,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: The Apache Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text. note: The Apache Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text.
using: using:
- Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE
- PDF.js: https://github.com/mozilla/pdf.js/blob/master/LICENSE PDF.js: https://github.com/mozilla/pdf.js/blob/master/LICENSE
- Swift: https://github.com/apple/swift/blob/master/LICENSE.txt Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
permissions: permissions:
- commercial-use - commercial-use

View File

@ -9,9 +9,9 @@ description: A permissive license that comes in two variants, the <a href="/lice
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. 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.
using: using:
- go-redis: https://github.com/go-redis/redis/blob/master/LICENSE go-redis: https://github.com/go-redis/redis/blob/master/LICENSE
- Homebrew: https://github.com/Homebrew/brew/blob/master/LICENSE.txt Homebrew: https://github.com/Homebrew/brew/blob/master/LICENSE.txt
- Pony: https://github.com/ponylang/ponyc/blob/master/LICENSE Pony: https://github.com/ponylang/ponyc/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -8,9 +8,9 @@ description: A permissive license similar to the <a href="/licenses/bsd-2-clause
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. 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.
using: using:
- d3: https://github.com/d3/d3/blob/master/LICENSE d3: https://github.com/d3/d3/blob/master/LICENSE
- LevelDB: https://github.com/google/leveldb/blob/master/LICENSE LevelDB: https://github.com/google/leveldb/blob/master/LICENSE
- Quill: https://github.com/quilljs/quill/blob/develop/LICENSE Quill: https://github.com/quilljs/quill/blob/develop/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: A permissive license similar to the <a href="/licenses/bsd-3-clause
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. Replace [project] with the project organization, if any, that sponsors this work. 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. Replace [project] with the project organization, if any, that sponsors this work.
using: using:
- Choco-solver: https://github.com/chocoteam/choco-solver/blob/master/LICENSE Choco-solver: https://github.com/chocoteam/choco-solver/blob/master/LICENSE
- PMSPAUR-public: https://github.com/ArthurGodet/PMSPAUR-public/blob/master/LICENSE PMSPAUR-public: https://github.com/ArthurGodet/PMSPAUR-public/blob/master/LICENSE
- Switchblade: https://github.com/SwitchbladeBot/switchblade/blob/dev/LICENSE Switchblade: https://github.com/SwitchbladeBot/switchblade/blob/dev/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -10,9 +10,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: Boost recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the [Boost Software License FAQ](https://www.boost.org/users/license.html#FAQ). note: Boost recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the [Boost Software License FAQ](https://www.boost.org/users/license.html#FAQ).
using: using:
- Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt
- Catch2: https://github.com/catchorg/Catch2/blob/master/LICENSE.txt Catch2: https://github.com/catchorg/Catch2/blob/master/LICENSE.txt
- DMD: https://github.com/dlang/dmd/blob/master/LICENSE.txt DMD: https://github.com/dlang/dmd/blob/master/LICENSE.txt
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: Permits almost any use subject to providing credit and license noti
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. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by/4.0/'>canonical URL for the license</a>. 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. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by/4.0/'>canonical URL for the license</a>.
using: using:
- caniuse: https://github.com/Fyrd/caniuse/blob/master/LICENSE caniuse: https://github.com/Fyrd/caniuse/blob/master/LICENSE
- WHATWG HTML standard: https://github.com/whatwg/html/blob/master/LICENSE WHATWG HTML standard: https://github.com/whatwg/html/blob/master/LICENSE
- Kubernetes documentation: https://github.com/kubernetes/website/blob/master/LICENSE Kubernetes documentation: https://github.com/kubernetes/website/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: Similar to <a href='/licenses/cc-by-4.0/'>CC-BY-4.0</a> but require
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. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by-sa/4.0/'>canonical URL for the license</a>. 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. It is also acceptable to solely supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by-sa/4.0/'>canonical URL for the license</a>.
using: using:
- Flight rules for Git: https://github.com/k88hudson/git-flight-rules/blob/master/LICENSE Flight rules for Git: https://github.com/k88hudson/git-flight-rules/blob/master/LICENSE
- Material Design Iconic Font: https://github.com/zavoloklom/material-design-iconic-font/blob/master/License.md Material Design Iconic Font: https://github.com/zavoloklom/material-design-iconic-font/blob/master/License.md
- OWASP MSTG: https://github.com/OWASP/owasp-mstg/blob/master/License.md OWASP MSTG: https://github.com/OWASP/owasp-mstg/blob/master/License.md
permissions: permissions:
- commercial-use - commercial-use

View File

@ -11,9 +11,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: Creative Commons recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be <a href="https://wiki.creativecommons.org/wiki/CC0_FAQ#May_I_apply_CC0_to_computer_software.3F_If_so.2C_is_there_a_recommended_implementation.3F">found on their website</a>. note: Creative Commons recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be <a href="https://wiki.creativecommons.org/wiki/CC0_FAQ#May_I_apply_CC0_to_computer_software.3F_If_so.2C_is_there_a_recommended_implementation.3F">found on their website</a>.
using: using:
- Awesome: https://github.com/sindresorhus/awesome/blob/main/license Awesome: https://github.com/sindresorhus/awesome/blob/main/license
- Shields.io: https://github.com/badges/shields/blob/master/LICENSE Shields.io: https://github.com/badges/shields/blob/master/LICENSE
- psdash: https://github.com/Jahaja/psdash/blob/master/LICENSE psdash: https://github.com/Jahaja/psdash/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: Strong copyleft license made by three French public research organi
how: Create a text file (typically named LICENSE or LICENCE) in the root of your source code and copy the text of the license into the file. how: Create a text file (typically named LICENSE or LICENCE) in the root of your source code and copy the text of the license into the file.
using: using:
- BMC-Tools: https://github.com/ANSSI-FR/bmc-tools/blob/master/LICENCE.txt BMC-Tools: https://github.com/ANSSI-FR/bmc-tools/blob/master/LICENCE.txt
- Taxe foncière: https://github.com/etalab/taxe-fonciere/blob/master/LICENSE Taxe foncière: https://github.com/etalab/taxe-fonciere/blob/master/LICENSE
- VITAM: https://github.com/ProgrammeVitam/vitam/blob/master_0.15.x/Licence_CeCILL_V2.1-fr.txt VITAM: https://github.com/ProgrammeVitam/vitam/blob/master_0.15.x/Licence_CeCILL_V2.1-fr.txt
permissions: permissions:
- commercial-use - commercial-use

View File

@ -9,9 +9,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: The Apereo Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text. note: The Apereo Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text.
using: using:
- Sakai: https://github.com/sakaiproject/sakai/blob/master/LICENSE Sakai: https://github.com/sakaiproject/sakai/blob/master/LICENSE
- OAE: https://github.com/oaeproject/Hilary/blob/master/LICENSE OAE: https://github.com/oaeproject/Hilary/blob/master/LICENSE
- Opencast: https://github.com/opencast/opencast/blob/develop/LICENSE Opencast: https://github.com/opencast/opencast/blob/develop/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: This commercially-friendly copyleft license provides the ability to
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. 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.
using: using:
- Eclipse hawkBit: https://github.com/eclipse/hawkbit/blob/master/LICENSE Eclipse hawkBit: https://github.com/eclipse/hawkbit/blob/master/LICENSE
- JUnit: https://github.com/junit-team/junit4/blob/main/LICENSE-junit.txt JUnit: https://github.com/junit-team/junit4/blob/main/LICENSE-junit.txt
- Quil: https://github.com/quil/quil/blob/master/LICENSE Quil: https://github.com/quil/quil/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -9,9 +9,9 @@ description: This commercially-friendly copyleft license provides the ability to
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. 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.
using: using:
- Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE
- openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
- SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: The European Union Public Licence (EUPL) is a copyleft free/open so
how: Indicate “Licensed under the EUPL” following the copyright notice of your source code, for example in a README file or directly in a source code file as a comment. how: Indicate “Licensed under the EUPL” following the copyright notice of your source code, for example in a README file or directly in a source code file as a comment.
using: using:
- AethysRotation: https://github.com/SimCMinMax/AethysRotation/blob/master/LICENSE AethysRotation: https://github.com/SimCMinMax/AethysRotation/blob/master/LICENSE
- WildDuck: https://github.com/nodemailer/wildduck/blob/master/LICENSE WildDuck: https://github.com/nodemailer/wildduck/blob/master/LICENSE
- ZoneMTA: https://github.com/zone-eu/zone-mta/blob/master/LICENSE ZoneMTA: https://github.com/zone-eu/zone-mta/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -12,9 +12,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license. note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
using: using:
- AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
- Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
- Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
permissions: permissions:
- commercial-use - commercial-use

View File

@ -13,9 +13,9 @@ how: Create a text file (typically named COPYING, as per GNU conventions) in the
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license. note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
using: using:
- Ansible: https://github.com/ansible/ansible/blob/devel/COPYING Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
- Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
- GIMP: https://git.gnome.org/browse/gimp/tree/COPYING GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: A permissive license lets people do anything with your code with pr
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. 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.
using: using:
- Starship: https://github.com/starship/starship/blob/master/LICENSE Starship: https://github.com/starship/starship/blob/master/LICENSE
- Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
- OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/develop/LICENSE.md OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/develop/LICENSE.md
permissions: permissions:
- commercial-use - commercial-use

View File

@ -9,9 +9,9 @@ description: A short and simple permissive license with conditions only requirin
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. 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.
using: using:
- Babel: https://github.com/babel/babel/blob/master/LICENSE Babel: https://github.com/babel/babel/blob/master/LICENSE
- .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
- Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -11,9 +11,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: The Mozilla Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license (Exhibit A). note: The Mozilla Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license (Exhibit A).
using: using:
- Servo: https://github.com/servo/servo/blob/master/LICENSE Servo: https://github.com/servo/servo/blob/master/LICENSE
- Syncthing: https://github.com/syncthing/syncthing/blob/main/LICENSE Syncthing: https://github.com/syncthing/syncthing/blob/main/LICENSE
- TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -8,9 +8,9 @@ description: The University of Illinois/NCSA Open Source License, or UIUC licens
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. Replace [project] with the project organization, if any, that sponsors this work. 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. Replace [project] with the project organization, if any, that sponsors this work.
using: using:
- ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
- RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
- ToaruOS: https://github.com/klange/toaruos/blob/master/LICENSE ToaruOS: https://github.com/klange/toaruos/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -8,9 +8,9 @@ description: The Open Database License (ODbL) is a license agreement intended to
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. 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.
using: using:
- World Countries: https://github.com/mledoze/countries/blob/master/LICENSE World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
- OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
- Public Zone Database: https://github.com/zonedb/zonedb/blob/master/LICENSE.md Public Zone Database: https://github.com/zonedb/zonedb/blob/master/LICENSE.md
permissions: permissions:
- commercial-use - commercial-use

View File

@ -10,9 +10,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: This license doesn't require source provision, but recommends it. All files derived from OFL files must remain licensed under the OFL. note: This license doesn't require source provision, but recommends it. All files derived from OFL files must remain licensed under the OFL.
using: using:
- FiraCode: https://github.com/tonsky/FiraCode/blob/master/LICENSE FiraCode: https://github.com/tonsky/FiraCode/blob/master/LICENSE
- Noto fonts: https://github.com/googlefonts/noto-fonts/blob/master/LICENSE Noto fonts: https://github.com/googlefonts/noto-fonts/blob/master/LICENSE
- Fantasque Sans Mono: https://github.com/belluzj/fantasque-sans/blob/master/LICENSE.txt Fantasque Sans Mono: https://github.com/belluzj/fantasque-sans/blob/master/LICENSE.txt
permissions: permissions:
- private-use - private-use

View File

@ -9,9 +9,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: OSL 3.0's author has <a href="https://rosenlaw.com/OSL3.0-explained.htm">provided an explanation</a> behind the creation of the license. note: OSL 3.0's author has <a href="https://rosenlaw.com/OSL3.0-explained.htm">provided an explanation</a> behind the creation of the license.
using: using:
- appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt
- JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE
- Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: A very short, BSD-style license, used specifically for PostgreSQL.
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. 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.
using: using:
- pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
- pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
- .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -8,9 +8,9 @@ description: A license with no conditions whatsoever which dedicates works to th
how: Create a text file (typically named UNLICENSE or UNLICENSE.txt) in the root of your source code and copy the text of the license disclaimer into the file. how: Create a text file (typically named UNLICENSE or UNLICENSE.txt) in the root of your source code and copy the text of the license disclaimer into the file.
using: using:
- youtube-dl: https://github.com/rg3/youtube-dl/blob/master/LICENSE youtube-dl: https://github.com/rg3/youtube-dl/blob/master/LICENSE
- kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
- RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
permissions: permissions:
- private-use - private-use

View File

@ -9,9 +9,9 @@ how: Insert the license or a link to it along with a copyright notice into your
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/. 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/.
using: using:
- Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
- Skater: https://github.com/oracle/Skater/blob/master/LICENSE Skater: https://github.com/oracle/Skater/blob/master/LICENSE
- Soufflé: https://github.com/souffle-lang/souffle/blob/master/LICENSE Soufflé: https://github.com/souffle-lang/souffle/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: There are no restrictions on using or distributing an unmodified co
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. 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.
using: using:
- Vim: https://github.com/vim/vim/blob/master/LICENSE Vim: https://github.com/vim/vim/blob/master/LICENSE
- Pathogen: https://github.com/tpope/vim-pathogen/blob/master/LICENSE Pathogen: https://github.com/tpope/vim-pathogen/blob/master/LICENSE
- vim-license-gen: https://github.com/othree/vim-license/blob/master/LICENSE vim-license-gen: https://github.com/othree/vim-license/blob/master/LICENSE
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,9 +7,9 @@ description: A short permissive license, compatible with GPL. Requires altered s
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. 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.
using: using:
- GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
- Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
- TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
permissions: permissions:
- commercial-use - commercial-use

View File

@ -19,7 +19,7 @@ describe 'license meta' do
expect(missing).to be_empty expect(missing).to be_empty
end end
examples = raw_fields['using'] || [] examples = raw_fields['using'] || {}
it 'using contains 3 examples' do it 'using contains 3 examples' do
legacy = [ legacy = [
@ -42,9 +42,7 @@ describe 'license meta' do
context 'licensee detects using examples' do context 'licensee detects using examples' do
slug = license['slug'] slug = license['slug']
examples.each do |example| examples.each_value do |example_url|
example_url = example.values[0]
context "the #{example_url} URL" do context "the #{example_url} URL" do
let(:content) { OpenURI.open_uri(example_url).read } let(:content) { OpenURI.open_uri(example_url).read }
let(:detected) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE').license } let(:detected) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE').license }