cocoapods-downloader 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of cocoapods-downloader might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc4fe940ffcfe1f304e30cf50212217dc821e13e3a3431e73c01af91f54139b7
|
4
|
+
data.tar.gz: e71b8009f6c2f939cac92ef1ecbff51f824e2d1ea394d5b1d9936c14d41d2c61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a3666c592eaedbd7e87a550520d6184548e9cb9d71c0b16eef51ea961a5a5b12a5803d563cb16fc1c12e07bba5892cca44520d0b9ffc38909ededee9696c86a
|
7
|
+
data.tar.gz: c7059215e47fc5bc22026ea3b5b4a502b39b24f377280e9242a61a11e317bfa73cbee6f1d6737885c5e4da6d6ca95bf62971e283241b7878b2cb943d09a7d380
|
data/README.markdown
CHANGED
@@ -2,9 +2,10 @@
|
|
2
2
|
|
3
3
|
A small library for downloading files from remotes in a folder.
|
4
4
|
|
5
|
-
[![Build Status](https://img.shields.io/
|
6
|
-
[![
|
7
|
-
[![
|
5
|
+
[![Build Status](https://img.shields.io/github/workflow/status/CocoaPods/CocoaPods-Downloader/Spec)](https://github.com/CocoaPods/cocoapods-downloader/actions)
|
6
|
+
[![Gem Version](https://img.shields.io/gem/v/cocoapods-downloader)](https://rubygems.org/gems/cocoapods-downloader)
|
7
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/CocoaPods/cocoapods-downloader/maintainability)
|
8
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/test_coverage)](https://codeclimate.com/github/CocoaPods/cocoapods-downloader/test_coverage)
|
8
9
|
|
9
10
|
## Install
|
10
11
|
|
@@ -52,7 +52,8 @@ module Pod
|
|
52
52
|
#
|
53
53
|
def self.commit_from_ls_remote(output, branch_name)
|
54
54
|
return nil if branch_name.nil?
|
55
|
-
|
55
|
+
encoded_branch_name = branch_name.force_encoding(Encoding::ASCII_8BIT)
|
56
|
+
match = %r{([a-z0-9]*)\trefs\/(heads|tags)\/#{Regexp.quote(encoded_branch_name)}}.match(output)
|
56
57
|
match[1] unless match.nil?
|
57
58
|
end
|
58
59
|
|
@@ -93,13 +93,7 @@ module Pod
|
|
93
93
|
case type
|
94
94
|
when :zip
|
95
95
|
unzip! unpack_from, '-d', unpack_to
|
96
|
-
when :tgz
|
97
|
-
tar! 'xfz', unpack_from, '-C', unpack_to
|
98
|
-
when :tar
|
99
|
-
tar! 'xf', unpack_from, '-C', unpack_to
|
100
|
-
when :tbz
|
101
|
-
tar! 'xfj', unpack_from, '-C', unpack_to
|
102
|
-
when :txz
|
96
|
+
when :tar, :tgz, :tbz, :txz
|
103
97
|
tar! 'xf', unpack_from, '-C', unpack_to
|
104
98
|
when :dmg
|
105
99
|
extract_dmg(unpack_from, unpack_to)
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-downloader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
8
8
|
- Fabio Pelosin
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-08-31 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description:
|
14
|
+
description:
|
15
15
|
email:
|
16
16
|
- eloy.de.enige@gmail.com
|
17
17
|
- fabiopelosin@gmail.com
|
@@ -37,7 +37,7 @@ homepage: https://github.com/CocoaPods/cocoapods-downloader
|
|
37
37
|
licenses:
|
38
38
|
- MIT
|
39
39
|
metadata: {}
|
40
|
-
post_install_message:
|
40
|
+
post_install_message:
|
41
41
|
rdoc_options: []
|
42
42
|
require_paths:
|
43
43
|
- lib
|
@@ -52,8 +52,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0'
|
54
54
|
requirements: []
|
55
|
-
rubygems_version: 3.
|
56
|
-
signing_key:
|
55
|
+
rubygems_version: 3.2.3
|
56
|
+
signing_key:
|
57
57
|
specification_version: 3
|
58
58
|
summary: A small library for downloading files from remotes in a folder.
|
59
59
|
test_files: []
|