cocoapods-cafswitcher 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cocoapods-cafswitcher/Main.rb +6 -1
- 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: 806b8dad1d12dcbcbf7864040e3570fa8e991d0805f5b4768b0112f177472a24
|
4
|
+
data.tar.gz: 8229a1890b191a4d027c0017f1daff7038b4b17139c46fbe3451b39ad8554539
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5863b104d6e629662012aaf059edf26e18dcc3ade81ca50cf0692fc2866a706b52194158fdd7217c1b865b246ec82cd81ce5f0e5295f84e558b09940fe237eca
|
7
|
+
data.tar.gz: 23c599c3660cd42769f8824be2a72673e7ff315facaae1e140efc812e39d60eaf25167a80045e7dde5bc13b75d4830244093294c51590ca49c6c7caf4cb9e896
|
data/Gemfile.lock
CHANGED
@@ -184,13 +184,18 @@ Pod::HooksManager.register('cocoapods-cafswitcher', :pre_install) do |installer_
|
|
184
184
|
changedPods.uniq!
|
185
185
|
Pod::Podfile.changedPods.concat changedPods if changedPods
|
186
186
|
Pod::Podfile.changedSubPods.concat changedSubPods if changedSubPods
|
187
|
-
Pod::UI.puts "\nchanged Pod is:\n " + changedPods.to_s unless changedPods.empty?
|
187
|
+
Pod::UI.puts "\nchanged Pod is:\n " + changedPods.to_s + "\n" unless changedPods.empty?
|
188
188
|
|
189
189
|
@cache = Pod::Downloader::Cache.new(Pod::Config.instance.cache_root + 'Pods')
|
190
190
|
# 根据不同删除cache
|
191
191
|
podRoot = config.project_pods_root
|
192
192
|
changedSubPods.each do |changedSubPod|
|
193
193
|
changedPod = changedSubPod.split('/')[0]
|
194
|
+
localspecPath = podRoot + "Local Podspecs/" + "#{changedPod}.podspec.json"
|
195
|
+
if localspecPath.exist?
|
196
|
+
Pod::UI.message "Removing local Podspecs #{localspecPath}"
|
197
|
+
FileUtils.rm_r(localspecPath)
|
198
|
+
end
|
194
199
|
if needUpdatePodList.delete(changedSubPod)
|
195
200
|
cache_descriptors = @cache.cache_descriptors_per_pod[changedPod]
|
196
201
|
if cache_descriptors
|
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.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- handa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|