podfileDep 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/podfileDep/reference/unused.rb +7 -5
- data/lib/podfileDep/version.rb +1 -1
- data/lib/podfileDep/yaml/yaml_dep.rb +1 -1
- data/podfileDep.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6712b4f92a70723f0a12794d85d489f03f099e479cf5ececa3949417beed2715
|
4
|
+
data.tar.gz: cd778fd979f86fc2170047e59a2a0440bed06b7a49888afbf997c137311bed93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4d973974de3096d12004996c3d54ac57880a7504c40a2f077d8652fff41bf3cd31953b975db629939a83efab8baeecd394728b0f5c313aa7c44f2c1b12d2e1d
|
7
|
+
data.tar.gz: 46eec6ad28864523a50c323cb4f1bc06ea3ca6615676e117d10e4a53d77b23d7d7c96ab4044b420389ebb21d8810772c1a7005be400fb3a9c73c4fe440e0e847
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
require 'colored2'
|
2
2
|
require_relative '../constants'
|
3
3
|
require_relative '../yaml/yaml_dep'
|
4
4
|
|
@@ -11,11 +11,13 @@ module Unused
|
|
11
11
|
yaml_dep = Pod::YamlDep.new
|
12
12
|
|
13
13
|
if yaml_dep.quick_build
|
14
|
-
|
15
|
-
|
14
|
+
msg = "🔰已开启编译优化选项,请关注上方日志 '下载依赖...'部分内容"
|
15
|
+
msg += "\n #{Constants::PODFILE_LOCAL_YAML}文件内的依赖库,将不会被优化忽略掉"
|
16
|
+
puts msg.green
|
16
17
|
else
|
17
|
-
|
18
|
-
|
18
|
+
msg = "检测到你未开启编译优化选项,如你处于开发模式,可打开此开关,移除不被引用的依赖库来加速编译"
|
19
|
+
msg += "\n开关位置:#{Constants::PODFILE_LOCAL_YAML} 最外层 QUICK_BUILD字段设置为true,然后重新pod install"
|
20
|
+
puts msg.yellow
|
19
21
|
end
|
20
22
|
|
21
23
|
end
|
data/lib/podfileDep/version.rb
CHANGED
data/podfileDep.gemspec
CHANGED
@@ -33,6 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
# Uncomment to register a new dependency of your gem
|
34
34
|
spec.add_dependency "cocoapods"
|
35
35
|
spec.add_dependency "xcodeproj"
|
36
|
+
spec.add_dependency "colored2"
|
36
37
|
|
37
38
|
# For more information and examples about making a new gem, check out our
|
38
39
|
# guide at: https://bundler.io/guides/creating_gem.html
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: podfileDep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 王帅朋
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: colored2
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description: iOS端 依赖库使用yaml文件管理,并提供其他扩展功能
|
42
56
|
email:
|
43
57
|
- wsp810@163.com
|