cocoapods-privacy 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1138888b85b8d2e4eb857fc7bb3d86f305f8a414b79702a9e898da0c351b7f8
|
4
|
+
data.tar.gz: e47d7800f08af2b3464f5dcf7cfb77c8e46961d2198acb4e12390df3eeff6df0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3d5745b2c7c7eaa6cdffe1e9f11a6d6720a8b2fd56d6a7195b6176a99467f2462e5f3e4233d695148ebe38ef07f74ab92525f318bf930bf9dc806f0ba4dfedb
|
7
|
+
data.tar.gz: 0caa4e0cfe57beadfdbf979bfe9712997e5b9d5193216204ee5eef51292d8d1638522d5f2bb892e978007fda675918cc0aff28688bc26a72fe0bfa55640904ee
|
@@ -8,6 +8,7 @@ require 'cocoapods-privacy/command'
|
|
8
8
|
# 3、检索到的内容转换成隐私协议格式写入 隐私清单文件 PrivacyInfo.xcprivacy
|
9
9
|
##
|
10
10
|
module PrivacyHunter
|
11
|
+
|
11
12
|
KTypes = "NSPrivacyAccessedAPITypes"
|
12
13
|
KType = "NSPrivacyAccessedAPIType"
|
13
14
|
KReasons = "NSPrivacyAccessedAPITypeReasons"
|
@@ -103,12 +104,12 @@ module PrivacyHunter
|
|
103
104
|
def self.fetch_template_plist_file
|
104
105
|
|
105
106
|
unless File.exist?(PrivacyUtils.cache_config_file)
|
106
|
-
raise Informative, "无配置文件,run `pod privacy config config_file' 进行配置"
|
107
|
+
raise Pod::Informative, "无配置文件,run `pod privacy config config_file' 进行配置"
|
107
108
|
end
|
108
109
|
|
109
110
|
template_url = Privacy::Config.instance.api_template_url
|
110
111
|
unless template_url && !template_url.empty?
|
111
|
-
raise Informative, "配置文件中无 `api.template.url` 配置,请补全后再更新配置 `pod privacy config config_file` "
|
112
|
+
raise Pod::Informative, "配置文件中无 `api.template.url` 配置,请补全后再更新配置 `pod privacy config config_file` "
|
112
113
|
end
|
113
114
|
|
114
115
|
# 目标文件路径
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-privacy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- youhui
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|