diff --git a/lib/linguist/version.rb b/lib/linguist/version.rb index 45fb0292..bce0aef5 100644 --- a/lib/linguist/version.rb +++ b/lib/linguist/version.rb @@ -1,3 +1,3 @@ module Linguist - VERSION = "4.2.3" + VERSION = "4.2.5" end diff --git a/script/download-grammars b/script/download-grammars index e0dfe10c..cd7713f0 100755 --- a/script/download-grammars +++ b/script/download-grammars @@ -14,7 +14,7 @@ CSONC = File.expand_path("../../node_modules/.bin/csonc", __FILE__) class TarballPackage def self.fetch(tmp_dir, url) - `curl --silent --location --max-time 10 --output "#{tmp_dir}/archive" "#{url}"` + `curl --silent --location --max-time 30 --output "#{tmp_dir}/archive" "#{url}"` raise "Failed to fetch GH package: #{url} #{$?.to_s}" unless $?.success? output = File.join(tmp_dir, 'extracted')