cocoapods-privacy 0.0.1 → 0.0.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: 75f110acdd889169f011bfa5508d1941cdaccf78ce5dcb43bc51dd79236e793f
4
- data.tar.gz: 9db44f1ca04a5991000862935336ba4d1ebbb96508c2e6b2d0877a5d21f5f1d5
3
+ metadata.gz: ec7d2af33c33d5ebc1458177863ea2d7fb8683f6c054d9fda992f15b2258650a
4
+ data.tar.gz: 720615e1ea47109825247569e164c658bda23c7850416a84ca5d8de2161faa58
5
5
  SHA512:
6
- metadata.gz: adca9245bb2e2feef01acf8f5215f933b3bd89a97cfd279494e9d0c0f6edc92b82d2daf1b86e8b439e5c7ae1ce0746cb3b67100fdcc23c390ee339bee56d8d60
7
- data.tar.gz: a313ab80c11f3479da5f173de9179aae6498d677289e05e0674ffecb089aa6c7905856c061539a5cb1d9add0c418959362edef520a14c2386566ef64fb11a1cc
6
+ metadata.gz: ea36b077a0ecc139dba6aaa652dde5cfc0489412036eae3474eb60c314f31bb9661807b07ebd9e87122714d6609ebeccaee6003d38f1a2dd9669901715cc1403
7
+ data.tar.gz: f3a41a58c76a4b3f5cd715d1a62d30ae14431310992b22a3e62d7ec0444f5163a8fc6032d11cfb678467b41ab58570ceef3083e57a215604ba26a8bfd7387d03
@@ -1,3 +1,3 @@
1
1
  module CocoapodsPrivacy
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -75,7 +75,7 @@ module PrivacyHunter
75
75
 
76
76
  # 检查新数据和原先数据是否一致
77
77
  if origin_privacy_data.strip == new_privacy_data.strip
78
- puts "NSPrivacyAccessedAPITypes 数据一致,无需插入。"
78
+ puts "#{privacy_path} 数据一致,无需插入。"
79
79
  else
80
80
  unless origin_privacy_data.strip.empty?
81
81
  # 删除 :NSPrivacyAccessedAPITypes 键
@@ -119,11 +119,10 @@ module PrivacyHunter
119
119
 
120
120
  # 判断本地文件的最后修改时间是否与远端文件一致,如果一致则不进行下载
121
121
  if File.exist?(local_file_path) && file_identical?(local_file_path, remote_file_time)
122
- puts "本地文件与远端文件一致,无需下载。文件路径: #{local_file_path}"
123
122
  else
124
123
  # 使用 curl 下载文件
125
124
  system("curl -o #{local_file_path} #{template_url}")
126
- puts "文件已下载到: #{local_file_path}"
125
+ puts "隐私清单模版文件已更新到: #{local_file_path}"
127
126
 
128
127
  # 同步远程文件时间到本地文件
129
128
  syncFileTime?(local_file_path,remote_file_time)
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - youhui