podfileDep 2.5.3 → 2.5.5

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: 761beb5ad84a30b5ca3d46afbb6c45291dd5047692278f67909a3eb05a7e9151
4
- data.tar.gz: '07981de74f8f8bd1adc53aa5ea36d75e3cd0c5b518ce0fcfd8c40d8482d6abe5'
3
+ metadata.gz: afd20b972efeddcc6ba38fdee4455823e6dd6d24e8ea44f72354efa3ed8d4224
4
+ data.tar.gz: ca365e2bbbe650656499d1fe96484a063c6a45c15c2181f1daaa14a16e743d8c
5
5
  SHA512:
6
- metadata.gz: e848eee9d583de4435bae0097475e15f715d42b15e0952ee03672472ea1e6ed9a1c64136a782f1cd5268b63e26a95301fac3cee9e3a0ccd8d26ca6bc61958ca5
7
- data.tar.gz: d98c4aefe43c78366596e9680bfe26924e7edb4127fc71a1128a365a33508060fb31af8f2803f05609c9908c974e55e2bc8741ed773d9d57938d492eb1aace73
6
+ metadata.gz: 2f3e2c04c939e54f80a6c462077f1135a1c4734ab5c592eeb42e49a2fdcee98b417ae463270734b6857b177f15c03c1700b236430cc43010edff744adbfa4264
7
+ data.tar.gz: 566e58517279e0a66579f65017ef4dfcb0116d19584fe250e548132cd95929d11fa8687a25c2900ac2e4c0b439ff031047989b517ed36bbe279cdebce04b14a3
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
1
  ## [Released]
2
+ ### [2.5.5] - 2023-10-16
3
+ - 2.5.4打包失败,修改版本号
4
+
5
+ ### [2.5.4] - 2023-10-16
6
+ - 获取组件多余的依赖时,过滤掉当前组件
2
7
 
3
8
  ### [2.5.3] - 2023-09-27
4
9
  - 当读取到组件的podspec路径为空时,跳过检查,暂时忽略
@@ -12,7 +17,7 @@
12
17
  ### [2.5.0] - 2023-08-22
13
18
  - pod时将所有的target名字都放出来给外部
14
19
 
15
- - ### [2.4.14] - 2023-08-04
20
+ ### [2.4.14] - 2023-08-04
16
21
  - 打印pod依赖库按类型输出(fix)
17
22
 
18
23
  ### [2.4.13] - 2023-08-04
@@ -84,7 +89,7 @@
84
89
 
85
90
  ### [2.2.3] - 2023-7-5
86
91
  - 命令行支持 pod install quick
87
- -
92
+
88
93
  ### [2.2.2] - 2023-7-5
89
94
  - 彩色日志输出
90
95
 
@@ -96,7 +101,7 @@
96
101
 
97
102
  ### [2.1.6] - 2023-6-21
98
103
  - 兼容同时支持最原始的podfile的方式pod依赖库
99
- -
104
+
100
105
  ### [2.1.5] - 2023-6-20
101
106
  - 兼容同时支持subspec和configurations
102
107
 
@@ -43,7 +43,7 @@ module Xcodeproj
43
43
  podspec_modules = get_podspec_modules(module_item)
44
44
 
45
45
  loss = loss_modules(need_modules, podspec_modules)
46
- unused = unused_modules(need_modules, podspec_modules)
46
+ unused = unused_modules(need_modules, podspec_modules, module_item)
47
47
 
48
48
  if loss.size >0
49
49
  puts "组件#{module_item.module_name}可能缺少以下依赖(#{loss.size}个), 请检查:".yellow
@@ -92,7 +92,7 @@ module Xcodeproj
92
92
  # 获取多余的模块
93
93
  # @param need_modules::[String]
94
94
  # @param podspec_modules::[Hash{String => [String]}]
95
- def unused_modules(need_modules, podspec_modules)
95
+ def unused_modules(need_modules, podspec_modules, module_item)
96
96
  res = []
97
97
  podspec_modules.each do |dep_name, array|
98
98
  contain = false
@@ -102,7 +102,7 @@ module Xcodeproj
102
102
  end
103
103
  end
104
104
 
105
- unless contain
105
+ if not contain and module_item.module_name != dep_name
106
106
  res << dep_name
107
107
  end
108
108
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PodfileDep
4
- VERSION = "2.5.3"
4
+ VERSION = "2.5.5"
5
5
  end
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.3
4
+ version: 2.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - 王帅朋
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods