cocoapods-cafswitcher 0.0.25 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -13
- data/lib/cocoapods-cafswitcher/Main.rb +5 -5
- 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: 5207514b2fbb6e1516cd07a56785de66cf2f895b8751fb5f101880664a1991c4
|
4
|
+
data.tar.gz: 9889e5c45e7389a1039f428b9e2d8a16d6ff70c53c4f98592e3407b2b6e985ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32d71971519653c0bb3c6f4e0a6549ec7ed81800ce5bdc4b1419336e8b1847756dc085b696e475fa9fdfb1a771fa1ea5d8024cea6a2ae07baffd725c27507d3c
|
7
|
+
data.tar.gz: '018ef5e8496a59eb68933dc47b7c78402760d8cbc7e84aa2f8b2747defdd838490e4d6ea9b015b1976851d4a57833a8c7b701b11b26cfe0068488b7415269925'
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cocoapods-cafswitcher (0.0.
|
4
|
+
cocoapods-cafswitcher (0.0.25)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
CFPropertyList (3.0.
|
9
|
+
CFPropertyList (3.0.1)
|
10
10
|
activesupport (4.2.11.1)
|
11
11
|
i18n (~> 0.7)
|
12
12
|
minitest (~> 5.1)
|
@@ -14,11 +14,11 @@ GEM
|
|
14
14
|
tzinfo (~> 1.1)
|
15
15
|
atomos (0.1.3)
|
16
16
|
bacon (1.2.0)
|
17
|
-
claide (1.0.
|
18
|
-
cocoapods (1.7.
|
17
|
+
claide (1.0.3)
|
18
|
+
cocoapods (1.7.5)
|
19
19
|
activesupport (>= 4.0.2, < 5)
|
20
20
|
claide (>= 1.0.2, < 2.0)
|
21
|
-
cocoapods-core (= 1.7.
|
21
|
+
cocoapods-core (= 1.7.5)
|
22
22
|
cocoapods-deintegrate (>= 1.0.3, < 2.0)
|
23
23
|
cocoapods-downloader (>= 1.2.2, < 2.0)
|
24
24
|
cocoapods-plugins (>= 1.0.0, < 2.0)
|
@@ -28,13 +28,13 @@ GEM
|
|
28
28
|
cocoapods-try (>= 1.1.0, < 2.0)
|
29
29
|
colored2 (~> 3.1)
|
30
30
|
escape (~> 0.0.4)
|
31
|
-
fourflusher (>= 2.
|
31
|
+
fourflusher (>= 2.3.0, < 3.0)
|
32
32
|
gh_inspector (~> 1.0)
|
33
33
|
molinillo (~> 0.6.6)
|
34
34
|
nap (~> 1.0)
|
35
35
|
ruby-macho (~> 1.4)
|
36
|
-
xcodeproj (>= 1.
|
37
|
-
cocoapods-core (1.7.
|
36
|
+
xcodeproj (>= 1.10.0, < 2.0)
|
37
|
+
cocoapods-core (1.7.5)
|
38
38
|
activesupport (>= 4.0.2, < 6)
|
39
39
|
fuzzy_match (~> 2.0.4)
|
40
40
|
nap (~> 1.0)
|
@@ -44,21 +44,21 @@ GEM
|
|
44
44
|
nap
|
45
45
|
cocoapods-search (1.0.0)
|
46
46
|
cocoapods-stats (1.0.0)
|
47
|
-
cocoapods-trunk (1.
|
47
|
+
cocoapods-trunk (1.4.0)
|
48
48
|
nap (>= 0.8, < 2.0)
|
49
49
|
netrc (~> 0.11)
|
50
50
|
cocoapods-try (1.1.0)
|
51
51
|
colored2 (3.1.2)
|
52
52
|
concurrent-ruby (1.1.5)
|
53
53
|
escape (0.0.4)
|
54
|
-
fourflusher (2.
|
54
|
+
fourflusher (2.3.1)
|
55
55
|
fuzzy_match (2.0.4)
|
56
56
|
gh_inspector (1.1.3)
|
57
57
|
i18n (0.9.5)
|
58
58
|
concurrent-ruby (~> 1.0)
|
59
59
|
metaclass (0.0.4)
|
60
60
|
minitest (5.11.3)
|
61
|
-
mocha (1.
|
61
|
+
mocha (1.9.0)
|
62
62
|
metaclass (~> 0.0.1)
|
63
63
|
mocha-on-bacon (0.2.3)
|
64
64
|
mocha (>= 0.13.0)
|
@@ -68,12 +68,12 @@ GEM
|
|
68
68
|
netrc (0.11.0)
|
69
69
|
prettybacon (0.0.2)
|
70
70
|
bacon (~> 1.2)
|
71
|
-
rake (12.3.
|
71
|
+
rake (12.3.3)
|
72
72
|
ruby-macho (1.4.0)
|
73
73
|
thread_safe (0.3.6)
|
74
74
|
tzinfo (1.2.5)
|
75
75
|
thread_safe (~> 0.1)
|
76
|
-
xcodeproj (1.
|
76
|
+
xcodeproj (1.12.0)
|
77
77
|
CFPropertyList (>= 2.3.3, < 4.0)
|
78
78
|
atomos (~> 0.1.3)
|
79
79
|
claide (>= 1.0.2, < 2.0)
|
@@ -205,7 +205,7 @@ Pod::HooksManager.register('cocoapods-cafswitcher', :pre_install) do |installer_
|
|
205
205
|
changedSubPods.uniq!
|
206
206
|
|
207
207
|
cleanPodsDir(changedSubPods)
|
208
|
-
|
208
|
+
cleanCocoapodsCache(gitPathList)
|
209
209
|
|
210
210
|
# 把新的配置写入file
|
211
211
|
File.open(configFile, 'wb') {|f| YAML.dump(caf_hash, f) } unless changedSubPods.empty?
|
@@ -223,15 +223,15 @@ def cleanCocoapodsCache(gitPathList)
|
|
223
223
|
cache_descriptors.each do |desc|
|
224
224
|
specs_dir = cachePath + 'Specs'
|
225
225
|
release_specs_dir = specs_dir + 'Release'
|
226
|
-
if desc[:spec_file].include?(release_specs_dir)
|
226
|
+
if desc[:spec_file].to_s.include?(release_specs_dir.to_s)
|
227
227
|
continue
|
228
228
|
end
|
229
229
|
Pod::UI.message("Removing spec #{desc[:spec_file]} (v#{desc[:version]})") do
|
230
230
|
FileUtils.rm desc[:spec_file]
|
231
231
|
end
|
232
|
-
|
233
|
-
|
234
|
-
|
232
|
+
Pod::UI.message("Removing cache #{desc[:slug]}") do
|
233
|
+
FileUtils.rm_rf(desc[:slug])
|
234
|
+
end
|
235
235
|
end
|
236
236
|
end
|
237
237
|
end
|
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.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- handa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|