From 1a2ed662394573c2c369532f19f2403265ec11bf Mon Sep 17 00:00:00 2001 From: Baoshuo Ren Date: Wed, 27 Apr 2022 17:19:40 +0800 Subject: [PATCH 1/2] chore: remove git.io All links on git.io will stop redirecting after April 29, 2022. - https://github.blog/changelog/2022-04-25-git-io-deprecation/ --- spec/license_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/license_spec.rb b/spec/license_spec.rb index 0fd8a96..09460c6 100644 --- a/spec/license_spec.rb +++ b/spec/license_spec.rb @@ -28,7 +28,7 @@ describe 'licenses' do context 'industry approval' do it 'should be approved by OSI or FSF or OD' do - expect(approved_licenses).to include(spdx_lcase), 'See https://git.io/vzCTV.' + expect(approved_licenses).to include(spdx_lcase), 'See https://github.com/github/choosealicense.com/blob/master/CONTRIBUTING.md#adding-new-licenses.' end end From 8359cdcb3f4886976a8dd5616c6b52fd62f1fe22 Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Wed, 27 Apr 2022 07:43:32 -0700 Subject: [PATCH 2/2] avoid master->gh-pages redirect --- spec/license_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/license_spec.rb b/spec/license_spec.rb index 09460c6..d0dbaf1 100644 --- a/spec/license_spec.rb +++ b/spec/license_spec.rb @@ -28,7 +28,7 @@ describe 'licenses' do context 'industry approval' do it 'should be approved by OSI or FSF or OD' do - expect(approved_licenses).to include(spdx_lcase), 'See https://github.com/github/choosealicense.com/blob/master/CONTRIBUTING.md#adding-new-licenses.' + expect(approved_licenses).to include(spdx_lcase), 'See https://github.com/github/choosealicense.com/blob/gh-pages/CONTRIBUTING.md#adding-new-licenses.' end end