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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 140b92ca49e41997ff6ee5002a5c9b0294c20eddb71c32b4f96e64915c02e06d
4
- data.tar.gz: 63b51c8156fed2d5799f50611051cf8771908e0cd7246ea4793e13727bdf38df
3
+ metadata.gz: 806b8dad1d12dcbcbf7864040e3570fa8e991d0805f5b4768b0112f177472a24
4
+ data.tar.gz: 8229a1890b191a4d027c0017f1daff7038b4b17139c46fbe3451b39ad8554539
5
5
  SHA512:
6
- metadata.gz: 43beab6842aaee7144166bbd255802ab37a4573045e214e22420e06630b8373f8d9669db5639786a6c20f5f33ce058dda371f4cf1cded26a20902689f33c199e
7
- data.tar.gz: 1697614e743777056b3d7c3e515eb89c0b67f9630bdad592c8ec104d0d97242d3ce56db292f1a1d288d5780425cdfe1f47dd021fbff48f3f275532ec29d0f635
6
+ metadata.gz: 5863b104d6e629662012aaf059edf26e18dcc3ade81ca50cf0692fc2866a706b52194158fdd7217c1b865b246ec82cd81ce5f0e5295f84e558b09940fe237eca
7
+ data.tar.gz: 23c599c3660cd42769f8824be2a72673e7ff315facaae1e140efc812e39d60eaf25167a80045e7dde5bc13b75d4830244093294c51590ca49c6c7caf4cb9e896
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-cafswitcher (0.0.16)
4
+ cocoapods-cafswitcher (0.0.17)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
@@ -1,3 +1,3 @@
1
1
  module CocoapodsCafswitcher
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
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.16
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-09 00:00:00.000000000 Z
11
+ date: 2018-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler