cocoapods-tdf-bin 0.0.40 → 0.0.41

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: 11d475d02742832bec08af83fd5e8e8b057c8116bca268ef6e63c7cb7bd70e5a
4
- data.tar.gz: 2dca7393d763565373dc80403813271bab227a2854074112ce78eec80d3cfaf9
3
+ metadata.gz: 5188dd1bf984b34944ee119c388d026a31439d8689a7a4f12617a35c0ecf4acb
4
+ data.tar.gz: 8532b340ac55b5dc7ffebab2d3a1e7f2c45655c567e6e30660d2e9f201ce9cae
5
5
  SHA512:
6
- metadata.gz: 0655a646146e3c480358ed1f31d310e447f8bc8a65b9b34161b4f2d6a9c885e940ae8b1f4136b63f0c687521a7a7e3689f8eda78320c02cbee6aff8bcf788547
7
- data.tar.gz: 1e8729e205aaf540b793bf6ee513502115bb84bc56284b2ba721c3105bf8f91e274838e3591969afbd547dbba6eb946f0c641d09167b423a0bf7d7f889d607d5
6
+ metadata.gz: 6ebace05c1bcfe99061d752f393e1744d96b44c764aae8c399aaee8f10ab6e50e24c0a2c13600f290fdead89f96c9c733417fb303f6fdb86f7604e78e9603f07
7
+ data.tar.gz: bd3a50f2fe54e90c68306c16a17af7f93101c6e2348267ade045931263819765fe3424866e17736acfa61c3459f5810872e169f2e2a5bfeeaa2ba5c75b019e8b
data/README.md CHANGED
@@ -101,12 +101,7 @@ set_use_source_pods [
101
101
 
102
102
  #### 5. 使用 batch 命令
103
103
  ```ruby
104
- batch_pod_local [
105
- "TDFSunKitchenModule",
106
- "TDFRetailStock",
107
- ], "本地路径"
108
-
109
- batch_pod_remote [
104
+ pods [
110
105
  "TDFSunKitchenModule",
111
106
  "TDFRetailStock",
112
107
  ], "分支名"
@@ -71,7 +71,7 @@ module Pod
71
71
  if !@only_build
72
72
  source_specs.uniq.each do |spec|
73
73
  begin
74
- fail_push_specs << spec unless CBin::Upload::Helper.new(spec, @code_dependencies, @sources).upload
74
+ fail_push_specs << spec unless CBin::Upload::Helper.new(spec, @code_dependencies, @sources, @verbose).upload
75
75
  rescue Object => exception
76
76
  UI.puts exception
77
77
  fail_push_specs << spec
@@ -32,11 +32,15 @@ module Pod
32
32
  end
33
33
 
34
34
  def run
35
-
36
35
  if @arguments.size == 2 && @arguments[0] == "find"
37
36
  res = Batch.find_repo_with_pods(@arguments[1])
38
- puts res.join(",")
39
- return
37
+ if res.is_a? Array
38
+ puts res.join(",")
39
+ return
40
+ else
41
+ puts res
42
+ return
43
+ end
40
44
  end
41
45
 
42
46
  podfile = File.join(Pathname.pwd, "Podfile")
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CBin
3
- VERSION = "0.0.40"
3
+ VERSION = "0.0.41"
4
4
  end
5
5
 
6
6
  module Pod
@@ -10,7 +10,7 @@ module CBin
10
10
  end
11
11
 
12
12
  def binary_spec_files
13
- @binary_spec_files ||= Pathname.glob('*.binary.podspec{,.json}')
13
+ @binary_spec_files ||= Pathname.glob('*.podspec{,.json}')
14
14
  end
15
15
 
16
16
  def binary_template_spec_files
@@ -16,10 +16,11 @@ module CBin
16
16
  class Helper
17
17
  include CBin::SourcesHelper
18
18
 
19
- def initialize(spec,code_dependencies,sources)
19
+ def initialize(spec, code_dependencies, sources, verbose)
20
20
  @spec = spec
21
21
  @code_dependencies = code_dependencies
22
22
  @sources = sources
23
+ @verbose = verbose
23
24
  end
24
25
 
25
26
  def upload
@@ -73,12 +74,13 @@ EOF
73
74
  "--skip-import-validation",
74
75
  "--use-libraries",
75
76
  "--allow-warnings",
76
- "--code-dependencies"
77
+ "--code-dependencies",
77
78
  ]
78
79
  if @verbose
79
80
  argvs += ['--verbose']
80
81
  end
81
82
 
83
+ UI.info "开始上传【#{binary_podsepc_json}】组件:#{argvs}"
82
84
  push = Pod::Command::Bin::Repo::Push.new(CLAide::ARGV.new(argvs))
83
85
  push.validate!
84
86
  push.run
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-tdf-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.40
4
+ version: 0.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - gaijiaofan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-25 00:00:00.000000000 Z
11
+ date: 2023-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel