podsorz 0.0.16 → 0.0.17
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cda1b5515c7a75e9751be12e7436652f84ed3c2685840e1c790ee8b8cd66a49
|
4
|
+
data.tar.gz: 80784af753d7cd4a8ae01fd595f13a04f172390697a7641ccfd64759dd4d1225
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f280fbd5a6532a4c78339d546942837e473c074f63b0aab68450335b55b07e817032a7b0f5e4057c905c530ff140e114f58276b8986a67ed7631598bf54330f5
|
7
|
+
data.tar.gz: c17db6227da4e4bd6b2c7868ed1146cfc262bcedb8339b03326de517a442b0a6b5b4a28e8c40f231236ece9e4f87365d25aa608dcff13a6a382f5f466f1047d8
|
@@ -9,9 +9,11 @@ module PodsOrz
|
|
9
9
|
attr_accessor :repo_name, :repo_url, :binary_server
|
10
10
|
|
11
11
|
def initialize(main_path)
|
12
|
-
@repo_name = "kuxiu_binary_specs"
|
13
|
-
@repo_url = "git@gitlab.91banban.com:ios_pods/binary-specs.git"
|
14
12
|
@orzconfig_parse = PodsOrz::PodOrzconfigParse.new(main_path)
|
13
|
+
|
14
|
+
@repo_name = @orzconfig_parse.file_binaryrepo_name
|
15
|
+
@repo_url = @orzconfig_parse.remote_url_binaryspec
|
16
|
+
|
15
17
|
# 替换成config配置参数
|
16
18
|
# @source_code_repo_url = "git@gitlab.91banban.com:ios_pods/Specs.git"
|
17
19
|
@source_code_repo_url = @orzconfig_parse.remote_url_codespec
|
@@ -4,64 +4,66 @@
|
|
4
4
|
|
5
5
|
#想要开发修改的的Pod
|
6
6
|
$FIX_POD_LIST = [
|
7
|
-
#
|
8
|
-
|
9
|
-
]
|
10
|
-
|
11
|
-
|
12
|
-
module GitConfig
|
13
|
-
#App 当前版本
|
14
|
-
APP_RELEASE_VERSION = "2.1.2"
|
15
|
-
|
16
|
-
#作者姓名xiangqi简写
|
17
|
-
BRANCH_AUTHOR_SUFFIX = "yyt"
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
#App pods的远端仓库地址 源码
|
22
|
-
REMOTE_URL_SOURCECODE = 'git@gitlab.91banban.com:zhuita-ios/pod_group/pods'
|
23
|
-
#App podspec的发布地址仓库
|
24
|
-
REMOTE_URL_CODESPEC = 'git@gitlab.91banban.com:zhuita-ios/pod_group/specs.git'
|
25
|
-
#App 二进制存放地址 service
|
26
|
-
REMOTE_URL_SOURCEBINARY = 'http://192.168.6.127:8899'
|
27
|
-
#App 二进制 podspec的发布地址仓库
|
28
|
-
REMOTE_URL_BINARYSPEC = 'git@gitlab.91banban.com:zhuita-ios/pod_group/specs.git'
|
7
|
+
# "AFNetworking",
|
8
|
+
]
|
29
9
|
|
30
|
-
end
|
31
|
-
|
32
|
-
module FileConfig
|
33
|
-
#开发pods组件时仓库名称(需要与主工程同一级文件夹)
|
34
|
-
FILE_DEVPODS_NAME = 'zt_pods'
|
35
|
-
|
36
|
-
#ztPods/kxPods下的Pod源码库打包成二进制库相关 需要用到该行标识注释
|
37
|
-
FILE_PACKAGE_FILTER_MARK = 'ztPods'
|
38
10
|
|
39
|
-
|
40
|
-
|
11
|
+
module GitConfig
|
12
|
+
#App 当前版本
|
13
|
+
APP_RELEASE_VERSION = "1.1.4"
|
41
14
|
|
42
|
-
|
43
|
-
|
15
|
+
#作者姓名xiangqi简写
|
16
|
+
BRANCH_AUTHOR_SUFFIX = "xq"
|
44
17
|
|
45
|
-
end
|
46
18
|
|
47
19
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
20
|
+
#App pods的远端仓库地址 源码
|
21
|
+
REMOTE_URL_SOURCECODE = 'git@gitlab.91banban.com:zhuita-ios/pod_group/pods'
|
22
|
+
#App podspec的发布地址仓库
|
23
|
+
REMOTE_URL_CODESPEC = 'git@gitlab.91banban.com:zhuita-ios/pod_group/specs.git'
|
24
|
+
|
25
|
+
|
26
|
+
#App 二进制存放地址 service
|
27
|
+
REMOTE_URL_SOURCEBINARY = 'http://192.168.6.127:8899'
|
28
|
+
#App 二进制 podspec的发布地址仓库
|
29
|
+
REMOTE_URL_BINARYSPEC = 'git@gitlab.91banban.com:zhuita-ios/pod_group/binary_specs.git'
|
30
|
+
|
31
|
+
end
|
32
|
+
|
33
|
+
module FileConfig
|
34
|
+
#开发pods组件时仓库名称(需要与主工程同一级文件夹)
|
35
|
+
FILE_DEVPODS_NAME = 'zt_pods'
|
36
|
+
|
37
|
+
#ztPods/kxPods下的Pod源码库打包成二进制库相关 需要用到该行标识注释
|
38
|
+
FILE_PACKAGE_FILTER_MARK = 'ztPods'
|
39
|
+
|
40
|
+
#与cocoapods同一级的私有repo仓库文件夹名称
|
41
|
+
FILE_CODEREPO_NAME = "zhuita_specs"
|
42
|
+
|
43
|
+
#与cocoapods同一级的私有二进制 repo仓库文件夹名称
|
44
|
+
FILE_BINARYREPO_NAME = "zhuita_binary_specs"
|
45
|
+
|
46
|
+
end
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
#############
|
53
|
+
#打包人员专用
|
54
|
+
#############
|
55
|
+
|
56
|
+
#------Binary Static library ------#
|
57
|
+
#是否全部Pod以二进制静态库加载,false代表以源码显示【打包机】请用源码
|
58
|
+
$is_all_binary = false
|
59
|
+
#当is_all_binary = false 所有pod即将显示源码时,仍然希望部分Pod二进制静态库加载
|
60
|
+
$static_lib_list = [
|
61
|
+
# "AFNetworking",
|
62
|
+
]
|
63
|
+
|
64
|
+
#------Package Action------#
|
65
|
+
#当is_all_binary = false 并不是针对所有pod 打binary包,仍然希望部分pod打包成二进制静态库的Pod
|
66
|
+
$will_package_list = [
|
67
|
+
# "AFNetworking",
|
68
|
+
]
|
69
|
+
|
@@ -3,7 +3,15 @@ require "podsorz/util/logger"
|
|
3
3
|
|
4
4
|
module PodsOrz
|
5
5
|
class PodOrzconfigParse
|
6
|
-
|
6
|
+
#Git Config
|
7
|
+
attr_accessor :fix_pod_list, :app_release_version, :branch_author_suffix
|
8
|
+
attr_accessor :remote_url_sourcecode,:remote_url_codespec, :remote_url_binary, :remote_url_binaryspec
|
9
|
+
|
10
|
+
#File Config
|
11
|
+
attr_accessor :file_devpods_name, :file_package_filter_mark, :file_coderepo_name,:file_binaryrepo_name
|
12
|
+
|
13
|
+
#Package
|
14
|
+
attr_accessor :is_all_binary, :static_lib_list, :will_package_list
|
7
15
|
|
8
16
|
def initialize(main_path)
|
9
17
|
orzconfig_path = File.expand_path("PodsOrzConfig.rb", main_path)
|
@@ -16,41 +24,25 @@ module PodsOrz
|
|
16
24
|
|
17
25
|
require orzconfig_path
|
18
26
|
|
27
|
+
#GitConfig
|
28
|
+
@fix_pod_list = $FIX_POD_LIST
|
19
29
|
@app_release_version = GitConfig::APP_RELEASE_VERSION
|
20
|
-
@app_release_version = "" if @app_release_version.nil?
|
21
|
-
|
22
30
|
@branch_author_suffix = GitConfig::BRANCH_AUTHOR_SUFFIX
|
23
|
-
@branch_author_suffix = "" if @branch_author_suffix.nil?
|
24
|
-
|
25
31
|
@remote_url_sourcecode = GitConfig::REMOTE_URL_SOURCECODE
|
26
|
-
@remote_url_sourcecode = "" if @remote_url_sourcecode.nil?
|
27
|
-
|
28
32
|
@remote_url_codespec = GitConfig::REMOTE_URL_CODESPEC
|
29
|
-
@
|
33
|
+
@remote_url_binary = GitConfig::REMOTE_URL_SOURCEBINARY;
|
34
|
+
@remote_url_binaryspec = GitConfig::REMOTE_URL_BINARYSPEC;
|
30
35
|
|
36
|
+
#FileConfig
|
31
37
|
@file_devpods_name = FileConfig::FILE_DEVPODS_NAME
|
32
|
-
@file_devpods_name = "" if @file_devpods_name.nil?
|
33
|
-
|
34
38
|
@file_package_filter_mark = FileConfig::FILE_PACKAGE_FILTER_MARK
|
35
|
-
@file_package_filter_mark = "" if @file_package_filter_mark.nil?
|
36
|
-
|
37
39
|
@file_coderepo_name = FileConfig::FILE_CODEREPO_NAME
|
38
|
-
@file_coderepo_name = "" if @file_coderepo_name.nil?
|
39
|
-
|
40
40
|
@file_binaryrepo_name = FileConfig::FILE_BINARYREPO_NAME
|
41
|
-
@file_binaryrepo_name = "" if @file_binaryrepo_name.nil?
|
42
|
-
|
43
|
-
@fix_pod_list = $FIX_POD_LIST
|
44
|
-
@fix_pod_list = [] if @fix_pod_list.nil?
|
45
41
|
|
42
|
+
#Package
|
46
43
|
@is_all_binary = $is_all_binary
|
47
|
-
@is_all_binary = false if @is_all_binary.nil?
|
48
|
-
|
49
44
|
@static_lib_list = $static_lib_list
|
50
|
-
@static_lib_list = [] if @static_lib_list.nil?
|
51
|
-
|
52
45
|
@will_package_list = $will_package_list
|
53
|
-
@will_package_list = [] if @will_package_list.nil?
|
54
46
|
end
|
55
47
|
end
|
56
48
|
end
|
@@ -8,8 +8,6 @@ module PodsOrz
|
|
8
8
|
attr_accessor :repo_name, :repo_url
|
9
9
|
|
10
10
|
def initialize(main_path)
|
11
|
-
# @repo_name = "kuxiu_specs"
|
12
|
-
# 替换成config配置参数
|
13
11
|
@orzconfig_parse = PodsOrz::PodOrzconfigParse.new(main_path)
|
14
12
|
@repo_url = @orzconfig_parse.remote_url_codespec
|
15
13
|
@repo_name = @orzconfig_parse.file_coderepo_name
|
data/lib/podsorz/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: podsorz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xiangqi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|