cocoapods-tj 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-tj/gem_version.rb +1 -1
- data/lib/cocoapods-tj/native/resolver.rb +28 -24
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f36f2659c5af7409a17e06503845a33ffbfd5de66a084df46133ea3823b03221
|
4
|
+
data.tar.gz: 104b0d1864bf235cd2b240094a71c90f142f2eca8891e75ce3e23d36163da5bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6945e583e0a85b6e2e581a4b83e88e63e187a3ac62efee054f5559da2a3ed5a4e3b5494772c3ff788654fd4f2bbbe22ea6e735372cfa2e872b8255977a9d9310
|
7
|
+
data.tar.gz: 33d4a0aa8bea75546246b5d98312c6a2802abf5fe116c88666ed05cd9ef8268037e6cff5a4d67d8a94290d3c5af73cc173d6909a1aeec0bb6038a17cdaaac834
|
@@ -80,9 +80,6 @@ module Pod
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
# >= 1.4.0 才有 resolver_specs_by_target 以及 ResolverSpecification
|
84
|
-
# >= 1.5.0 ResolverSpecification 才有 source,供 install 或者其他操作时,输入 source 变更
|
85
|
-
#
|
86
83
|
if Pod.match_version?('~> 1.4')
|
87
84
|
old_resolver_specs_by_target = instance_method(:resolver_specs_by_target)
|
88
85
|
define_method(:resolver_specs_by_target) do
|
@@ -103,27 +100,28 @@ module Pod
|
|
103
100
|
end
|
104
101
|
|
105
102
|
specs_by_target[target] = rspecs.map do |rspec|
|
103
|
+
sepc_path = rspec.spec.defined_in_file.dirname.to_s
|
104
|
+
if !sepc_path.include?("Pods/Local")
|
106
105
|
|
106
|
+
use_binary = use_binary_rspecs.include?(rspec)
|
107
|
+
source = use_binary ? sources_manager.binary_source : sources_manager.code_source
|
107
108
|
|
108
|
-
|
109
|
-
source = use_binary ? sources_manager.binary_source : sources_manager.code_source
|
109
|
+
spec_version = rspec.spec.version
|
110
110
|
|
111
|
-
|
111
|
+
begin
|
112
|
+
specification = source.specification(rspec.root.name, spec_version)
|
113
|
+
UI.message "#{rspec.root.name} #{spec_version} \r\n specification =#{specification} "
|
114
|
+
if rspec.spec.subspec?
|
115
|
+
specification = specification.subspec_by_name(rspec.name, false, true)
|
116
|
+
end
|
112
117
|
|
113
|
-
|
114
|
-
specification = source.specification(rspec.root.name, spec_version)
|
115
|
-
UI.message "#{rspec.root.name} #{spec_version} \r\n specification =#{specification} "
|
116
|
-
if rspec.spec.subspec?
|
117
|
-
specification = specification.subspec_by_name(rspec.name, false, true)
|
118
|
-
end
|
119
|
-
|
120
|
-
next unless specification
|
118
|
+
next unless specification
|
121
119
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
120
|
+
used_by_only = if Pod.match_version?('~> 1.7')
|
121
|
+
rspec.used_by_non_library_targets_only
|
122
|
+
else
|
123
|
+
rspec.used_by_tests_only
|
124
|
+
end
|
127
125
|
|
128
126
|
rspec = if Pod.match_version?('~> 1.4.0')
|
129
127
|
ResolverSpecification.new(specification, used_by_only)
|
@@ -131,17 +129,23 @@ module Pod
|
|
131
129
|
ResolverSpecification.new(specification, used_by_only, source)
|
132
130
|
end
|
133
131
|
|
134
|
-
|
132
|
+
# end
|
135
133
|
|
136
|
-
|
134
|
+
rescue Pod::StandardError => e
|
135
|
+
|
136
|
+
# missing_binary_specs << rspec.spec if use_binary
|
137
|
+
missing_binary_specs << rspec.spec
|
138
|
+
rspec
|
139
|
+
end
|
137
140
|
|
138
|
-
# missing_binary_specs << rspec.spec if use_binary
|
139
|
-
missing_binary_specs << rspec.spec
|
140
141
|
rspec
|
141
|
-
end
|
142
142
|
|
143
|
+
end
|
143
144
|
rspec
|
145
|
+
|
146
|
+
|
144
147
|
end.compact
|
148
|
+
print ""
|
145
149
|
end
|
146
150
|
|
147
151
|
if missing_binary_specs.any?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-tj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- song
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|