podfileDep 2.4.7 → 2.4.8

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
  SHA256:
3
- metadata.gz: a72e362862ffcb0df4f368b42c26bd9243c58b8d37745d740dbbc904b7ddc9fa
4
- data.tar.gz: 2822d54b72b52d38e751b7730959895309a025dc971e94e32441e159ebc31d78
3
+ metadata.gz: 50f01dc516550ba9b623d8ec2621040ee100511cf33d47969906bcf38e18d08b
4
+ data.tar.gz: 193160bfc215c33c3e9be06f3c1558d5b9510d998c8aa72be943ccb19f569e0e
5
5
  SHA512:
6
- metadata.gz: 5cff058b4523a748e6cbfc3aa0d752f69afecfcc6bbcdc1cf23857af51bb20d8fe94d89a9f4f89816b3681190513c8eb1676112a7bca9e718021097cae81ced0
7
- data.tar.gz: 9525997dda169ac0c1dae468d3688b7ad3f1afb8154524c8d0e4ffe8817e8e5d64ae37b727a47b32fd2e6b228ae870e3fd1af097e4db5e92c9461b6d83179961
6
+ metadata.gz: 487fb9ba214b062a5d4e205468eeca31b6ed98d3c649ea4629c4aa542fe30a00e31b5b94b7a17d2a176207f928e798aadfb109abee125e564c7113f46d12f7ad
7
+ data.tar.gz: 2d166c6a809ac33c8d47f557666763b1c40aac52f43866bd7a1056d417edf318de0ddb7321c891b6bb06537384db96a76133dbc7b9e77386b05f2c5b6ee881e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## [Released]
2
2
 
3
+ ### [2.4.8] - 2023-7-31
4
+ - podspec检查 开关配置
5
+
3
6
  ### [2.4.7] - 2023-7-31
4
7
  - 依赖库检测问题修复
5
8
 
@@ -15,6 +15,12 @@ module Xcodeproj
15
15
 
16
16
  # 检查podspec文件
17
17
  def check_podspec
18
+
19
+ yaml_dep = Pod::YamlDep.new
20
+ if yaml_dep.disable_check_podspec
21
+ return
22
+ end
23
+
18
24
  puts "podspec文件检查中..."
19
25
  start = (Time.now.to_f * 1000).to_i
20
26
  module_count = 0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PodfileDep
4
- VERSION = "2.4.7"
4
+ VERSION = "2.4.8"
5
5
  end
@@ -529,5 +529,15 @@ module Pod
529
529
  quick1 or $quick_build
530
530
  end
531
531
 
532
+ #是否禁用检查podspec文件
533
+ def disable_check_podspec
534
+ yaml_content = read_yaml_content(podfile_local_yaml)
535
+ disable_check_podspec = yaml_content ? !!(yaml_content["DISABLE_CHECK_PODSPEC"]) : false
536
+ if disable_check_podspec
537
+ puts "已关闭podspec文件检查,如需开启,请在#{podfile_local_yaml}里设置DISABLE_CHECK_PODSPEC为false"
538
+ end
539
+ disable_check_podspec
540
+ end
541
+
532
542
  end
533
543
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podfileDep
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.7
4
+ version: 2.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - 王帅朋