cocoapods-deintegrate 1.0.3 → 1.0.4

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
- SHA1:
3
- metadata.gz: 20ce8d2ea9deb7024f0b04c02f784317cc1f0aaf
4
- data.tar.gz: cac8053d65182b01e0225af9b8541269326ab8de
2
+ SHA256:
3
+ metadata.gz: 7718a9eb270e93441dd29e4b246941f0f32142f0bc8b71bc722685fcc81f8b17
4
+ data.tar.gz: 24124e5d147ef6dbdf8431a0153b7e1dcf3d6cc6291f385ec4dc5aeebe583867
5
5
  SHA512:
6
- metadata.gz: 42d68c1659f854366abd419de31c330cd1167efe80505ffada675407e25bcc2ea4177a31be201918b169aacea5936a9691af6327a22dc7421d3f1dfa8311352e
7
- data.tar.gz: eb331307179f09d91a06e74eb3ba8a18cc7848fb99854a818d0efede34bfabde474e3cff1cfa7b3b4a29e962d8056b13a429a9e14f0ec72220a5c94f022356cc
6
+ metadata.gz: 0fdafe9d96b5219988edc04d6c0fefee526314064e9de0ff4187f3ceb83bbbbfd5f0577237b07c5380ccb0b4498ae92fcf480c953a905ea4c188f423d1c77ffc
7
+ data.tar.gz: e1f9546f125c28ee26bbc2c75dd4179aa7a0949ac565c13b9b33abd210388b86d042eeea7eb9ad78064dffe610b20ea303967496c32d3b587ab236528d6e65a8
@@ -1,3 +1,3 @@
1
1
  module CocoapodsDeintegrate
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.4'.freeze
3
3
  end
@@ -50,6 +50,9 @@ module Pod
50
50
  UI.section('Removing Pod libraries from build phase:') do
51
51
  pods_build_files.each do |build_file|
52
52
  UI.puts("- #{build_file.display_name}")
53
+ if build_file.file_ref.build_files.count == 1
54
+ build_file.file_ref.remove_from_project
55
+ end
53
56
  frameworks_build_phase.remove_build_file(build_file)
54
57
  end
55
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-deintegrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Fuller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-21 00:00:00.000000000 Z
11
+ date: 2019-03-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -43,8 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  requirements: []
46
- rubyforge_project:
47
- rubygems_version: 2.6.14
46
+ rubygems_version: 3.0.1
48
47
  signing_key:
49
48
  specification_version: 4
50
49
  summary: A CocoaPods plugin to remove and de-integrate CocoaPods from your project.