Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
TechnikNews
/
PublicAPIs
espelho de
https://github.com/public-apis/public-apis
Vigiar
1
Marcar como favorito
2
Derivar
0
Código
Questões
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
Update progress bar formatting
pull/389/head
Dave Machado
há 7 anos
committed by
GitHub
ascendente
267c7bc224
cometimento
e2b3ae925f
1 ficheiros alterados
com
2 adições
e
1 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+2
-1
build/validate_links.rb
+ 2
- 1
build/validate_links.rb
Ver ficheiro
@@ -33,7 +33,8 @@ end
links = links.uniq
count = 0
total = links.length
progressbar = ProgressBar.create(:total => total)
progressbar = ProgressBar.create(:total => total,
:format => "%a %P% | Processed: %c from %C")
# GET each link and check for valid response code from allowed_codes
links.each do |link|
begin
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar