cocoapods-cafswitcher 0.0.27 → 0.0.32

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: 794cc351dfe1b97a6e722a6b5928560110c294e9fc046621ccc8047742c266e3
4
- data.tar.gz: adb3cf26274af844a1c9081faa89cd3e39e097e20f011d280ec3f3fcea21f9d4
3
+ metadata.gz: d3495688375d3a19cf0977a5a3baf414c60ed99232353c3251d6cd934ef5e7f7
4
+ data.tar.gz: 13bb1d20fcf590a6f7b5b7a46e191ce24d638d337c8f328015eeee3e94124b25
5
5
  SHA512:
6
- metadata.gz: d98f0521f60ae0d1ec279e0051e8ced96bfc96529dce44717d075a402ed5ea3d4be2a41abf679c8a26e63d304e6145af6b9edb1b21ef41e3285836c0d96e8adb
7
- data.tar.gz: cb5d96f1ffb637038a19993aff6c62fcb2d3599ceec116a5dfc28fc0e78b382a541728bb36b1525ac9c96de9d8080534854c74a4839299e1c0d67bf9354f5eee
6
+ metadata.gz: 4aa3dfb51c6950c50ba9524805f4d6c18caf9d7454e88b23cd6293e575de9f31694c3e3e42b86d5a60f6f17368d301f60d8f337b6af232d53bfe9d0bb3bf789c
7
+ data.tar.gz: 752e01ed2e5bdbb8293c824907dffa4f7afa8d680c376192842e96072b2523756d228d0701199af5b768003d61226c897a17bf05777626fbf10a0a37c60d289b
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://rubygems.org'
1
+ source 'https://gems.ruby-china.com/'
2
2
 
3
3
  # Specify your gem's dependencies in cocoapods-cafswitcher.gemspec
4
4
  gemspec
@@ -10,5 +10,5 @@ group :development do
10
10
  gem 'bacon'
11
11
  gem 'mocha-on-bacon'
12
12
  gem 'prettybacon'
13
- gem 'cocoapods-stats', '1.0.0'
13
+ gem 'cocoapods-stats'
14
14
  end
@@ -1,30 +1,33 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-cafswitcher (0.0.26)
4
+ cocoapods-cafswitcher (0.0.32)
5
5
 
6
6
  GEM
7
- remote: https://rubygems.org/
7
+ remote: https://gems.ruby-china.com/
8
8
  specs:
9
- CFPropertyList (3.0.1)
10
- activesupport (4.2.11.1)
9
+ CFPropertyList (3.0.2)
10
+ activesupport (4.2.11.3)
11
11
  i18n (~> 0.7)
12
12
  minitest (~> 5.1)
13
13
  thread_safe (~> 0.3, >= 0.3.4)
14
14
  tzinfo (~> 1.1)
15
+ algoliasearch (1.27.3)
16
+ httpclient (~> 2.8, >= 2.8.3)
17
+ json (>= 1.5.1)
15
18
  atomos (0.1.3)
16
19
  bacon (1.2.0)
17
20
  claide (1.0.3)
18
- cocoapods (1.7.5)
21
+ cocoapods (1.9.3)
19
22
  activesupport (>= 4.0.2, < 5)
20
23
  claide (>= 1.0.2, < 2.0)
21
- cocoapods-core (= 1.7.5)
24
+ cocoapods-core (= 1.9.3)
22
25
  cocoapods-deintegrate (>= 1.0.3, < 2.0)
23
26
  cocoapods-downloader (>= 1.2.2, < 2.0)
24
27
  cocoapods-plugins (>= 1.0.0, < 2.0)
25
28
  cocoapods-search (>= 1.0.0, < 2.0)
26
29
  cocoapods-stats (>= 1.0.0, < 2.0)
27
- cocoapods-trunk (>= 1.3.1, < 2.0)
30
+ cocoapods-trunk (>= 1.4.0, < 2.0)
28
31
  cocoapods-try (>= 1.1.0, < 2.0)
29
32
  colored2 (~> 3.1)
30
33
  escape (~> 0.0.4)
@@ -33,33 +36,40 @@ GEM
33
36
  molinillo (~> 0.6.6)
34
37
  nap (~> 1.0)
35
38
  ruby-macho (~> 1.4)
36
- xcodeproj (>= 1.10.0, < 2.0)
37
- cocoapods-core (1.7.5)
39
+ xcodeproj (>= 1.14.0, < 2.0)
40
+ cocoapods-core (1.9.3)
38
41
  activesupport (>= 4.0.2, < 6)
42
+ algoliasearch (~> 1.0)
43
+ concurrent-ruby (~> 1.1)
39
44
  fuzzy_match (~> 2.0.4)
40
45
  nap (~> 1.0)
46
+ netrc (~> 0.11)
47
+ typhoeus (~> 1.0)
41
48
  cocoapods-deintegrate (1.0.4)
42
- cocoapods-downloader (1.2.2)
49
+ cocoapods-downloader (1.3.0)
43
50
  cocoapods-plugins (1.0.0)
44
51
  nap
45
52
  cocoapods-search (1.0.0)
46
- cocoapods-stats (1.0.0)
47
- cocoapods-trunk (1.4.0)
53
+ cocoapods-stats (1.1.0)
54
+ cocoapods-trunk (1.5.0)
48
55
  nap (>= 0.8, < 2.0)
49
56
  netrc (~> 0.11)
50
- cocoapods-try (1.1.0)
57
+ cocoapods-try (1.2.0)
51
58
  colored2 (3.1.2)
52
- concurrent-ruby (1.1.5)
59
+ concurrent-ruby (1.1.6)
53
60
  escape (0.0.4)
61
+ ethon (0.12.0)
62
+ ffi (>= 1.3.0)
63
+ ffi (1.13.0)
54
64
  fourflusher (2.3.1)
55
65
  fuzzy_match (2.0.4)
56
66
  gh_inspector (1.1.3)
67
+ httpclient (2.8.3)
57
68
  i18n (0.9.5)
58
69
  concurrent-ruby (~> 1.0)
59
- metaclass (0.0.4)
60
- minitest (5.11.3)
61
- mocha (1.9.0)
62
- metaclass (~> 0.0.1)
70
+ json (2.3.0)
71
+ minitest (5.14.1)
72
+ mocha (1.11.2)
63
73
  mocha-on-bacon (0.2.3)
64
74
  mocha (>= 0.13.0)
65
75
  molinillo (0.6.6)
@@ -68,12 +78,14 @@ GEM
68
78
  netrc (0.11.0)
69
79
  prettybacon (0.0.2)
70
80
  bacon (~> 1.2)
71
- rake (12.3.3)
81
+ rake (13.0.1)
72
82
  ruby-macho (1.4.0)
73
83
  thread_safe (0.3.6)
74
- tzinfo (1.2.5)
84
+ typhoeus (1.4.0)
85
+ ethon (>= 0.9.0)
86
+ tzinfo (1.2.7)
75
87
  thread_safe (~> 0.1)
76
- xcodeproj (1.12.0)
88
+ xcodeproj (1.16.0)
77
89
  CFPropertyList (>= 2.3.3, < 4.0)
78
90
  atomos (~> 0.1.3)
79
91
  claide (>= 1.0.2, < 2.0)
@@ -89,11 +101,11 @@ DEPENDENCIES
89
101
  cocoapods
90
102
  cocoapods-cafswitcher!
91
103
  cocoapods-plugins
92
- cocoapods-stats (= 1.0.0)
104
+ cocoapods-stats
93
105
  mocha
94
106
  mocha-on-bacon
95
107
  prettybacon
96
108
  rake
97
109
 
98
110
  BUNDLED WITH
99
- 1.16.3
111
+ 1.17.3
@@ -20,5 +20,5 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency 'bundler', '~> 1.3'
22
22
  spec.add_development_dependency 'rake'
23
- spec.add_development_dependency 'cocoapods', '~> 1.5.3'
23
+ spec.add_development_dependency 'cocoapods'
24
24
  end
@@ -196,13 +196,18 @@ Pod::HooksManager.register('cocoapods-cafswitcher', :pre_install) do |installer_
196
196
  podName = subPod.split('/')[0]
197
197
  changedPods << podName
198
198
  end
199
+
200
+ # gitPathList.each do |gitPathSubPod|
201
+ # changedSubPods << gitPathSubPod
202
+ # end
203
+ changedSubPods.uniq!
204
+
199
205
  changedPods.uniq!
206
+
207
+
200
208
  Pod::UI.puts "\nchanged Pod is:\n " + changedPods.to_s + "\n" unless changedPods.empty?
201
209
 
202
- gitPathList.each do |gitPathSubPod|
203
- changedSubPods << gitPathSubPod
204
- end
205
- changedSubPods.uniq!
210
+
206
211
 
207
212
  cleanPodsDir(changedSubPods)
208
213
  cleanCocoapodsCache(gitPathList)
@@ -227,11 +232,11 @@ def cleanCocoapodsCache(gitPathList)
227
232
  next
228
233
  end
229
234
  Pod::UI.message("Removing spec #{desc[:spec_file]} (v#{desc[:version]})") do
230
- FileUtils.rm desc[:spec_file]
231
- end
232
- Pod::UI.message("Removing cache #{desc[:slug]}") do
233
- FileUtils.rm_rf(desc[:slug])
235
+ FileUtils.rm_rf([desc[:spec_file]])
234
236
  end
237
+ # Pod::UI.message("Removing cache #{desc[:slug]}") do
238
+ # FileUtils.rm_rf([desc[:slug]])
239
+ # end
235
240
  end
236
241
  end
237
242
  end
@@ -245,15 +250,15 @@ def cleanPodsDir(changedSubPods)
245
250
  changedSubPods.each do |changedSubPod|
246
251
  changedPod = changedSubPod.split('/')[0]
247
252
  # 清除本地的localFile 的JSON
248
- localspecPath = podRoot + "Local Podspecs/" + "#{changedPod}.podspec.json"
249
- if localspecPath.exist?
253
+ localspecPath = podRoot + "/Local Podspecs/" + "#{changedPod}.podspec.json"
254
+ if File.exist? localspecPath.to_s
250
255
  Pod::UI.message "Removing local Podspecs.json #{localspecPath}"
251
256
  FileUtils.rm_r(localspecPath)
252
257
  end
253
258
  # next unless changedSubPod =~ /^(?i)LJ/ || changedSubPod =~ /^(?i)Lianjia/ || changedSubPod.include?('/')
254
259
  # 清除目录 pods 文件夹下的缓存
255
260
  changedPodPath = podRoot + changedPod
256
- if changedPodPath.exist?
261
+ if File.exist? changedPodPath.to_s
257
262
  Pod::UI.message "Removing Folder #{changedPodPath}"
258
263
  FileUtils.rm_r(changedPodPath)
259
264
  end
@@ -1,3 +1,3 @@
1
1
  module CocoapodsCafswitcher
2
- VERSION = "0.0.27"
2
+ VERSION = "0.0.32"
3
3
  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.27
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - handa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-28 00:00:00.000000000 Z
11
+ date: 2020-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: cocoapods
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.5.3
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.5.3
54
+ version: '0'
55
55
  description: A short description of cocoapods-cafswitcher.
56
56
  email:
57
57
  - 794363716@qq.com
@@ -94,8 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.7.7
97
+ rubygems_version: 3.0.8
99
98
  signing_key:
100
99
  specification_version: 4
101
100
  summary: A longer description of cocoapods-cafswitcher.