cocoapods-privacy 0.2.4 → 0.2.5
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: 17bcbadaa7fac402b93e8895f8122c527873f24c25698809657999163ad7a5b5
|
4
|
+
data.tar.gz: 511460533641f68349937f6b1bbb90ab65fe51eccc8eb2154eb41926169cf008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd028ae88664c51755d97bc79023e2eccf3245646dce468784197284a287ad525195e8a205cab60b8c36d9e46f3f88935627fa84f1e247e96c1efc72d5fa0841
|
7
|
+
data.tar.gz: a0ba51fe193e4415b1103e03401946acc3db965c594a990a34e1d24927404e583a4557fce182cd62a96f295b7841fc64bd4530572f65ba4d0773a50678540f94
|
@@ -67,7 +67,14 @@ class BBSpec
|
|
67
67
|
if !line.is_comment && line.key.include?(".resource_bundle")
|
68
68
|
@has_resource_bundle = true
|
69
69
|
elsif !line.is_comment && line.key.include?(".source_files")
|
70
|
-
|
70
|
+
begin
|
71
|
+
code = "Pod::Spec.new do |s|; s.source_files = #{line.value}; end;"
|
72
|
+
RubyVM::InstructionSequence.compile(code)
|
73
|
+
spec = eval(code)
|
74
|
+
rescue SyntaxError, StandardError => e
|
75
|
+
raise Pod::Informative, "source_files字段 不支持多行拼写,请修改成成单行格式,重新执行pod privacy spec 命令"
|
76
|
+
end
|
77
|
+
|
71
78
|
if spec && !spec.attributes_hash['source_files'].nil?
|
72
79
|
source_files_value = spec.attributes_hash['source_files']
|
73
80
|
if source_files_value.is_a?(String) && !source_files_value.empty?
|
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.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- youhui
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|