miga-base 0.3.1.4 → 0.3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2edb583f3cefe6b6f36a52b50b595e0f0d8be81c
4
- data.tar.gz: 11a9c0c45f7144e88c01d5c7d4fc1c1bcda6b8e6
3
+ metadata.gz: 36bdee987135a432485bcb9eb49895ad22c19870
4
+ data.tar.gz: 7409617014eb5adfb0adba8cdaa53c80db185db4
5
5
  SHA512:
6
- metadata.gz: 75748d35171225261a4fc962ea80aa3ffc64ccf76206203866eb9fc60a3ae6b69c9b362f8e8248b5e7740aff2b63b8021c912f2b0a76950d5a7da04e95ef94b7
7
- data.tar.gz: eece83478cfe635f9828eae45807a6bc072c5960a3320d05d154cf2ad8cd117fc0a1d801ec6b2ac18f527b62053bc698ee5f85f0ac4a0b8f5890516383130817
6
+ metadata.gz: f9000a92772143755f48e3c27e69cd9c42533cbd8946682239c3d3f9e8596342d4b5214d86d84363fa77dc8f8947915b764e3bd861431151a0dd86299db5fce3
7
+ data.tar.gz: 35b4eb28a73c23f601bfcac9777c25cf7116a69654f3b99a95e46118256041f2d0e2ec89dca379d97e46c6bae87fd5b64e481895e9f305573722905da6c3f22e
@@ -108,8 +108,11 @@ class MiGA::MiGA
108
108
  fh.close
109
109
  FileUtils.cp(tmp_path, file)
110
110
  ensure
111
- tmp_fh.close unless tmp_fh.nil?
112
- File.unlink(tmp_path) unless tmp_path.nil?
111
+ begin
112
+ tmp_fh.close unless tmp_fh.nil?
113
+ File.unlink(tmp_path) unless tmp_path.nil?
114
+ rescue
115
+ end
113
116
  end
114
117
  end
115
118
 
@@ -10,7 +10,7 @@ module MiGA
10
10
  # - Float representing the major.minor version.
11
11
  # - Integer representing gem releases of the current version.
12
12
  # - Integer representing minor changes that require new version number.
13
- VERSION = [0.3, 1, 4]
13
+ VERSION = [0.3, 1, 5]
14
14
 
15
15
  ##
16
16
  # Nickname for the current major.minor version.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miga-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1.4
4
+ version: 0.3.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R