cocoapods-azure-universal-packages 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e051ebb86ce103f034a0f2f2fbe5f8594933c7561c0c8c39abda6b4c27172e28
|
4
|
+
data.tar.gz: ca0ec59da4f7844774c6e4c962d8887619455e1889a3c6f1e6412705d8d59ed0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e36296b576a1f5cdc4a5af2daf7ed5c33666ee338b44b04547eabff1e15131af7b6833605352a962fa584e38c7edcba070cbf7ac0a68e1a6c4823ea80d774e10
|
7
|
+
data.tar.gz: b147236832cfbd6a9f7038f472c25abecd5089c1ef16abe370bc16693f42384fbeb40667c9b804bf933f1ac7de3ec9c1cef72629af8dae7debde16bcd673a4e0
|
@@ -28,6 +28,29 @@ module Pod
|
|
28
28
|
|
29
29
|
if !aup_uri_components.nil? && Downloader.azure_base_urls.include?("#{aup_uri_components['scheme']}://#{aup_uri_components['host']}")
|
30
30
|
download_azure_universal_package!(aup_uri_components)
|
31
|
+
|
32
|
+
# Extract the file if it's the only one in the package
|
33
|
+
package_files = target_path.glob('*')
|
34
|
+
if package_files.count == 1 && package_files.first.file?
|
35
|
+
file = package_files.first
|
36
|
+
file_type = begin
|
37
|
+
case file.to_s
|
38
|
+
when /\.zip$/
|
39
|
+
:zip
|
40
|
+
when /\.(tgz|tar\.gz)$/
|
41
|
+
:tgz
|
42
|
+
when /\.tar$/
|
43
|
+
:tar
|
44
|
+
when /\.(tbz|tar\.bz2)$/
|
45
|
+
:tbz
|
46
|
+
when /\.(txz|tar\.xz)$/
|
47
|
+
:txz
|
48
|
+
when /\.dmg$/
|
49
|
+
:dmg
|
50
|
+
end
|
51
|
+
end
|
52
|
+
extract_with_type(file, file_type) unless file_type.nil?
|
53
|
+
end
|
31
54
|
else
|
32
55
|
aliased_download!
|
33
56
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-azure-universal-packages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|