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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d32097193876845e685b951363a7b4476654390db321ffbed66677c5e056184
4
- data.tar.gz: 10b832fbc8d5ec05f36f11f6b6a9603cb2bfcc22d51f96b3bde839251b8d2d35
3
+ metadata.gz: ae55279a9a22e9cdd486adbb80433ad4ec1ef897baca726eea54a654c1f06da9
4
+ data.tar.gz: 27c89dde2f63e38c88b35692303ab98cfbb684438d9b97750c30202cfdced38a
5
5
  SHA512:
6
- metadata.gz: 6135afcbd4cac979bb16cf41152c0f0c02a16e2ce33f6931f02afe446938164cfcd919f85115da1a45845508b0e0e9e0bc4f9d834f056e0e2a1ca7e5433608cd
7
- data.tar.gz: 3ac770ccd5ce158c71b1b5c3c018d34a465881868da6adef69b0b11831197454682fc8258a8a323576f346b7785553070166261873090da46e6cc898c7503f51
6
+ metadata.gz: 2261974654acd832845fbd96c9b4f32c1c170efe01094f44624fa287b822ec52fa09263b72d1fc5e6a4cd96ce150fecf84a3647b73818c497359495f95236461
7
+ data.tar.gz: e2ef0dc88f6823518d35cf6a365524ef00ab67b4840a440513769816fff6c7935b228072811fad24f8535c83cc614a55ec74c5a5cdc07824ca4378c6a816454f
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
1
  ## [Released]
2
+ ### [2.7.2] - 2024-08-09
3
+ - pod install all命令丢失的问题
4
+
5
+ ### [2.7.1] - 2024-08-08
6
+ - pod dep日志改为彩色
7
+
2
8
  ### [2.7.0] - 2024-08-08
3
9
  - 新增功能反转依赖的查询和打印pod dep
4
10
 
@@ -1,6 +1,6 @@
1
1
  require 'cocoapods'
2
2
  require_relative 'podfileDep/command/dep'
3
- require_relative 'podfileDep/command/quick'
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'
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PodfileDep
4
- VERSION = "2.7.0"
4
+ VERSION = "2.7.2"
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.7.0
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-08 00:00:00.000000000 Z
11
+ date: 2024-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods