diff --git a/.travis.yml b/.travis.yml index 7ab30fb..2caf39f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,13 +5,16 @@ script: "./script/cibuild" #environment language: ruby rvm: - - 2.5.1 + - 2.5.3 addons: apt: packages: - libcurl4-openssl-dev +before_install: + - gem update --system + branches: only: - gh-pages diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cc487c3..4ad2b89 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,8 +21,8 @@ Choosealicense.com is intended to demystify license choices, not present or cata * [List of OSI approved licenses](https://opensource.org/licenses/alphabetical) * [GNU's list of free licenses](https://www.gnu.org/licenses/license-list.en.html) (*note: the license must be listed in one of the three "free" categories*) * [Open Definition's list of conformant licenses](https://opendefinition.org/licenses/) (non-code) -3. A [GitHub code search](https://github.com/search?q=MIT+filename%3ALICENSE&type=Code) must reveal at least *1,000* public repositories using the license -4. Identification of 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that could be detected by [licensee](https://github.com/benbalter/licensee) if it knew about the license +3. A [GitHub code search](https://github.com/search?q=MIT+filename%3ALICENSE&type=Code) must reveal at least *1,000* public repositories using the license. +4. 3 notable projects using the license must be identified. These must have straightforward LICENSE files which serve as examples newcomers can follow and that could be detected by [licensee](https://github.com/benbalter/licensee) if it knew about the license. If your proposed license meets the above criteria, here's a few other things to keep in mind as you propose the license's addition: @@ -31,7 +31,7 @@ If your proposed license meets the above criteria, here's a few other things to * The license files should be in the format of `_licenses/[lowercased-spdx-id].txt` (e.g., `_licenses/mit.txt`) * Each license has both [required and optional metadata](https://github.com/github/choosealicense.com#license-metadata) that should be included. * The text of the license should be wrapped to a 78 character width. -* The text of the license should match the corresponding text found at https://spdx.org/licenses/ +* The text of the license should match the corresponding text found in [spdx/license-list-data](https://github.com/spdx/license-list-data/blob/master/text/). If there are errors there, please fix them in [spdx/license-list-XML](https://github.com/spdx/license-list-XML) (from which the plain text version is generated) so as to minimize license text variation and make it easier for choosealicense.com to eventually consume license texts directly from SPDX. * The body of the file should be the text of the license in plain text. ## Making Changes diff --git a/Rakefile b/Rakefile index 360bfdf..45c207c 100644 --- a/Rakefile +++ b/Rakefile @@ -14,8 +14,11 @@ task :test do Rake::Task['spec'].invoke HTMLProofer.check_directory('./_site', check_html: true, + enforce_https: true, validation: { ignore_script_embeds: true }, url_swap: { %r{https://choosealicense.com} => '' }, + url_ignore: [%r{https://github.com/github/choosealicense.com/edit/gh-pages/_licenses/}], + hydra: { max_concurrency: 10 }, check_img_http: true).run end diff --git a/_includes/footer.html b/_includes/footer.html index abfa674..6a16215 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -21,6 +21,16 @@ {% endif %} diff --git a/_includes/header.html b/_includes/header.html index 0d68595..06ee4e0 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -4,7 +4,7 @@ - +