mini_portile2 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/mini_portile2/mini_portile.rb +4 -2
- data/lib/mini_portile2/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1ed6b562410bfd09f8cbfedd0cadb7cce5bcce6
|
4
|
+
data.tar.gz: 4ac856c665b059f6ce88b2bf8d36ca27e506220e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aefb0218e911e548cd168f0f78ec3ee5d70642446f50548578796d69d3fb0d8fb05e28ba3a1d0a99ee3a9e408f8d045a434c697a0c03f7d77f0a7e92853f3004
|
7
|
+
data.tar.gz: 49f9c4665911313a37bd7eca9a3feff0b8a51b0fb8a425de13b4f082a3692328544d69fe03923560f3625642c9987d71d86a4304fdc5c290a7ae27ccfeb324b8
|
data/CHANGELOG.md
CHANGED
@@ -58,6 +58,7 @@ class MiniPortile
|
|
58
58
|
|
59
59
|
def extract
|
60
60
|
files_hashs.each do |file|
|
61
|
+
verify_file(file)
|
61
62
|
extract_file(file[:local_path], tmp_path)
|
62
63
|
end
|
63
64
|
end
|
@@ -302,11 +303,12 @@ private
|
|
302
303
|
}
|
303
304
|
end
|
304
305
|
|
306
|
+
TAR_EXECUTABLES = %w[gtar bsdtar tar basic-bsdtar]
|
305
307
|
def tar_exe
|
306
308
|
@@tar_exe ||= begin
|
307
|
-
|
309
|
+
TAR_EXECUTABLES.find { |c|
|
308
310
|
which(c)
|
309
|
-
}
|
311
|
+
} or raise("tar not found - please make sure that one of the following commands is in the PATH: #{TAR_EXECUTABLES.join(", ")}")
|
310
312
|
end
|
311
313
|
end
|
312
314
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini_portile2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luis Lavena
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
158
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.6.
|
159
|
+
rubygems_version: 2.6.12
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: Simplistic port-like solution for developers
|