cocoapods-tdf-bin 0.0.39 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -6
- data/lib/cocoapods-tdf-bin/command/bin/auto.rb +1 -1
- data/lib/cocoapods-tdf-bin/command/bin/batch.rb +8 -2
- data/lib/cocoapods-tdf-bin/gem_version.rb +1 -1
- data/lib/cocoapods-tdf-bin/helpers/spec_files_helper.rb +1 -1
- data/lib/cocoapods-tdf-bin/helpers/upload_helper.rb +4 -2
- 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: 5188dd1bf984b34944ee119c388d026a31439d8689a7a4f12617a35c0ecf4acb
|
4
|
+
data.tar.gz: 8532b340ac55b5dc7ffebab2d3a1e7f2c45655c567e6e30660d2e9f201ce9cae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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,9 +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])
|
37
|
+
if res.is_a? Array
|
38
|
+
puts res.join(",")
|
39
|
+
return
|
40
|
+
else
|
41
|
+
puts res
|
42
|
+
return
|
43
|
+
end
|
38
44
|
end
|
39
45
|
|
40
46
|
podfile = File.join(Pathname.pwd, "Podfile")
|
@@ -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.
|
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-
|
11
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|