Skip to content

Commit

Permalink
updated license facets
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Aug 22, 2020
1 parent 15763da commit 9eb7dab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/controllers/concerns/facetable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ module Facetable
LICENSES = {
"afl-1.1" => "AFL-1.1",
"apache-2.0" => "Apache-2.0",
"bsd-2-clause" => "BSD-2-clause",
"bsd-3-clause" => "BSD-3-clause",
"cc-by-1.0" => "CC-BY-1.0",
"cc-by-2.0" => "CC-BY-2.0",
"cc-by-2.5" => "CC-BY-2.5",
Expand All @@ -40,9 +42,12 @@ module Facetable
"cc-by-nc-nd-4.0" => "CC-BY-NC-ND-4.0",
"cc-by-nc-sa-3.0" => "CC-BY-NC-SA-3.0",
"cc-by-nc-sa-4.0" => "CC-BY-NC-SA-4.0",
"cc-by-nd-4.0" => "CC-BY-ND-4.0",
"cc-by-sa-4.0" => "CC-BY-SA-4.0",
"cc-pddc" => "CC-PDDC",
"cc0-1.0" => "CC0-1.0",
"eupl-1.1" => "EUPL-1.1",
"gpl-2.0+" => "GPL-2.0+",
"gpl-3.0" => "GPL-3.0",
"isc" => "ISC",
"mit" => "MIT",
Expand Down
5 changes: 5 additions & 0 deletions app/graphql/types/base_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class BaseConnection < GraphQL::Types::Relay::BaseConnection
LICENSES = {
"afl-1.1" => "AFL-1.1",
"apache-2.0" => "Apache-2.0",
"bsd-2-clause" => "BSD-2-clause",
"bsd-3-clause" => "BSD-3-clause",
"cc-by-1.0" => "CC-BY-1.0",
"cc-by-2.0" => "CC-BY-2.0",
"cc-by-2.5" => "CC-BY-2.5",
Expand All @@ -35,9 +37,12 @@ class BaseConnection < GraphQL::Types::Relay::BaseConnection
"cc-by-nc-nd-4.0" => "CC-BY-NC-ND-4.0",
"cc-by-nc-sa-3.0" => "CC-BY-NC-SA-3.0",
"cc-by-nc-sa-4.0" => "CC-BY-NC-SA-4.0",
"cc-by-nd-4.0" => "CC-BY-ND-4.0",
"cc-by-sa-4.0" => "CC-BY-SA-4.0",
"cc-pddc" => "CC-PDDC",
"cc0-1.0" => "CC0-1.0",
"eupl-1.1" => "EUPL-1.1",
"gpl-2.0+" => "GPL-2.0+",
"gpl-3.0" => "GPL-3.0",
"isc" => "ISC",
"mit" => "MIT",
Expand Down

0 comments on commit 9eb7dab

Please sign in to comment.