podfileDep 2.7.7 → 3.0.0

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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/bin/console +15 -0
  3. data/bin/setup +8 -0
  4. data/lib/cocoapods_plugin.rb +15 -10
  5. data/lib/{podfileDep → core_blur}/check/import.rb +1 -20
  6. data/lib/{podfileDep → core_blur}/check/item.rb +1 -64
  7. data/lib/{podfileDep → core_blur}/check/podspec.rb +1 -54
  8. data/lib/{podfileDep → core_blur}/check/project.rb +1 -73
  9. data/lib/{podfileDep → core_blur}/check/util.rb +1 -13
  10. data/lib/{podfileDep → core_blur}/check/xcodeproj.rb +1 -28
  11. data/lib/{podfileDep → core_blur}/command/all.rb +1 -8
  12. data/lib/{podfileDep → core_blur}/command/dep.rb +1 -6
  13. data/lib/{podfileDep → core_blur}/command/quick.rb +1 -8
  14. data/lib/{podfileDep → core_blur}/dep/find.rb +6 -45
  15. data/lib/{podfileDep → core_blur}/indirect/indirect.rb +1 -9
  16. data/lib/{podfileDep → core_blur}/modify/modify_code.rb +1 -10
  17. data/lib/{podfileDep → core_blur}/my_constants.rb +0 -3
  18. data/lib/{podfileDep → core_blur}/podfilelock.rb +1 -5
  19. data/lib/{podfileDep → core_blur}/reference/project.rb +1 -26
  20. data/lib/{podfileDep → core_blur}/reference/unused.rb +1 -8
  21. data/lib/{podfileDep → core_blur}/thin/installer.rb +1 -49
  22. data/lib/{podfileDep → core_blur}/thin/local.rb +1 -14
  23. data/lib/{podfileDep → core_blur}/thin/pod_target.rb +1 -13
  24. data/lib/{podfileDep → core_blur}/thin/shell.rb +1 -43
  25. data/lib/core_blur/variable.rb +1 -0
  26. data/lib/{podfileDep → core_blur}/yaml/yaml_dep.rb +2 -116
  27. data/lib/{podfileDep → core_blur}/yaml/yaml_pod.rb +1 -6
  28. data/lib/core_helper.rb +20 -0
  29. data/lib/podfileDep.rb +8 -21
  30. data/lib/{podfileDep/version.rb → version.rb} +1 -1
  31. metadata +34 -40
  32. data/CHANGELOG.md +0 -178
  33. data/Gemfile +0 -8
  34. data/README.md +0 -33
  35. data/Rakefile +0 -4
  36. data/docs/Gemfile +0 -9
  37. data/docs/debug/347/233/256/345/275/225.png +0 -0
  38. data/docs/debug/351/205/215/347/275/256.png +0 -0
  39. data/lib/podfileDep/variable.rb +0 -2
  40. data/podfileDep.gemspec +0 -45
  41. data/release.sh +0 -6
data/CHANGELOG.md DELETED
@@ -1,178 +0,0 @@
1
- ## [Released]
2
- ### [2.7.6] - 2024-12-29
3
- - pod dep命令后由-改为单个- 例如--name=XX 不能使用- 解析不了
4
-
5
- ### [2.7.6] - 2024-12-29
6
- - pod dep命令后由--改为单个- 例如-name=XX
7
-
8
- ### [2.7.5] - 2024-12-29
9
- - 修改描述
10
-
11
- ### [2.7.4] - 2024-08-13
12
- - 修复pod dep正向依赖数量错误的问题
13
-
14
- ### [2.7.3] - 2024-08-12
15
- - 新增:同时也支持打印出正向依赖
16
-
17
- ### [2.7.2] - 2024-08-09
18
- - pod install all命令丢失的问题
19
-
20
- ### [2.7.1] - 2024-08-08
21
- - pod dep日志改为彩色
22
-
23
- ### [2.7.0] - 2024-08-08
24
- - 新增功能反转依赖的查询和打印pod dep
25
-
26
- ### [2.6.0] - 2024-07-17
27
- - 新增命令pod install all
28
-
29
- ## [Released]
30
- ### [2.5.6] - 2023-11-22
31
- - 兼容一个pod库都没有的场景
32
-
33
- ### [2.5.5] - 2023-10-16
34
- - 2.5.4打包失败,修改版本号
35
-
36
- ### [2.5.4] - 2023-10-16
37
- - 获取组件多余的依赖时,过滤掉当前组件
38
-
39
- ### [2.5.3] - 2023-09-27
40
- - 当读取到组件的podspec路径为空时,跳过检查,暂时忽略
41
-
42
- ### [2.5.2] - 2023-08-22
43
- - pod时将所有的target名字都放出来给外部--回滚,还是原来的正确
44
-
45
- ### [2.5.1] - 2023-08-22
46
- - 有问题 不能用
47
-
48
- ### [2.5.0] - 2023-08-22
49
- - pod时将所有的target名字都放出来给外部
50
-
51
- ### [2.4.14] - 2023-08-04
52
- - 打印pod依赖库按类型输出(fix)
53
-
54
- ### [2.4.13] - 2023-08-04
55
- - 打印pod依赖库按类型输出(fix)
56
-
57
- ### [2.4.12] - 2023-08-04
58
- - 打印pod依赖库按类型输出(fix)
59
-
60
- ### [2.4.11] - 2023-08-04
61
- - 打印pod依赖库按类型输出
62
-
63
- ### [2.4.10] - 2023-08-02
64
- - 修复开发模块读取podspec路径错误的问题
65
-
66
- ### [2.4.9] - 2023-08-02
67
- - 修复读取podspec路径错误的问题
68
-
69
- ### [2.4.8] - 2023-7-31
70
- - podspec检查 开关配置
71
-
72
- ### [2.4.7] - 2023-7-31
73
- - 依赖库检测问题修复
74
-
75
- ### [2.4.6] - 2023-7-30
76
- - 依赖库检测问题修复+日志打印
77
-
78
- ### [2.4.5] - 2023-7-30
79
- - 依赖库检测问题修复
80
-
81
- ### [2.4.4] - 2023-7-30
82
- - 修复数据类型错误
83
-
84
- ### [2.4.3] - 2023-7-30
85
- - 修复指定非版本号的方式导致读不到podspec路径的问题
86
-
87
- ### [2.4.2] - 2023-7-30
88
- - nil导致异常问题修复
89
-
90
- ### [2.4.1] - 2023-7-29
91
- - 依赖库关系检查特殊问题修复
92
-
93
- ### [2.4.0] - 2023-7-29
94
- - 依赖库关系检查
95
-
96
- ### [2.3.6] - 2023-7-25
97
- - 彩色打印
98
-
99
- ### [2.3.5] - 2023-7-24
100
- - pod依赖打印仓库是否被修改
101
-
102
- ### [2.3.4] - 2023-7-24
103
- - pod依赖打印排序
104
- - pod依赖打印路径依赖时增加打印分支名
105
-
106
- ### [2.3.3] - 2023-7-24
107
- - import规范检查逻辑优化
108
-
109
- ### [2.3.2] - 2023-7-6
110
- - 修复编译优化引用计数导致的优化不彻底问题
111
-
112
- ### [2.3.1] - 2023-7-6
113
- - 打印版本号
114
-
115
- ### [2.3.0] - 2023-7-6
116
- - 去掉use_frameworks! 由外部自由实现
117
-
118
- ### [2.2.4] - 2023-7-5
119
- - 编译优化提示时机
120
-
121
- ### [2.2.3] - 2023-7-5
122
- - 命令行支持 pod install quick
123
-
124
- ### [2.2.2] - 2023-7-5
125
- - 彩色日志输出
126
-
127
- ### [2.2.1] - 2023-7-5
128
- - 彩色日志输出
129
-
130
- ### [2.2.0] - 2023-7-5
131
- - 增加编译优化功能
132
-
133
- ### [2.1.6] - 2023-6-21
134
- - 兼容同时支持最原始的podfile的方式pod依赖库
135
-
136
- ### [2.1.5] - 2023-6-20
137
- - 兼容同时支持subspec和configurations
138
-
139
- ### [2.1.4] - 2023-6-20
140
- - 修复空异常
141
-
142
- ### [2.1.3] - 2023-6-19
143
- - 更新提示语修改
144
-
145
- ### [2.1.2] - 2023-6-19
146
- - 被local文件引用的依赖 不移除
147
-
148
- ### [2.1.1] - 2023-6-19
149
- - 移除不被引用的依赖在pod install时加速
150
-
151
- ### [2.1.0] - 2023-6-19
152
- - QUICKBUILD字段支持移除不被引用的依赖
153
-
154
- ### [2.0.1] - 2023-6-19
155
- - 打印间接依赖
156
-
157
- ### [2.0.0] - 2023-6-18
158
- - 全新使用方式接入,更加方便,仅需一行代码接入
159
- - yaml文件新增字段检验,支持subspecs字段
160
- - 对文件中import的检验更加准确
161
-
162
- ### [1.1.4] - 2023-03-08
163
- - 对FBRetainCycleDetector库中引用关系分析崩溃问题的处理(1)
164
-
165
- ### [1.1.3] - 2023-03-08
166
- - 对FBRetainCycleDetector库中引用关系分析崩溃问题的处理
167
-
168
- ### [1.1.2] - 2023-03-02
169
- - 对FBRetainCycleDetector库中fishhook崩溃问题的处理
170
-
171
- ### [1.1.1] - 2023-02-16
172
- - 对FBRetainCycleDetector组件编译报错的处理
173
-
174
- ### [1.1.0] - 2023-02-01
175
- - 初始化参数简化
176
-
177
- ### [1.1.0] - 2023-01-16
178
- - 初始功能完成,对Podfile文件托管
data/Gemfile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- # Specify your gem's dependencies in podfileDep.gemspec
6
- gemspec
7
-
8
- gem "rake", "~> 13.0"
data/README.md DELETED
@@ -1,33 +0,0 @@
1
- # PodfileDep
2
-
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/podfileDep`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
- ## Installation
8
-
9
- Install the gem and add to the application's Gemfile by executing:
10
-
11
- $ bundle add podfileDep
12
-
13
- If bundler is not being used to manage dependencies, install the gem by executing:
14
-
15
- $ gem install podfileDep
16
-
17
- ## Usage
18
-
19
- TODO: Write usage instructions here
20
-
21
- ## Development
22
-
23
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
24
-
25
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
26
-
27
- ## Contributing
28
-
29
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/podfileDep. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/podfileDep/blob/main/CODE_OF_CONDUCT.md).
30
-
31
- ## Code of Conduct
32
-
33
- Everyone interacting in the PodfileDep project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/podfileDep/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile DELETED
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- task default: %i[]
data/docs/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'podfileDep', path: './podfileDep'
4
-
5
- group :debug do
6
- gem 'ruby-debug-ide'
7
- gem 'debase'
8
- end
9
-
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- # 编译优化 初始化时不定义
2
- $quick_build = nil
data/podfileDep.gemspec DELETED
@@ -1,45 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/podfileDep/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "podfileDep"
7
- spec.version = PodfileDep::VERSION
8
- spec.authors = ["王帅朋"]
9
- spec.email = ["wsp810@163.com"]
10
-
11
- spec.summary = "iOS端 依赖库使用yaml文件管理"
12
- spec.description = "1、iOS端重新定义依赖库管理方案(本地依赖、二方库依赖、三方库依赖)
13
- 2、新增pod dep子命令查询某个依赖库正向/反向依赖
14
- 3、检查import写法错误问题
15
- 4、检查未被使用的依赖库和间接依赖的依赖库
16
- 5、根据配置开启自动移除未使用的依赖库,以达到编译优化效果
17
- 6、其他功能开发中..."
18
- spec.homepage = "https://gitee.com/sourceiOS/podfileDepDemo"
19
- spec.required_ruby_version = ">= 2.6.0"
20
-
21
- # spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
22
-
23
- spec.metadata["homepage_uri"] = spec.homepage
24
- spec.metadata["source_code_uri"] = "https://gitee.com/sourceiOS/podfileDep"
25
- spec.metadata["changelog_uri"] = "https://gitee.com/sourceiOS/podfileDep"
26
-
27
- # Specify which files should be added to the gem when it is released.
28
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
29
- spec.files = Dir.chdir(__dir__) do
30
- `git ls-files -z`.split("\x0").reject do |f|
31
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
32
- end
33
- end
34
- spec.bindir = "exe"
35
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
36
- spec.require_paths = ["lib"]
37
-
38
- # Uncomment to register a new dependency of your gem
39
- spec.add_dependency "cocoapods"
40
- spec.add_dependency "xcodeproj"
41
- spec.add_dependency "colored2"
42
-
43
- # For more information and examples about making a new gem, check out our
44
- # guide at: https://bundler.io/guides/creating_gem.html
45
- end
data/release.sh DELETED
@@ -1,6 +0,0 @@
1
- #!/bin/bash
2
-
3
- # 发布的命令
4
- rake build
5
- rake install
6
- rake release