podfileDep 2.7.0 → 2.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/cocoapods_plugin.rb +1 -1
- data/lib/podfileDep/dep/find.rb +6 -5
- data/lib/podfileDep/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae55279a9a22e9cdd486adbb80433ad4ec1ef897baca726eea54a654c1f06da9
|
4
|
+
data.tar.gz: 27c89dde2f63e38c88b35692303ab98cfbb684438d9b97750c30202cfdced38a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2261974654acd832845fbd96c9b4f32c1c170efe01094f44624fa287b822ec52fa09263b72d1fc5e6a4cd96ce150fecf84a3647b73818c497359495f95236461
|
7
|
+
data.tar.gz: e2ef0dc88f6823518d35cf6a365524ef00ab67b4840a440513769816fff6c7935b228072811fad24f8535c83cc614a55ec74c5a5cdc07824ca4378c6a816454f
|
data/CHANGELOG.md
CHANGED
data/lib/cocoapods_plugin.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'cocoapods'
|
2
2
|
require_relative 'podfileDep/command/dep'
|
3
|
-
require_relative 'podfileDep/command/
|
3
|
+
require_relative 'podfileDep/command/all'
|
4
4
|
require_relative 'podfileDep/command/quick'
|
5
5
|
require_relative 'podfileDep/check/project'
|
6
6
|
require_relative 'podfileDep/check/podspec'
|
data/lib/podfileDep/dep/find.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'yaml'
|
2
|
+
require 'colored2'
|
2
3
|
|
3
4
|
module Pod
|
4
5
|
class DepFinder
|
@@ -20,7 +21,7 @@ module Pod
|
|
20
21
|
def init_lock
|
21
22
|
# 读取名为Podfile.lock的yaml文件, 并通过分析里面的PODS数组,输出依赖的第三方库的名字
|
22
23
|
unless File.exist?("Podfile.lock")
|
23
|
-
puts "Podfile.lock文件不存在,请先执行pod install或pod update"
|
24
|
+
puts "Podfile.lock文件不存在,请先执行pod install或pod update".red
|
24
25
|
end
|
25
26
|
|
26
27
|
@sort_count = false
|
@@ -63,7 +64,7 @@ module Pod
|
|
63
64
|
end
|
64
65
|
|
65
66
|
sorted_hash.each do |key, array|
|
66
|
-
puts "依赖#{key}的组件有(#{array.length}个):"
|
67
|
+
puts "依赖#{key}的组件有(#{array.length}个):".green
|
67
68
|
array.each do |obj|
|
68
69
|
puts obj
|
69
70
|
end
|
@@ -71,9 +72,9 @@ module Pod
|
|
71
72
|
end
|
72
73
|
|
73
74
|
unless @sort_count
|
74
|
-
puts "==> 按数量从少到多排序,可使用pod dep --sort"
|
75
|
+
puts "==> 按数量从少到多排序,可使用pod dep --sort".yellow
|
75
76
|
end
|
76
|
-
puts "==> 查询单个依赖的情况,可使用pod dep --name=xx"
|
77
|
+
puts "==> 查询单个依赖的情况,可使用pod dep --name=xx".yellow
|
77
78
|
end
|
78
79
|
|
79
80
|
def find_for_name
|
@@ -84,7 +85,7 @@ module Pod
|
|
84
85
|
return
|
85
86
|
end
|
86
87
|
|
87
|
-
puts "依赖#{@find_name}的组件有:"
|
88
|
+
puts "依赖#{@find_name}的组件有:".green
|
88
89
|
results.each do |res|
|
89
90
|
puts res
|
90
91
|
end
|
data/lib/podfileDep/version.rb
CHANGED
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.7.
|
4
|
+
version: 2.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 王帅朋
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|