From d4cf02528fdd9a015ab641cf322b12f33f6d054d Mon Sep 17 00:00:00 2001 From: Tatsuki Sugiura Date: Wed, 27 Jul 2016 16:07:57 +0900 Subject: [PATCH 1/1] Update version. --- ChangeLog | 9 +++++++-- lib/osdn/cli/runner.rb | 4 ++++ lib/osdn/cli/version.rb | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 88cd831..7e7bd11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,16 @@ +2016-07-27 Tatsuki Sugiura + + * Version 0.1.6 + * frs_upload, relfile: Auto retry on upload error. + 2016-07-20 Tatsuki Sugiura - * Versino 0.1.5 + * Version 0.1.5 * frs_upload, relfile: Add bandwidth limit option. 2016-07-01 Tatsuki Sugiura - * Versino 0.1.4 + * Version 0.1.4 * frs_upload, relfile: Add progress options. 2016-05-26 Tatsuki Sugiura diff --git a/lib/osdn/cli/runner.rb b/lib/osdn/cli/runner.rb index 874b01c..d9eeb4f 100644 --- a/lib/osdn/cli/runner.rb +++ b/lib/osdn/cli/runner.rb @@ -80,6 +80,10 @@ module OSDN command = get_command_class(command_name).new(logger) logger.debug "Run command #{command_name}" begin + Signal.trap "INT" do + puts :INT + exit + end command.run rescue OSDNClient::ApiError => e begin diff --git a/lib/osdn/cli/version.rb b/lib/osdn/cli/version.rb index 0506c17..57062d9 100644 --- a/lib/osdn/cli/version.rb +++ b/lib/osdn/cli/version.rb @@ -1,5 +1,5 @@ module OSDN module CLI - VERSION = "0.1.5" + VERSION = "0.1.6" end end -- 2.11.0