mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
remove OSI appoval requirement
This commit is contained in:
parent
fdbaf19d51
commit
4b536ab417
@ -21,14 +21,6 @@ licenses.each do |license|
|
|||||||
spdx = find_spdx(license["id"])
|
spdx = find_spdx(license["id"])
|
||||||
expect(spdx[1]["name"].gsub(/ only$/,"")).to eql(license["title"])
|
expect(spdx[1]["name"].gsub(/ only$/,"")).to eql(license["title"])
|
||||||
end
|
end
|
||||||
|
|
||||||
# CC0 and Unlicense are not OSI approved, but that's okay
|
|
||||||
unless license["id"] == "unlicense" || license["id"] == "cc0-1.0"
|
|
||||||
it "should be OSI approved" do
|
|
||||||
spdx = find_spdx(license["id"])
|
|
||||||
expect(spdx[1]["osiApproved"]).to eql(true)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user