cocoapods-cafswitcher 0.0.26 → 0.0.31

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: 5207514b2fbb6e1516cd07a56785de66cf2f895b8751fb5f101880664a1991c4
4
- data.tar.gz: 9889e5c45e7389a1039f428b9e2d8a16d6ff70c53c4f98592e3407b2b6e985ca
3
+ metadata.gz: 713a52400dc4544fe2f10801225532273ae5d53ac1a1687170fe422485464c43
4
+ data.tar.gz: a67b434254816eed754a9fe0e603b36c5fffbbb7820f7a0f12d00ab9f37a609c
5
5
  SHA512:
6
- metadata.gz: 32d71971519653c0bb3c6f4e0a6549ec7ed81800ce5bdc4b1419336e8b1847756dc085b696e475fa9fdfb1a771fa1ea5d8024cea6a2ae07baffd725c27507d3c
7
- data.tar.gz: '018ef5e8496a59eb68933dc47b7c78402760d8cbc7e84aa2f8b2747defdd838490e4d6ea9b015b1976851d4a57833a8c7b701b11b26cfe0068488b7415269925'
6
+ metadata.gz: 6d7072743d3cc8d5bb2824bd6ba89d5a048af4719a0ec64c5580590d2e6dad74ff8f28453b311b05bfcde04ef48f0921cc2fa7041ccba6941a6997c61b4e314e
7
+ data.tar.gz: 64b5d5f9bc81da056c1bb1fb4361e4b3425275d63483960e4debdb0d059c65060408a64f4404ef07f37df0e8eda3e2035d2d50c9bd6f120433ad4e0b1a28580b
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_PATH: "/Users/handa/.bundle"
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.25)
4
+ cocoapods-cafswitcher (0.0.31)
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,16 +196,21 @@ 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
- cleanCocoapodsCache(gitPathList)
213
+ cleanCocoapodsCache(changedSubPods)
209
214
 
210
215
  # 把新的配置写入file
211
216
  File.open(configFile, 'wb') {|f| YAML.dump(caf_hash, f) } unless changedSubPods.empty?
@@ -223,15 +228,15 @@ def cleanCocoapodsCache(gitPathList)
223
228
  cache_descriptors.each do |desc|
224
229
  specs_dir = cachePath + 'Specs'
225
230
  release_specs_dir = specs_dir + 'Release'
226
- if desc[:spec_file].to_s.include?(release_specs_dir.to_s)
227
- continue
228
- end
231
+ # if desc[:spec_file].to_s.include?(release_specs_dir.to_s)
232
+ # next
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.26"
2
+ VERSION = "0.0.31"
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.26
4
+ version: 0.0.31
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
@@ -59,6 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".bundle/config"
62
63
  - ".gitignore"
63
64
  - Gemfile
64
65
  - Gemfile.lock
@@ -94,8 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
95
  - !ruby/object:Gem::Version
95
96
  version: '0'
96
97
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.7.7
98
+ rubygems_version: 3.0.8
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: A longer description of cocoapods-cafswitcher.