1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-13 23:18:53 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
W. Trevor King
84a7bbbf96 spec_helper: Extract FSF approval from wking.github.io/fsf-api
Ideally the FSF would be maintaining the API (or any API), but until
someone can talk them into that I think we can save work by
collaborating on the mock API.  Using a JSON API also allows us to
drop the Nokogiri dependency.

The parens feel excessive, and I'm not familiar with Ruby, so they
might be.  However, removing the parens from the libre check resulted
in:

  $ ./script/check-approval ISC
  ./script/check-approval:8:in `require_relative': /.../choosealicense.com/spec/spec_helper.rb:108: syntax error, unexpected tSTRING_BEG, expecting keyword_then or ';' or '\n' (SyntaxError)
  ...gs') && meta['tags'].include? 'libre'
  ...                               ^
  /.../choosealicense.com/spec/spec_helper.rb:116: syntax error, unexpected keyword_end, expecting end-of-input
          from ./script/check-approval:8:in `<main>'
2018-01-03 11:53:36 -08:00
Mike Linksvayer
7649067151 Test examples provided in 'using:' would be detected by licensee 2017-11-25 16:16:11 -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
74ec63ec1b order gems so rubocop doesn't complain 2016-12-12 17:36:13 -08:00
Mike Linksvayer
98355c7571 upgrade to html-proofer 3 2016-03-17 17:30:47 -07:00
Ben Balter
6e387f4ecd update html proofer 2016-02-09 12:38:00 -05:00
Ben Balter
67d1e8feaa try using the jekyllrb version hack 2016-02-09 12:33:29 -05:00
Ben Balter
91b6c8728e add rubocop 2016-02-08 15:37:19 -05:00
Ben Balter
4013339bfd add fuzy match 2016-01-18 16:39:03 -05:00
Ben Balter
8e56bb8315 add script/check-approval 2016-01-18 16:16:40 -05:00
Ben Balter
976acac003 downgrade html proofer 2016-01-15 18:04:44 -05:00
Ben Balter
853f4c97b2 check for license compliance 2016-01-15 17:40:32 -05:00
Brandon Keepers
61d59ffc59 Remove ruby version from Gemfile 2015-11-01 22:02:31 -05:00
Ben Balter
2db11a04bb add jekyll-seo-tag 2015-10-30 13:29:42 -04:00
Ben Balter
dc1cc773a1 add tests 2015-03-07 12:47:24 -05:00
Aidan Feldman
6504fb7cfd remove ffi version lock and bump version
per
880ec82d3c (commitcomment-4891173)
2013-12-18 11:57:44 -05:00
XhmikosR
c1c291b379 Use double quotes consistently. 2013-10-30 20:39:55 +02:00
Ben Balter
880ec82d3c bump gemfile 2013-10-30 10:55:01 -04:00
Aidan Feldman
0527976cee add HTML::Proofer 2013-10-23 00:07:51 -07:00
Aidan Feldman
29c9fe142a specify required ruby version 2013-09-14 00:35:25 -04:00
Ben Balter
952aa2d196 🐶 food dat github-pages gem 2013-08-12 11:37:32 -04:00
Ben Balter
e586d8c9ea use redcarpet to process markdown 2013-07-14 12:56:48 -04:00
Ben Balter
678107b1e6 bump jekyll to 1.0.3. to stay in line with pages 2013-07-10 13:13:50 -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
804e14b105 s/gemfile/Gemfile/ 2013-05-21 15:17:10 -07:00