YUKI Hiroshi
null+****@clear*****
Tue Jan 6 10:58:11 JST 2015
YUKI Hiroshi 2015-01-06 10:58:11 +0900 (Tue, 06 Jan 2015) New Revision: 8774c942d00166b45f10fbf8c9ba1d467d708725 https://github.com/droonga/droonga-engine/commit/8774c942d00166b45f10fbf8c9ba1d467d708725 Message: Define target version of Serf as a constant Modified files: lib/droonga/serf/downloader.rb Modified: lib/droonga/serf/downloader.rb (+3 -2) =================================================================== --- lib/droonga/serf/downloader.rb 2015-01-06 10:56:51 +0900 (473cd8b) +++ lib/droonga/serf/downloader.rb 2015-01-06 10:58:11 +0900 (7c6722d) @@ -34,6 +34,8 @@ module Droonga MAX_RETRY_COUNT = 5 RETRY_INTERVAL = 10 + TARGET_VERSION = "0.6.3" + def initialize(output_path) @output_path = output_path @retry_count = 0 @@ -41,9 +43,8 @@ module Droonga def download detect_platform - version = "0.6.3" url_base = "https://dl.bintray.com/mitchellh/serf" - base_name = "#{version}_#{@os}_#{@architecture}.zip" + base_name = "#{TARGET_VERSION}_#{@os}_#{@architecture}.zip" connection = Faraday.new(url_base) do |builder| builder.response(:follow_redirects) builder.adapter(Faraday.default_adapter) -------------- next part -------------- HTML����������������������������...Descargar