cocoapods-whitelist 0.4.0 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.pre-commit-config.yaml +15 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/cocoapods-whitelist/command/whitelist.rb +11 -11
- data/lib/cocoapods-whitelist/gem_version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df9811a2f73baf94fbffa4b66502c4b2d53235a661f29096662f5d3658584400
|
4
|
+
data.tar.gz: b8e55e5ea04eec1f3760ac15b0809d272ce723e18365bdc728abb01c01d1b206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef87c35379e76239424379d9225cd8646e90ad91b3963ad6d3ae8b0fbc5e435f648bd03d5107709f61be6ccf18f700b381dc837a03e0abddfc920d50d17e1766
|
7
|
+
data.tar.gz: 218f8ab7fc4d67148255629f519302f8c90716664f0fabe2f62e20bdd628ed2a056bc388c82052545ef8a378760e352d9d9d6ccf2e006fb2ab6a245e63acf81c
|
@@ -0,0 +1,15 @@
|
|
1
|
+
repos:
|
2
|
+
# Websec hook is MANDATORY, DO NOT comment it.
|
3
|
+
- repo: https://github.com/melisource/fury_websec-git-hooks
|
4
|
+
rev: v1.1.0
|
5
|
+
hooks:
|
6
|
+
- id: pre_commit_hook
|
7
|
+
stages: [commit]
|
8
|
+
- id: post_commit_hook
|
9
|
+
stages: [post-commit]
|
10
|
+
- repo: https://github.com/melisource/fury_datasec-git-hooks
|
11
|
+
rev: 1.0.3
|
12
|
+
hooks:
|
13
|
+
- id: pre_commit_hook
|
14
|
+
stages: [commit]
|
15
|
+
verbose: true
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -47,7 +47,7 @@ module Pod
|
|
47
47
|
load_excluded()
|
48
48
|
specifications = get_podspec_specifications
|
49
49
|
|
50
|
-
if specifications.empty?
|
50
|
+
if specifications == nil || specifications.empty?
|
51
51
|
UI.puts "No Podspec found".yellow
|
52
52
|
return
|
53
53
|
end
|
@@ -141,17 +141,17 @@ module Pod
|
|
141
141
|
if @pospec_path
|
142
142
|
return [Pod::Specification.from_file(@pospec_path)]
|
143
143
|
end
|
144
|
-
|
145
|
-
# Search .podspec in
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
144
|
+
# 1 Arg = Search .podspec in current directory
|
145
|
+
# 2 Arg = Search .podspec in parent and sub directories. Some projects have Podfile into a subdirectory ("Example"), and run "pod install" from there.
|
146
|
+
# 3 Arg = Search .podspec in all directories
|
147
|
+
# 4 Arg = Search .podspec in parent and sub directories. Search is executed from children folder.
|
148
|
+
podspec_search_paths = ["./*.podspec", "../*.podspec", "./**/*.podspec", "../**/*.podspec"]
|
149
|
+
podspec_search_paths.each do |regex|
|
150
|
+
pod_specs = Dir.glob(regex)
|
151
|
+
if pod_specs.count != 0
|
152
|
+
return pod_specs.map { |path| Pod::Specification.from_file(path) }
|
153
|
+
end
|
152
154
|
end
|
153
|
-
|
154
|
-
return podspecs.map { |path| Pod::Specification.from_file(path) }
|
155
155
|
end
|
156
156
|
|
157
157
|
def show_error_message(message)
|
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.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mobile Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -47,6 +47,7 @@ extra_rdoc_files: []
|
|
47
47
|
files:
|
48
48
|
- ".circleci/config.yml"
|
49
49
|
- ".gitignore"
|
50
|
+
- ".pre-commit-config.yaml"
|
50
51
|
- ".ruby-version"
|
51
52
|
- CHANGELOG.md
|
52
53
|
- Gemfile
|
@@ -117,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
118
|
- !ruby/object:Gem::Version
|
118
119
|
version: '0'
|
119
120
|
requirements: []
|
120
|
-
rubygems_version: 3.
|
121
|
+
rubygems_version: 3.0.9
|
121
122
|
signing_key:
|
122
123
|
specification_version: 4
|
123
124
|
summary: A longer description of cocoapods-whitelist.
|