cocoapods-bin 0.1.13 → 0.1.14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e573093df9af0838e23b54e789e0ac327ed5438
|
4
|
+
data.tar.gz: de394c9fe817917e8360258f7b88819c076ccd8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8739b2c44bd8d8b2f2d995e85500d141c825e7e293fa31a77026db1b777980a80d9ebe415f7ce14907faccda1a912f51f5bf48caddb56528cb4e4569fc6f2210
|
7
|
+
data.tar.gz: f491334bb81a20c24435647d12a61871e48dfc123f067cf8ff25962c0361e41ba25b97f76ea8084c432e83fca6a968854017cba2df7b06d195bfd0d1fa67ad65
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cocoapods-bin (0.1.
|
4
|
+
cocoapods-bin (0.1.14)
|
5
5
|
cocoapods (~> 1.4)
|
6
6
|
parallel
|
7
7
|
|
@@ -68,7 +68,7 @@ GEM
|
|
68
68
|
nanaimo (0.2.6)
|
69
69
|
nap (1.1.0)
|
70
70
|
netrc (0.11.0)
|
71
|
-
parallel (1.
|
71
|
+
parallel (1.17.0)
|
72
72
|
prettybacon (0.0.2)
|
73
73
|
bacon (~> 1.2)
|
74
74
|
rake (12.3.2)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'cocoapods-bin/native/specification'
|
2
|
+
|
3
|
+
module Pod
|
4
|
+
class Sandbox
|
5
|
+
class PodspecFinder
|
6
|
+
def podspecs
|
7
|
+
return @specs_by_name if @specs_by_name
|
8
|
+
@specs_by_name = {}
|
9
|
+
spec_files = Pathname.glob(root + '{,*}.podspec{,.json}')
|
10
|
+
# pod 指向分支时,如果目标组件有 subspec ,并且有 template spec ,request 之后使用的 spec 不应该为 template spec
|
11
|
+
# 这里做下过滤
|
12
|
+
spec_files = spec_files.reject { |p| Specification::DEFAULT_TEMPLATE_EXTNAME.find { |e| p.to_s.end_with?(e) } }
|
13
|
+
spec_files.sort_by { |p| -p.to_path.split(File::SEPARATOR).size }.each do |file|
|
14
|
+
spec = Specification.from_file(file)
|
15
|
+
spec.validate_cocoapods_version
|
16
|
+
@specs_by_name[spec.name] = spec
|
17
|
+
end
|
18
|
+
@specs_by_name
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/cocoapods-bin/native.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tripleCC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|
@@ -113,6 +113,7 @@ files:
|
|
113
113
|
- lib/cocoapods-bin/native/pod_source_installer.rb
|
114
114
|
- lib/cocoapods-bin/native/podfile.rb
|
115
115
|
- lib/cocoapods-bin/native/podfile_env.rb
|
116
|
+
- lib/cocoapods-bin/native/podspec_finder.rb
|
116
117
|
- lib/cocoapods-bin/native/resolver.rb
|
117
118
|
- lib/cocoapods-bin/native/sandbox_analyzer.rb
|
118
119
|
- lib/cocoapods-bin/native/source.rb
|