@@ -2,21 +2,21 @@ module GitHub
2
2
module Resources
3
3
module Responses
4
4
LICENSES ||=[
5
- { "key" => "agpl-3.0 " , "name" => "GNU Affero GPL v3.0 " , "url" => "https://api.github.com/licenses/agpl-3.0" } ,
6
- { "key" => "apache -2.0" , "name" => "Apache License 2.0" , "url" => "https://api.github.com/licenses/apache -2.0" } ,
7
- { "key" => "artistic-2 .0" , "name" => "Artistic License2 .0" , "url" => "https://api.github.com/licenses/artistic-2 .0" } ,
8
- { "key" => "bsd-2-clause " , "name" => "Simplified BSD " , "url" => "https://api.github.com/licenses/bsd-2-clause" } ,
9
- { "key" => "bsd-3-clause " , "name" => "New BSD " , "url" => "https://api.github.com/licenses/bsd-3-clause" } ,
10
- { "key" => "cc0 " , "name" => "CC0 1.0 Universal" , "url" => "https://api.github.com/licenses/cc0" } ,
11
- { "key" => "epl-1.0 " , "name" => "Eclipse Public License v1.0 " , "url" => "https://api.github.com/licenses/epl-1.0" } ,
12
- { "key" => "gpl -2.0 " , "name" => "GNUGPL v2.0 " , "url" => "https://api.github.com/licenses/gpl -2.0" } ,
13
- { "key" => "gpl-3 .0" , "name" => "GNUGPL v3 .0" , "url" => "https://api.github.com/licenses/gpl-3 .0" } ,
14
- { "key" => "isc " , "name" => "ISC license " , "url" => "https://api.github.com/licenses/isc" } ,
15
- { "key" => "lgpl-2.1 " , "name" => "GNU LGPL v2.1 " , "url" => "https://api.github.com/licenses/lgpl-2.1" } ,
16
- { "key" => "lgpl-3 .0" , "name" => "GNU LGPL v3 .0" , "url" => "https://api.github.com/licenses/lgpl-3 .0" } ,
17
- { "key" => "mit " , "name" => "MIT License" , "url" => "https://api.github.com/licenses/mit" } ,
18
- { "key" => "mpl-2 .0" , "name" => "Mozilla Public License2 .0" , "url" => "https://api.github.com/licenses/mpl-2 .0" } ,
19
- { "key" => "unlicense " , "name" => "PublicDomain (Unlicense) " , "url" => "https://api.github.com/licenses/unlicense" }
5
+ { "key" => "mit " , "name" => "MIT License " , "url" => "https://api.github.com/licenses/mit" , "featured" => true } ,
6
+ { "key" => "mpl -2.0" , "name" => "Mozilla Public License 2.0" , "url" => "https://api.github.com/licenses/mpl -2.0" , "featured" => false } ,
7
+ { "key" => "gpl-3 .0" , "name" => "GNU General Public Licensev3 .0" , "url" => "https://api.github.com/licenses/gpl-3 .0" , "featured" => true } ,
8
+ { "key" => "lgpl-3.0 " , "name" => "GNU Lesser General Public License v3.0 " , "url" => "https://api.github.com/licenses/lgpl-3.0" , "featured" => false } ,
9
+ { "key" => "unlicense " , "name" => "The Unlicense " , "url" => "https://api.github.com/licenses/unlicense" , "featured" => false } ,
10
+ { "key" => "bsd-2-clause " , "name" => "BSD 2-clause \" Simplified \" License" , "url" => "https://api.github.com/licenses/bsd-2-clause" , "featured" => false } ,
11
+ { "key" => "isc " , "name" => "ISC License" , "url" => "https://api.github.com/licenses/isc" , "featured" => false } ,
12
+ { "key" => "lgpl -2.1 " , "name" => "GNULesser General Public License v2.1 " , "url" => "https://api.github.com/licenses/lgpl -2.1" , "featured" => false } ,
13
+ { "key" => "gpl-2 .0" , "name" => "GNUGeneral Public License v2 .0" , "url" => "https://api.github.com/licenses/gpl-2 .0" , "featured" => false } ,
14
+ { "key" => "apache-2.0 " , "name" => "Apache License 2.0 " , "url" => "https://api.github.com/licenses/apache-2.0" , "featured" => true } ,
15
+ { "key" => "cc0-1.0 " , "name" => "Creative Commons Zero v1.0 Universal " , "url" => "https://api.github.com/licenses/cc0-1.0" , "featured" => false } ,
16
+ { "key" => "artistic-2 .0" , "name" => "Artistic License 2 .0" , "url" => "https://api.github.com/licenses/artistic-2 .0" , "featured" => false } ,
17
+ { "key" => "bsd-3-clause " , "name" => "BSD 3-clause \" New \" or \" Revised \" License" , "url" => "https://api.github.com/licenses/bsd-3-clause" , "featured" => false } ,
18
+ { "key" => "agpl-3 .0" , "name" => "GNU Affero General Public Licensev3 .0" , "url" => "https://api.github.com/licenses/agpl-3 .0" , "featured" => false } ,
19
+ { "key" => "epl-1.0 " , "name" => "Eclipse PublicLicense 1.0 " , "url" => "https://api.github.com/licenses/epl-1.0" , "featured" => false }
20
20
]
21
21
22
22
MIT ||={