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 +4 -4
- data/lib/miga/common.rb +5 -2
- data/lib/miga/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36bdee987135a432485bcb9eb49895ad22c19870
|
|
4
|
+
data.tar.gz: 7409617014eb5adfb0adba8cdaa53c80db185db4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f9000a92772143755f48e3c27e69cd9c42533cbd8946682239c3d3f9e8596342d4b5214d86d84363fa77dc8f8947915b764e3bd861431151a0dd86299db5fce3
|
|
7
|
+
data.tar.gz: 35b4eb28a73c23f601bfcac9777c25cf7116a69654f3b99a95e46118256041f2d0e2ec89dca379d97e46c6bae87fd5b64e481895e9f305573722905da6c3f22e
|
data/lib/miga/common.rb
CHANGED
|
@@ -108,8 +108,11 @@ class MiGA::MiGA
|
|
|
108
108
|
fh.close
|
|
109
109
|
FileUtils.cp(tmp_path, file)
|
|
110
110
|
ensure
|
|
111
|
-
|
|
112
|
-
|
|
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
|
|
data/lib/miga/version.rb
CHANGED
|
@@ -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,
|
|
13
|
+
VERSION = [0.3, 1, 5]
|
|
14
14
|
|
|
15
15
|
##
|
|
16
16
|
# Nickname for the current major.minor version.
|