From be80fbc5d875f3f3c9cf07c12aeb2f2f901f1037 Mon Sep 17 00:00:00 2001 From: "Luis M. Rodriguez-R" Date: Thu, 8 Feb 2024 10:20:58 +0100 Subject: [PATCH] Minor change to avoid unexpected failures --- lib/miga/metadata.rb | 2 +- lib/miga/version.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/miga/metadata.rb b/lib/miga/metadata.rb index 00dcf8f..fa98c29 100644 --- a/lib/miga/metadata.rb +++ b/lib/miga/metadata.rb @@ -103,7 +103,7 @@ def load # Delete file at #path def remove! MiGA.DEBUG "Metadata.remove! #{path}" - File.unlink(path) + File.unlink(path) if File.exist?(path) nil end diff --git a/lib/miga/version.rb b/lib/miga/version.rb index 411bebc..754835d 100644 --- a/lib/miga/version.rb +++ b/lib/miga/version.rb @@ -12,7 +12,7 @@ module MiGA # - String indicating release status: # - rc* release candidate, not released as gem # - [0-9]+ stable release, released as gem - VERSION = [1.3, 10, 2].freeze + VERSION = [1.3, 10, 3].freeze ## # Nickname for the current major.minor version. @@ -20,7 +20,7 @@ module MiGA ## # Date of the current gem relese. - VERSION_DATE = Date.new(2024, 2, 6) + VERSION_DATE = Date.new(2024, 2, 8) ## # References of MiGA