podfileDep 2.5.1 → 2.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e0770a395f64dadc1043ac8c872b0283932ec9df1f98ec1f03b8f75c08f2401
4
- data.tar.gz: '09aac9c5e18ab596663daa3986f26fb6fda42b78acbb74465619d7df60b5edae'
3
+ metadata.gz: 761beb5ad84a30b5ca3d46afbb6c45291dd5047692278f67909a3eb05a7e9151
4
+ data.tar.gz: '07981de74f8f8bd1adc53aa5ea36d75e3cd0c5b518ce0fcfd8c40d8482d6abe5'
5
5
  SHA512:
6
- metadata.gz: 1f80f6201b3c24461a5af0e72c426b00bdc25fa3e693118407e7cff3fba0c1f4e4bf19ea83c3e1f23d9329d2760826061b85ed6e754eb27a495b3c271f029b03
7
- data.tar.gz: e83d8240305ded4c585cfecc849b7d856d93c3064213b3a90bcc59abcda56c3118243863e4851cffb9c0d2fe0d1cc5173c7e20f387e3dcb7e4849fa4244edc03
6
+ metadata.gz: e848eee9d583de4435bae0097475e15f715d42b15e0952ee03672472ea1e6ed9a1c64136a782f1cd5268b63e26a95301fac3cee9e3a0ccd8d26ca6bc61958ca5
7
+ data.tar.gz: d98c4aefe43c78366596e9680bfe26924e7edb4127fc71a1128a365a33508060fb31af8f2803f05609c9908c974e55e2bc8741ed773d9d57938d492eb1aace73
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  ## [Released]
2
- ### [2.5.1] - 2023-08-24
3
- - 修复【pod时将所有的target名字都放出来给外部】同时podfile又写target的问题
2
+
3
+ ### [2.5.3] - 2023-09-27
4
+ - 当读取到组件的podspec路径为空时,跳过检查,暂时忽略
5
+
6
+ ### [2.5.2] - 2023-08-22
7
+ - pod时将所有的target名字都放出来给外部--回滚,还是原来的正确
8
+
9
+ ### [2.5.1] - 2023-08-22
10
+ - 有问题 不能用
4
11
 
5
12
  ### [2.5.0] - 2023-08-22
6
13
  - pod时将所有的target名字都放出来给外部
@@ -29,6 +29,9 @@ module Xcodeproj
29
29
  unless module_item.is_development_module
30
30
  next
31
31
  end
32
+ unless module_item.podspec_path
33
+ next
34
+ end
32
35
  module_count += 1
33
36
 
34
37
  module_item.init_absolute_import_info
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PodfileDep
4
- VERSION = "2.5.1"
4
+ VERSION = "2.5.3"
5
5
  end
@@ -51,18 +51,14 @@ module Pod
51
51
  # 存储所有的依赖
52
52
  targets_dependencies.each { |target_obj, dependencies|
53
53
  target_name = target_obj.name
54
- if dependencies.size > 0
55
- podfile.target target_name do
56
- dependencies.each { |dependency|
57
- if dependency.version
58
- podfile.pod dependency.pod, dependency.version, dependency.option
59
- else
60
- podfile.pod dependency.pod, dependency.option
61
- end
62
- }
63
- yield(target_name) if block_given?
64
- end
65
- else
54
+ podfile.target target_name do
55
+ dependencies.each { |dependency|
56
+ if dependency.version
57
+ podfile.pod dependency.pod, dependency.version, dependency.option
58
+ else
59
+ podfile.pod dependency.pod, dependency.option
60
+ end
61
+ }
66
62
  yield(target_name) if block_given?
67
63
  end
68
64
  }
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.5.1
4
+ version: 2.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - 王帅朋
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-24 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods