cocoapods-whitelist 0.6.0 → 0.6.1
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: 812928b8696a418ab09f34b1a7d000e1e187a444c152e4690642183320f74315
|
|
4
|
+
data.tar.gz: 8063489e178f160785276ae775bbc56c65d73735224f2ae35dda6bd616fb10ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73bdf4a550206d09c461f2ee2d6b2183ef300e7ef20b6276234e4ddf66c8e2c3597cb66888ebf39b94b31dd59071a4c323085c5704b16dab7165c725d7296add
|
|
7
|
+
data.tar.gz: be0a53e0a77f39958b0508cfeb41f92b85925843ba8e1d035163cea1ff16e7ea063d2abf800048e835fcd17d43aa8302b01922b97dfe3a6ca550e0d038c21873
|
|
@@ -50,7 +50,7 @@ module Pod
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
specifications.map do |specification|
|
|
53
|
-
unless
|
|
53
|
+
unless is_excluded?(specification.name)
|
|
54
54
|
Pod::UI.notice "#{specification.name} validating"
|
|
55
55
|
validate_dependencies(JSON.parse(specification.to_json), allowlist)
|
|
56
56
|
end
|
|
@@ -206,6 +206,16 @@ module Pod
|
|
|
206
206
|
}
|
|
207
207
|
end
|
|
208
208
|
|
|
209
|
+
# Check if a specification name matches any excluded pattern
|
|
210
|
+
# Supports both exact matches and wildcard patterns (using *)
|
|
211
|
+
def is_excluded?(spec_name)
|
|
212
|
+
return false unless @excluded_list
|
|
213
|
+
|
|
214
|
+
@excluded_list.any? do |excluded|
|
|
215
|
+
spec_name.match?(/^#{Regexp.escape(excluded.name)}/)
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
|
|
209
219
|
end
|
|
210
220
|
end
|
|
211
221
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-whitelist
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mobile Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|