1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

24 Commits

Author SHA1 Message Date
W. Trevor King
45369acf79 check-approval: Fix missing license_ids variable
Avoid:

   $ ./script/check-approval MIT
   ./script/check-approval:55:in `<main>': undefined local variable or method `license_ids' for main:Object (NameError)

The license_ids line was added in e505eb8f (check if license is aleady
a license, 2016-01-18, #318), but license_ids was removed from the
helper in b99e7ab0 (replace 'id' variables with 'spdx_lcase' to
minimize confusion, 2016-06-01, #424).  This commit restores the old
code locally, since this script is the only consumer.
2018-01-03 11:58:21 -08:00
Mike Linksvayer
75c05d717c mindlessly satisfy rubocop 0.48 2017-03-26 17:19:44 -07:00
Mike Linksvayer
f08ace3feb make rubocop ruby version match pages ruby version 2017-01-18 13:31:19 -08:00
Mike Linksvayer
dcea53171e Putdown one-use downcase script
Seems to be one-time use https://github.com/github/choosealicense.com/pull/221 and doesn't need to stick around.

Side note: I wondered what was going on with the double rename. I guess to make work with case insensitive file systems, which I had forgotten about.
2017-01-10 17:23:54 -08:00
Ben Balter
2fb71d284a Merge branch 'gh-pages' into jekyll-3-0-3 2016-02-09 12:26:24 -05:00
Ben Balter
91e79d2de9 update script/server for jekyll 3 2016-02-09 12:23:45 -05:00
Ben Balter
91b6c8728e add rubocop 2016-02-08 15:37:19 -05:00
Ben Balter
e505eb8fb9 check if license is aleady a license 2016-01-18 17:05:02 -05:00
Ben Balter
4013339bfd add fuzy match 2016-01-18 16:39:03 -05:00
Ben Balter
8de56f6e6f spelling 2016-01-18 16:20:33 -05:00
Ben Balter
6bc145a0de add code search 2016-01-18 16:19:29 -05:00
Ben Balter
8e56bb8315 add script/check-approval 2016-01-18 16:16:40 -05:00
Ben Balter
915c08b821 move meta and fields to yaml 2015-08-22 15:25:16 -04:00
Ben Balter
8be3e98dd6 add script to downcase licenses 2014-09-17 11:38:11 -04:00
Ben Balter
22cc77f12b first pass at jekyll2ification 2014-07-31 12:36:56 -04:00
XhmikosR
3989f02359 Combine javascript files.
Now the main page doesn't include any JS since it doesn't use them. This results in -4 http requests and a lot of bytes saved.
2013-12-13 18:39:49 +02:00
Aidan Feldman
d0f2cc3424 run html-proofing as part of travis build 2013-10-23 00:23:57 -07:00
Ben Balter
11f926438e use travis for ci to verify builds work before merging 2013-07-15 16:25:44 -04:00
Ben Balter
f60943e037 use local version of coffee-script, fixes #100 better 2013-07-14 12:13:53 -04:00
Ben Balter
f74a52ddb7 install coffee-script globally, fixes #100, props @cameronmcefee 2013-07-13 18:48:08 -04:00
Ben Balter
090d1467d4 add coffeescrpt to scripts 2013-07-13 15:25:55 -04:00
Benjamin J. Balter
f8a3809616 Clean up after serving
Your mother doesn't work here.
2013-05-22 20:13:08 -04:00
Benjamin J. Balter
cf71a7bf6d update gemfile and build script to jekyll 1.0.2 2013-05-21 15:17:12 -07:00
Benjamin J. Balter
a21098309e add gemfile and script/ folder for easier bootstaping and less friction goodness; 2013-05-21 15:17:07 -07:00