podfileDep 2.4.9 → 2.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/podfileDep/check/project.rb +12 -4
- data/lib/podfileDep/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46e13acf0eb51b18b18bb5dc151bf3023b2ba147e3afbc50ceb1c5d0f6f7691f
|
4
|
+
data.tar.gz: 236f040f1d6b2e1b4571b0120c0f1f50d04e7a965d6162b70337b0501db75784
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04a92fc2f87446f81d8b29a03e433f7d002e07d6ea5a026d2ea3db966b02a7e07d3e5127178e466036073e687fcc162934a22de96e6f3a5a917dd5d76f3f2d8a
|
7
|
+
data.tar.gz: 65ec2bf6cf721efcd1acb2944b29c603125c8b9257acec5ed82cf36b57ae9e029deee408b3817b7260837ba2ab3ec71e5ea29768a5aff36994728def20436633
|
data/CHANGELOG.md
CHANGED
@@ -122,6 +122,9 @@ module Xcodeproj
|
|
122
122
|
if group_hierarchy_path_array.size == 3
|
123
123
|
source_file_item.module_path = group.real_path
|
124
124
|
end
|
125
|
+
if group_hierarchy_path_array.include?("Development Pods")
|
126
|
+
source_file_item.is_development_module = true
|
127
|
+
end
|
125
128
|
end
|
126
129
|
|
127
130
|
# 文件引用
|
@@ -155,9 +158,8 @@ module Xcodeproj
|
|
155
158
|
if source_file_item
|
156
159
|
extend_name = child.real_path.basename.extname
|
157
160
|
basename = child.real_path.basename
|
158
|
-
if basename == "#{module_name}.podspec" or basename == "#{module_name}.podspec.json"
|
161
|
+
if basename.to_s == "#{module_name}.podspec" or basename.to_s == "#{module_name}.podspec.json"
|
159
162
|
source_file_item.podspec_path = child.real_path
|
160
|
-
source_file_item.is_development_module = true
|
161
163
|
elsif source_file_extension.include?(extend_name)
|
162
164
|
source_file_item.source_files[child.real_path.basename.to_s] = child.real_path
|
163
165
|
if header_file_extension.include?(extend_name)
|
@@ -189,8 +191,14 @@ module Xcodeproj
|
|
189
191
|
local_spec = lock_content["EXTERNAL SOURCES"]
|
190
192
|
if local_spec and local_spec[module_name]
|
191
193
|
path = local_spec[module_name][:path]
|
192
|
-
|
193
|
-
|
194
|
+
podspec_path = "#{path}/#{module_name}.podspec"
|
195
|
+
podspec_json_path = "#{path}/#{module_name}.podspec.json"
|
196
|
+
if File.exist?(podspec_path)
|
197
|
+
return Pathname(podspec_path).expand_path
|
198
|
+
elsif File.exist?(podspec_json_path)
|
199
|
+
return Pathname(podspec_json_path).expand_path
|
200
|
+
else
|
201
|
+
return nil
|
194
202
|
end
|
195
203
|
end
|
196
204
|
|
data/lib/podfileDep/version.rb
CHANGED