cocoapods-bb-bin 0.1.9.1 → 0.1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-bb-bin/command/bin/lib/lint.rb +2 -2
- data/lib/cocoapods-bb-bin/command/bin/repo/push.rb +3 -10
- data/lib/cocoapods-bb-bin/gem_version.rb +1 -1
- data/lib/cocoapods-bb-bin/helpers/upload_helper.rb +2 -1
- data/lib/cocoapods-bb-bin/native/push.rb +1 -1
- data/lib/cocoapods-bb-bin/native/validator.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5f4829bed047a7e6cf24fa37682af5fc4dc8072f1007816fd4583c61905d05c
|
4
|
+
data.tar.gz: bec7974a90a79e8b5c6568603f754ede81499d5e1ddee4f2822b31acc2982839
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0defbc5c9f7cdfcca836b01ed21eab3af214eab878c1cbebe77e7089b6777f0b3a7e8f79af402c2bc3364ea8813d1eb56d2ee4415e9d84e211c57986c6fafbd
|
7
|
+
data.tar.gz: d4fa411c0be901eff6028216f351c3678e1f95be435afea6301e5dcd33aa89ddd0d242151d62f1e3850f52400aa365aaddf5a97040b5af097d8008138df23605
|
@@ -38,7 +38,6 @@ module Pod
|
|
38
38
|
@podspec = argv.shift_argument
|
39
39
|
super
|
40
40
|
@additional_args = argv.remainder!
|
41
|
-
@verbose = argv.flag?('verbose', false)
|
42
41
|
end
|
43
42
|
|
44
43
|
def run
|
@@ -109,11 +108,12 @@ module Pod
|
|
109
108
|
argvs += ['--verbose'] if @verbose
|
110
109
|
end
|
111
110
|
|
112
|
-
|
111
|
+
puts "pod bin lib lint argvs:#{argvs}"
|
113
112
|
lint = Pod::Command::Lib::Lint.new(CLAide::ARGV.new(argvs))
|
114
113
|
lint.validate!
|
115
114
|
lint.run
|
116
115
|
rescue Object => exception
|
116
|
+
UI.puts "fail....."
|
117
117
|
UI.puts exception
|
118
118
|
end
|
119
119
|
end
|
@@ -31,7 +31,6 @@ module Pod
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def initialize(argv)
|
34
|
-
super
|
35
34
|
@repo = argv.shift_argument
|
36
35
|
@podspec = argv.shift_argument
|
37
36
|
@binary = argv.flag?('binary')
|
@@ -43,13 +42,8 @@ module Pod
|
|
43
42
|
@allow_prerelease = argv.flag?('allow-prerelease')
|
44
43
|
@use_static_frameworks = argv.flag?('use-static-frameworks', true)
|
45
44
|
@bb_env = argv.flag?('bb-env', false)
|
46
|
-
|
45
|
+
super
|
47
46
|
@additional_args = argv.remainder!
|
48
|
-
@message = argv.option('commit-message')
|
49
|
-
@commit_message = argv.flag?('commit-message', false)
|
50
|
-
@use_json = argv.flag?('use-json')
|
51
|
-
@verbose = argv.flag?('verbose', false)
|
52
|
-
@local_only = argv.flag?('local-only')
|
53
47
|
end
|
54
48
|
|
55
49
|
def run
|
@@ -110,13 +104,12 @@ module Pod
|
|
110
104
|
new_repo,
|
111
105
|
@podspec,
|
112
106
|
"--sources=#{sources_option(@code_dependencies, @sources)}",
|
113
|
-
# '--verbose'
|
107
|
+
# '--verbose',
|
114
108
|
'--allow-warnings',
|
115
109
|
'--use-static-frameworks',
|
116
110
|
'--skip-import-validation',
|
117
111
|
'--use-modular-headers',
|
118
112
|
'--swift-version=5.0',
|
119
|
-
'--use_cocoapods_validator', #cocoapods验证
|
120
113
|
*@additional_args
|
121
114
|
]
|
122
115
|
argvs += ['--verbose'] if @verbose
|
@@ -124,7 +117,7 @@ module Pod
|
|
124
117
|
argvs += ['--use-json'] if @use_json
|
125
118
|
argvs += ['--local-only'] if @local_only
|
126
119
|
|
127
|
-
|
120
|
+
UI.puts "pod bin repo push argvs:#{argvs}"
|
128
121
|
push = Pod::Command::Repo::Push.new(CLAide::ARGV.new(argvs))
|
129
122
|
push.validate!
|
130
123
|
push.run
|
@@ -27,7 +27,7 @@ module Pod
|
|
27
27
|
@skip_tests = argv.flag?('skip-tests', false)
|
28
28
|
@allow_overwrite = argv.flag?('overwrite', true)
|
29
29
|
super
|
30
|
-
@use_cocoapods_validator = argv.flag?('
|
30
|
+
@use_cocoapods_validator = argv.flag?('cocoapods-validator', true)# 配置参数cocoapods进行验证,内部进行hook,二进制hook,源码cocoapods进行验证
|
31
31
|
end
|
32
32
|
|
33
33
|
# Performs a full lint against the podspecs.
|
@@ -5,8 +5,9 @@ module Pod
|
|
5
5
|
# @return [Boolean] 使用cocoapods进行验证,二进制库推送默认不采用cocoapods(1.11.2)验证
|
6
6
|
#
|
7
7
|
# attr_accessor :use_cocoapods_validator
|
8
|
-
def initialize(spec_or_path, source_urls, platforms = [], use_cocoapods_validator =
|
8
|
+
def initialize(spec_or_path, source_urls, platforms = [], use_cocoapods_validator = true)
|
9
9
|
@use_cocoapods_validator = use_cocoapods_validator
|
10
|
+
UI.puts "use_cocoapods_validator = #{use_cocoapods_validator}"
|
10
11
|
@use_frameworks = true
|
11
12
|
@linter = Specification::Linter.new(spec_or_path)
|
12
13
|
@source_urls = if @linter.spec && @linter.spec.dependencies.empty? && @linter.spec.recursive_subspecs.all? { |s| s.dependencies.empty? }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-bb-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.9.
|
4
|
+
version: 0.1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- humin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|