From aeba4c84f136bbcebddb1eefda0acc8343db8dad Mon Sep 17 00:00:00 2001 From: whiteleaf7 <2nd.leaf@gmail.com> Date: Sat, 23 Jan 2021 15:59:01 +0900 Subject: [PATCH 1/2] fix error if call 'update --gl other' --- lib/command/update/general_lastup_updater.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/command/update/general_lastup_updater.rb b/lib/command/update/general_lastup_updater.rb index 50da1ed1..2ae6a87f 100644 --- a/lib/command/update/general_lastup_updater.rb +++ b/lib/command/update/general_lastup_updater.rb @@ -4,6 +4,7 @@ # Copyright 2013 whiteleaf. All rights reserved. # +require "net/http" require_relative "../../narou/api" module Command @@ -63,7 +64,7 @@ def update_other_novels interval.wait begin downloader = Downloader.new(id) - next unless downloader.get_latest_table_of_contents(through_error: true) + next unless downloader.get_latest_table_of_contents(downloader.load_toc_file, through_error: true) dates = { "novelupdated_at" => downloader.get_novelupdated_at, "general_lastup" => downloader.get_general_lastup, From 49624fb8301e9e814f51e1e45327cf49b6994ca1 Mon Sep 17 00:00:00 2001 From: whiteleaf7 <2nd.leaf@gmail.com> Date: Sat, 23 Jan 2021 16:02:24 +0900 Subject: [PATCH 2/2] update Changelog --- ChangeLog.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index bf86c4d9..31c101be 100755 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,12 @@ 更新履歴 - ChangeLog ==================== +3.7.1: 2021/xx/xx +----------------- +#### 修正内容 +- その他の小説の最新話掲載日を確認しようとするとクラッシュする不具合を修正 + + 3.7.0: 2021/01/23 ----------------- #### 修正内容