cocoapods-privacy 0.0.2 → 0.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
2
  SHA256:
3
- metadata.gz: ec7d2af33c33d5ebc1458177863ea2d7fb8683f6c054d9fda992f15b2258650a
4
- data.tar.gz: 720615e1ea47109825247569e164c658bda23c7850416a84ca5d8de2161faa58
3
+ metadata.gz: 64e41974c11a4cce1a54f6d7de0cc2d414199e0f5ec4c67c81957390b2146bf3
4
+ data.tar.gz: d0c27ba90d2b5afe6f3da91840891a530f48f5ee6df28a5d1b68974fb4e83572
5
5
  SHA512:
6
- metadata.gz: ea36b077a0ecc139dba6aaa652dde5cfc0489412036eae3474eb60c314f31bb9661807b07ebd9e87122714d6609ebeccaee6003d38f1a2dd9669901715cc1403
7
- data.tar.gz: f3a41a58c76a4b3f5cd715d1a62d30ae14431310992b22a3e62d7ec0444f5163a8fc6032d11cfb678467b41ab58570ceef3083e57a215604ba26a8bfd7387d03
6
+ metadata.gz: 67a8d37e7962e500accfbda1adfbc6b7ee5c70384d133fe6111fe02ee9e678a44c66aca0636d7617d76874378c6964c081e26cfee5acab871fc8a852090344f9
7
+ data.tar.gz: 1787aadcd2206e1ca494f8e77f1cfa1c3a75d02c7b893d2aaadbf38b4160b5d4b95cd9b46ed9d3dda4e8a94a0826d0d6a78224d3a9a4e429b720dbc0e151c3aa
@@ -1,3 +1,3 @@
1
1
  module CocoapodsPrivacy
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -8,7 +8,7 @@ module PrivacyUtils
8
8
 
9
9
  # 通过是否包含podspec 来判断是否为主工程
10
10
  def self.isMainProject
11
- !(podspec_file_path && !podspec_file_path.empty)
11
+ !(podspec_file_path && !podspec_file_path.empty?)
12
12
  end
13
13
 
14
14
  # 查找podspec
@@ -65,7 +65,7 @@ module Pod
65
65
  def install!
66
66
  privacy_origin_install!()
67
67
 
68
- if !(Pod::Config.instance.is_privacy || !Pod::Config.instance.privacy_folds.empty?)
68
+ if !(Pod::Config.instance.is_privacy || (Pod::Config.instance.privacy_folds && !Pod::Config.instance.privacy_folds.empty?))
69
69
  return
70
70
  end
71
71
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-privacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - youhui