podsorz 0.0.13 → 0.0.15
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 +4 -4
- data/lib/podsorz/core/Config/orz_config_templet.rb +3 -0
- data/lib/podsorz/core/Config/pod_orzconfig_parse.rb +4 -1
- data/lib/podsorz/core/PodFile/podfile_io.rb +1 -1
- data/lib/podsorz/core/PodsOrz/pods_git_operator.rb +2 -2
- data/lib/podsorz/util/git_operator.rb +2 -2
- data/lib/podsorz/version.rb +1 -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: 022ce6fd33aecf81ad9d8ba51d9d8f11b89474f7006d878c52282915f0d1a72e
|
|
4
|
+
data.tar.gz: a0e815198dcd4c8f84b9c4f8f092686fa06fcede62e0cf1659cd330a4b6205fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a8e91ceb713fbd15f05e0050b38a2dc253ff74597506ea979ff2ee326ee6c65e4d328ae5a3d60ce54fac7a896cb9991663b5d9ab21ea02c3aa3f47859d08a85
|
|
7
|
+
data.tar.gz: 9f69b4f781d23ade25e4abf3448b413691c398d7b95a74393bd5fd0e76abd0033bd73f9003e27c5c6c23c3951e9b7a262f752d8414af0d72a7a6d1595e54fc25
|
|
@@ -3,7 +3,7 @@ require "podsorz/util/logger"
|
|
|
3
3
|
|
|
4
4
|
module PodsOrz
|
|
5
5
|
class PodOrzconfigParse
|
|
6
|
-
attr_accessor :app_release_version, :branch_author_suffix, :fix_pod_list, :is_all_binary, :static_lib_list, :will_package_list,:remote_url_sourcecode,:remote_url_codespec,:file_devpods_name
|
|
6
|
+
attr_accessor :app_release_version, :branch_author_suffix, :fix_pod_list, :is_all_binary, :static_lib_list, :will_package_list,:remote_url_sourcecode,:remote_url_codespec,:file_devpods_name, :file_package_filter_mark, :file_coderepo_name,:file_binaryrepo_name
|
|
7
7
|
|
|
8
8
|
def initialize(main_path)
|
|
9
9
|
orzconfig_path = File.expand_path("PodsOrzConfig.rb", main_path)
|
|
@@ -31,6 +31,9 @@ module PodsOrz
|
|
|
31
31
|
@file_devpods_name = FileConfig::FILE_DEVPODS_NAME
|
|
32
32
|
@file_devpods_name = "" if @file_devpods_name.nil?
|
|
33
33
|
|
|
34
|
+
@file_package_filter_mark = FileConfig::FILE_PACKAGE_FILTER_MARK
|
|
35
|
+
@file_package_filter_mark = "" if @file_package_filter_mark.nil?
|
|
36
|
+
|
|
34
37
|
@file_coderepo_name = FileConfig::FILE_CODEREPO_NAME
|
|
35
38
|
@file_coderepo_name = "" if @file_coderepo_name.nil?
|
|
36
39
|
|
|
@@ -19,7 +19,7 @@ module PodsOrz
|
|
|
19
19
|
def filter_binary_pod_models()
|
|
20
20
|
filter_result_models = []
|
|
21
21
|
|
|
22
|
-
filter_strings = ["sourceVendorPods", "subspecPods",
|
|
22
|
+
filter_strings = ["sourceVendorPods", "subspecPods", @orzconfig_parse.file_package_filter_mark]
|
|
23
23
|
|
|
24
24
|
result_lines = []
|
|
25
25
|
|
|
@@ -40,7 +40,7 @@ module PodsOrz
|
|
|
40
40
|
|
|
41
41
|
def switch_feature_pod(pod)
|
|
42
42
|
previous_branch = self.current_pod_branch(pod)
|
|
43
|
-
next_branch = "feature/" + "#{@author_suffix}"
|
|
43
|
+
next_branch = "feature/" + "#{@author_suffix}"
|
|
44
44
|
|
|
45
45
|
is_ready = true
|
|
46
46
|
is_same = previous_branch.include? next_branch
|
|
@@ -116,7 +116,7 @@ module PodsOrz
|
|
|
116
116
|
|
|
117
117
|
def switch_bugfix_pod(pod)
|
|
118
118
|
previous_branch = self.current_pod_branch(pod)
|
|
119
|
-
next_branch = "bugfix/" + "#{@author_suffix}"
|
|
119
|
+
next_branch = "bugfix/" + "#{@author_suffix}"
|
|
120
120
|
|
|
121
121
|
is_ready = true
|
|
122
122
|
is_same = previous_branch.include? next_branch
|
|
@@ -24,7 +24,7 @@ module PodsOrz
|
|
|
24
24
|
has_branch = false
|
|
25
25
|
IO.popen("cd '#{path}';git branch") do |io|
|
|
26
26
|
io.each do |line|
|
|
27
|
-
has_branch = true if line.
|
|
27
|
+
has_branch = true if line.strip.eql? branch_name
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
io.close
|
|
@@ -36,7 +36,7 @@ module PodsOrz
|
|
|
36
36
|
has_branch = false
|
|
37
37
|
IO.popen("cd '#{path}';git fetch --all;git branch -a") do |io|
|
|
38
38
|
io.each do |line|
|
|
39
|
-
has_branch = true if line.
|
|
39
|
+
has_branch = true if line.strip.eql? branch_name
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
io.close
|
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.15
|
|
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-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gli
|