File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,5 +4,8 @@ require 'html-proofer'
44
55task :test do
66 sh 'bundle exec jekyll build'
7- HTMLProofer . check_directory ( './_site/' , check_html : true ) . run
7+ HTMLProofer . check_directory ( './_site/' ,
8+ check_html : true ,
9+ hydra : { max_concurrency : 10 } ,
10+ http_status_ignore : [ 429 ] ) . run
811end
Original file line number Diff line number Diff line change @@ -117,9 +117,10 @@ Canada:
117117 - CityofEdmonton
118118 - cityssm
119119 - cngo
120- - communicationssecurityestablishment
120+ - CommunicationSecurityEstablishment
121121 - csbp-cpse
122122 - CSPS-EFPC-DAAN
123+ - CybercentreCanada
123124 - ECCC-MSC
124125 - electionsquebec
125126 - esdc-devx
@@ -469,9 +470,9 @@ Sweden:
469470 - riksantikvarieambetet
470471 - riksarkivet
471472 - rinfo
472- - RISE-SICS
473473 - sambruk
474474 - SciLifeLab
475+ - SICS
475476 - skolverket
476477 - smhi
477478 - SodertornHB
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Typhoeus::Config.cache = Cache.new
2727# We'd constantly hit any rate limit as each needs to be its own query
2828def org? ( user )
2929 response = Typhoeus . head "https://github.com/orgs/#{ user } /people" , accept_encoding : 'gzip'
30- response . success?
30+ response . success? || response . response_code == 429
3131end
3232
3333puts 'Checking that all orgs listed are in fact, an org...'
You can’t perform that action at this time.
0 commit comments