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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 421565cc472d283f9e146259dc55a04d59f47ea257971c5ed08c0c91a20f8103
4
- data.tar.gz: 6fd6c9755d9dc3277a9f055e38dac34edee2ed1f2a827d454558be14c8a78668
3
+ metadata.gz: d5f4829bed047a7e6cf24fa37682af5fc4dc8072f1007816fd4583c61905d05c
4
+ data.tar.gz: bec7974a90a79e8b5c6568603f754ede81499d5e1ddee4f2822b31acc2982839
5
5
  SHA512:
6
- metadata.gz: 48b8836abd60d88e82321a1843964ccda27ff364a09f8f5b56b4ecd2b56b6d0735b07fa561954411534fd2d93338db0b34009764eb382f0b1794ae7781a16d69
7
- data.tar.gz: 41233c856e3922cb85ac445219b14021670b10516fc8b2292e1326648ca842857081e27bce96c36bc61c242408a51d89e5876315476687985d67a12f745baff1
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
- # puts "pod lib lint argvs:#{argvs}"
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
- # UI.puts "pod repo push argvs:#{argvs}"
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
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CBin
3
- VERSION = '0.1.9.1'
3
+ VERSION = '0.1.9.2'
4
4
  end
5
5
 
6
6
  module Pod
@@ -81,7 +81,8 @@ EOF
81
81
  "--use-libraries",
82
82
  "--allow-warnings",
83
83
  "--verbose",
84
- "--code-dependencies"
84
+ "--code-dependencies",
85
+ '--no-cocoapods-validator', #不采用cocoapods验证
85
86
  ]
86
87
  if @verbose
87
88
  argvs += ['--verbose']
@@ -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?('use_cocoapods_validator', false)# 配置参数cocoapods进行验证,内部进行hook,二进制hook,源码cocoapods进行验证
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 = false)
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.1
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-02 00:00:00.000000000 Z
11
+ date: 2021-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel