cocoapods-cafswitcher 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-cafswitcher/Main.rb +3 -3
- data/lib/cocoapods-cafswitcher/gem_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: f3b73b289756e9fd6313e350f1b20778ea434c194055a009d7c85cd2b99d9919
|
4
|
+
data.tar.gz: 15b12268e4765ed1f90625b2cb11f61ccffc7610937e3aa764a242b99501c285
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b9abbfef138ae21f630d84eadd21cc569a7b9b9db56f00f390d7925e18db59a0f81d5c9e2e0eb66a3865a68e2801e015a52a7ae5ff92ce3536ac861b6839f01
|
7
|
+
data.tar.gz: 369d2fe124e671b8711631c40738db856766a5de9b7e03b59f07dd6e5f2e88e305c675ad6ca049f06f12102cdb9c0571f63894a6650bc119484ed58f7f69533a
|
@@ -167,9 +167,9 @@ Pod::HooksManager.register('cocoapods-cafswitcher', :pre_install) do |installer_
|
|
167
167
|
podRoot = config.project_pods_root
|
168
168
|
changedPods.each do |changedPod|
|
169
169
|
# TODO如果pod 里没有用到preserve_paths,需要清除 pod cache clean
|
170
|
-
cacheCleanCMD = "pod cache clean #{changedPod} --all"
|
171
|
-
out = `#{cacheCleanCMD}`.lines.to_a
|
172
|
-
puts out
|
170
|
+
# cacheCleanCMD = "pod cache clean #{changedPod} --all"
|
171
|
+
# out = `#{cacheCleanCMD}`.lines.to_a
|
172
|
+
# puts out
|
173
173
|
# 清除目录 pods 文件夹下的缓存
|
174
174
|
changedPodPath = podRoot + changedPod
|
175
175
|
FileUtils.rm_r(changedPodPath) if changedPodPath.exist?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-cafswitcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- handa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|