podfileDep 2.1.3 → 2.1.4

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: b479368822acf20f1da58121068b5c6208414bbe3158bc582e437892319c44d8
4
- data.tar.gz: 0504f3e3173a327cc8d87b3832cbcced33dddcd1a378678a065e5f2284c7cfda
3
+ metadata.gz: 9b307485990dd6f82f244290afb72f4cf37799311bee29b775760c1dc3d2bfb5
4
+ data.tar.gz: 5be9dcca047f6f9167c79fe24e146ba3ce17ffca75c0e2e1a6bbc010af85aa5e
5
5
  SHA512:
6
- metadata.gz: e1a08af8494a82cbd4dbfd51e81bddf386d4b0299392e6122ceefa8772d645c90139bc9f0ea6703badb30dfe42a4c44cd21ddca81ce5a1110f2e520093e74a31
7
- data.tar.gz: 2b03e7f3f5ae2aeb178f03726cdba9d2c5f24d806cce25d544c453ad53d62e84ccc845c09a49f4b06708ee8e0294495854b11aa9c87781af2647c38725604546
6
+ metadata.gz: 1bb93659b414f9d33c19c7741c020e475b39e3c15b913f5e221ce7157e773c1f218d62518547a961ece3fc2ff20b0304c77751d60c3e1c39c911f00f08f9d979
7
+ data.tar.gz: 270ee21f3ecc998b145ae82693ee985fbce4f1cd4ee6cf00dc6f48f685ac2d91114c59fd2e3e9b1d36da4d65e2256444b3c93715a8a3be4050af87631ad4ebcf
data/CHANGELOG.md CHANGED
@@ -1,51 +1,42 @@
1
1
  ## [Released]
2
2
 
3
- ## [1.1.0] - 2023-01-16
3
+ ### [2.1.4] - 2023-6-19
4
+ - 修复空异常
4
5
 
5
- - 初始功能完成,对Podfile文件托管
6
+ ### [2.1.3] - 2023-6-19
7
+ - 更新提示语修改
6
8
 
7
- ## [1.1.0] - 2023-02-01
8
-
9
- - 初始化参数简化
10
-
11
- ## [1.1.1] - 2023-02-16
12
-
13
- - 对FBRetainCycleDetector组件编译报错的处理
14
-
15
- ## [1.1.2] - 2023-03-02
16
-
17
- - 对FBRetainCycleDetector库中fishhook崩溃问题的处理
18
-
19
- ## [1.1.3] - 2023-03-08
20
-
21
- - 对FBRetainCycleDetector库中引用关系分析崩溃问题的处理
9
+ ### [2.1.2] - 2023-6-19
10
+ - 被local文件引用的依赖 不移除
22
11
 
23
- ## [1.1.4] - 2023-03-08
12
+ ### [2.1.1] - 2023-6-19
13
+ - 移除不被引用的依赖在pod install时加速
24
14
 
25
- - 对FBRetainCycleDetector库中引用关系分析崩溃问题的处理(1)
15
+ ### [2.1.0] - 2023-6-19
16
+ - QUICKBUILD字段支持移除不被引用的依赖
26
17
 
27
- ## [2.0.0] - 2023-6-18
18
+ ### [2.0.1] - 2023-6-19
19
+ - 打印间接依赖
28
20
 
21
+ ### [2.0.0] - 2023-6-18
29
22
  - 全新使用方式接入,更加方便,仅需一行代码接入
30
23
  - yaml文件新增字段检验,支持subspecs字段
31
24
  - 对文件中import的检验更加准确
32
25
 
33
- ## [2.0.1] - 2023-6-19
34
-
35
- - 打印间接依赖
36
-
37
- ## [2.1.0] - 2023-6-19
38
-
39
- - QUICKBUILD字段支持移除不被引用的依赖
40
- -
41
- ## [2.1.1] - 2023-6-19
26
+ ### [1.1.4] - 2023-03-08
27
+ - 对FBRetainCycleDetector库中引用关系分析崩溃问题的处理(1)
42
28
 
43
- - 移除不被引用的依赖在pod install时加速
29
+ ### [1.1.3] - 2023-03-08
30
+ - 对FBRetainCycleDetector库中引用关系分析崩溃问题的处理
44
31
 
45
- ## [2.1.2] - 2023-6-19
32
+ ### [1.1.2] - 2023-03-02
33
+ - 对FBRetainCycleDetector库中fishhook崩溃问题的处理
46
34
 
47
- - 被local文件引用的依赖 不移除
35
+ ### [1.1.1] - 2023-02-16
36
+ - 对FBRetainCycleDetector组件编译报错的处理
48
37
 
49
- ## [2.1.3] - 2023-6-19
38
+ ### [1.1.0] - 2023-02-01
39
+ - 初始化参数简化
50
40
 
51
- - 更新提示语修改
41
+ ### [1.1.0] - 2023-01-16
42
+ - 初始功能完成,对Podfile文件托管
@@ -14,7 +14,13 @@ module CocoapodsPlugin
14
14
  # end
15
15
  #
16
16
  # Pod::HooksManager.register('podfileDep', :pre_install) do |context|
17
- # puts "hook pre_install"
17
+ # targets = context.podfile.target_definition_list
18
+ # targets.each {|target|
19
+ # target.children.each{|target_definition|
20
+ # puts target_definition.dependencies
21
+ # }
22
+ # }
23
+ #
18
24
  # puts context
19
25
  # end
20
26
 
@@ -135,7 +135,7 @@ module Unused
135
135
  all_modules = lock_content["PODS"]
136
136
 
137
137
  result_array = []
138
- all_modules.each do |item|
138
+ Array(all_modules).each do |item|
139
139
  if item.class == String
140
140
  dep = item.split(" (")[0]
141
141
  result_array << {dep => []}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PodfileDep
4
- VERSION = "2.1.3"
4
+ VERSION = "2.1.4"
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.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - 王帅朋
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-19 00:00:00.000000000 Z
11
+ date: 2023-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods