From: Tatsuki Sugiura Date: Wed, 27 Jul 2016 07:07:57 +0000 (+0900) Subject: Update version. X-Git-Tag: v0.1.6^0 X-Git-Url: http://git.osdn.net/view?p=osdn-codes%2Fosdn-cli.git;a=commitdiff_plain;h=d4cf02528fdd9a015ab641cf322b12f33f6d054d Update version. --- 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