Convert license `using` array to map

This commit is contained in:
ObserverOfTime 2020-10-03 11:34:50 +03:00
Родитель 96d90b1fe5
Коммит a5e495914c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 8A2DEA1DBAEBCA9E
30 изменённых файлов: 87 добавлений и 89 удалений

Просмотреть файл

@ -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/
* `description` - A human-readable description of 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
* `conditions` - Bulleted list of condition rules
* `limitations` - Bulleted list of limitation rules

Просмотреть файл

@ -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.
using:
- PickMeUp: https://github.com/nazar-pc/PickMeUp/blob/master/copying.md
- smoltcp: https://github.com/m-labs/smoltcp/blob/master/LICENSE-0BSD.txt
- Toybox: https://github.com/landley/toybox/blob/master/LICENSE
PickMeUp: https://github.com/nazar-pc/PickMeUp/blob/master/copying.md
smoltcp: https://github.com/m-labs/smoltcp/blob/master/LICENSE-0BSD.txt
Toybox: https://github.com/landley/toybox/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE
- PDF.js: https://github.com/mozilla/pdf.js/blob/master/LICENSE
- Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE
PDF.js: https://github.com/mozilla/pdf.js/blob/master/LICENSE
Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- go-redis: https://github.com/go-redis/redis/blob/master/LICENSE
- Homebrew: https://github.com/Homebrew/brew/blob/master/LICENSE.txt
- Pony: https://github.com/ponylang/ponyc/blob/master/LICENSE
go-redis: https://github.com/go-redis/redis/blob/master/LICENSE
Homebrew: https://github.com/Homebrew/brew/blob/master/LICENSE.txt
Pony: https://github.com/ponylang/ponyc/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- d3: https://github.com/d3/d3/blob/master/LICENSE
- LevelDB: https://github.com/google/leveldb/blob/master/LICENSE
- Quill: https://github.com/quilljs/quill/blob/develop/LICENSE
d3: https://github.com/d3/d3/blob/master/LICENSE
LevelDB: https://github.com/google/leveldb/blob/master/LICENSE
Quill: https://github.com/quilljs/quill/blob/develop/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- Choco-solver: https://github.com/chocoteam/choco-solver/blob/master/LICENSE
- PMSPAUR-public: https://github.com/ArthurGodet/PMSPAUR-public/blob/master/LICENSE
- Switchblade: https://github.com/SwitchbladeBot/switchblade/blob/dev/LICENSE
Choco-solver: https://github.com/chocoteam/choco-solver/blob/master/LICENSE
PMSPAUR-public: https://github.com/ArthurGodet/PMSPAUR-public/blob/master/LICENSE
Switchblade: https://github.com/SwitchbladeBot/switchblade/blob/dev/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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).
using:
- Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt
- Catch2: https://github.com/catchorg/Catch2/blob/master/LICENSE.txt
- DMD: https://github.com/dlang/dmd/blob/master/LICENSE.txt
Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt
Catch2: https://github.com/catchorg/Catch2/blob/master/LICENSE.txt
DMD: https://github.com/dlang/dmd/blob/master/LICENSE.txt
permissions:
- commercial-use

Просмотреть файл

@ -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>.
using:
- caniuse: https://github.com/Fyrd/caniuse/blob/master/LICENSE
- WHATWG HTML standard: https://github.com/whatwg/html/blob/master/LICENSE
- Kubernetes documentation: https://github.com/kubernetes/website/blob/master/LICENSE
caniuse: https://github.com/Fyrd/caniuse/blob/master/LICENSE
WHATWG HTML standard: https://github.com/whatwg/html/blob/master/LICENSE
Kubernetes documentation: https://github.com/kubernetes/website/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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>.
using:
- 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
- OWASP MSTG: https://github.com/OWASP/owasp-mstg/blob/master/License.md
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
OWASP MSTG: https://github.com/OWASP/owasp-mstg/blob/master/License.md
permissions:
- commercial-use

Просмотреть файл

@ -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>.
using:
- Awesome: https://github.com/sindresorhus/awesome/blob/main/license
- Shields.io: https://github.com/badges/shields/blob/master/LICENSE
- psdash: https://github.com/Jahaja/psdash/blob/master/LICENSE
Awesome: https://github.com/sindresorhus/awesome/blob/main/license
Shields.io: https://github.com/badges/shields/blob/master/LICENSE
psdash: https://github.com/Jahaja/psdash/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- 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
- VITAM: https://github.com/ProgrammeVitam/vitam/blob/master_0.15.x/Licence_CeCILL_V2.1-fr.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
VITAM: https://github.com/ProgrammeVitam/vitam/blob/master_0.15.x/Licence_CeCILL_V2.1-fr.txt
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- Sakai: https://github.com/sakaiproject/sakai/blob/master/LICENSE
- OAE: https://github.com/oaeproject/Hilary/blob/master/LICENSE
- Opencast: https://github.com/opencast/opencast/blob/develop/LICENSE
Sakai: https://github.com/sakaiproject/sakai/blob/master/LICENSE
OAE: https://github.com/oaeproject/Hilary/blob/master/LICENSE
Opencast: https://github.com/opencast/opencast/blob/develop/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- Eclipse hawkBit: https://github.com/eclipse/hawkbit/blob/master/LICENSE
- JUnit: https://github.com/junit-team/junit4/blob/main/LICENSE-junit.txt
- Quil: https://github.com/quil/quil/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
Quil: https://github.com/quil/quil/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE
- openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
- SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE
Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE
openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- AethysRotation: https://github.com/SimCMinMax/AethysRotation/blob/master/LICENSE
- WildDuck: https://github.com/nodemailer/wildduck/blob/master/LICENSE
- ZoneMTA: https://github.com/zone-eu/zone-mta/blob/master/LICENSE
AethysRotation: https://github.com/SimCMinMax/AethysRotation/blob/master/LICENSE
WildDuck: https://github.com/nodemailer/wildduck/blob/master/LICENSE
ZoneMTA: https://github.com/zone-eu/zone-mta/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
- Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
- Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
- Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
- GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- Starship: https://github.com/starship/starship/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
Starship: https://github.com/starship/starship/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
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- Babel: https://github.com/babel/babel/blob/master/LICENSE
- .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
- Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
Babel: https://github.com/babel/babel/blob/master/LICENSE
.NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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).
using:
- Servo: https://github.com/servo/servo/blob/master/LICENSE
- Syncthing: https://github.com/syncthing/syncthing/blob/main/LICENSE
- TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
Servo: https://github.com/servo/servo/blob/master/LICENSE
Syncthing: https://github.com/syncthing/syncthing/blob/main/LICENSE
TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
- RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
- ToaruOS: https://github.com/klange/toaruos/blob/master/LICENSE
ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
ToaruOS: https://github.com/klange/toaruos/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
- OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
- Public Zone Database: https://github.com/zonedb/zonedb/blob/master/LICENSE.md
World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
Public Zone Database: https://github.com/zonedb/zonedb/blob/master/LICENSE.md
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- FiraCode: https://github.com/tonsky/FiraCode/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
FiraCode: https://github.com/tonsky/FiraCode/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
permissions:
- private-use

Просмотреть файл

@ -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.
using:
- appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt
- JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE
- Restyaboard: https://github.com/RestyaPlatform/board/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
Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
- pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
- .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
.NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- youtube-dl: https://github.com/rg3/youtube-dl/blob/master/LICENSE
- kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
- RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
youtube-dl: https://github.com/rg3/youtube-dl/blob/master/LICENSE
kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
permissions:
- private-use

Просмотреть файл

@ -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/.
using:
- Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
- Skater: https://github.com/oracle/Skater/blob/master/LICENSE
- Soufflé: https://github.com/souffle-lang/souffle/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
Soufflé: https://github.com/souffle-lang/souffle/blob/master/LICENSE
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- Vim: https://github.com/vim/vim/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: https://github.com/vim/vim/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
permissions:
- commercial-use

Просмотреть файл

@ -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.
using:
- GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
- Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
- TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
permissions:
- commercial-use

Просмотреть файл

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