podfileDep 2.4.8 → 2.4.10
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/podfileDep/check/project.rb +13 -4
- data/lib/podfileDep/version.rb +1 -1
- 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: 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
|
# 文件引用
|
|
@@ -154,9 +157,9 @@ module Xcodeproj
|
|
|
154
157
|
|
|
155
158
|
if source_file_item
|
|
156
159
|
extend_name = child.real_path.basename.extname
|
|
157
|
-
|
|
160
|
+
basename = child.real_path.basename
|
|
161
|
+
if basename.to_s == "#{module_name}.podspec" or basename.to_s == "#{module_name}.podspec.json"
|
|
158
162
|
source_file_item.podspec_path = child.real_path
|
|
159
|
-
source_file_item.is_development_module = true
|
|
160
163
|
elsif source_file_extension.include?(extend_name)
|
|
161
164
|
source_file_item.source_files[child.real_path.basename.to_s] = child.real_path
|
|
162
165
|
if header_file_extension.include?(extend_name)
|
|
@@ -188,8 +191,14 @@ module Xcodeproj
|
|
|
188
191
|
local_spec = lock_content["EXTERNAL SOURCES"]
|
|
189
192
|
if local_spec and local_spec[module_name]
|
|
190
193
|
path = local_spec[module_name][:path]
|
|
191
|
-
|
|
192
|
-
|
|
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
|
|
193
202
|
end
|
|
194
203
|
end
|
|
195
204
|
|
data/lib/podfileDep/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: podfileDep
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 王帅朋
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-08-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods
|