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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd62dd4556e53831b2b078c24ea852a7c756288385a316ac86e38b3f4ae3a2be
4
- data.tar.gz: 4d12c63701b3ea89a5096a7f440061940424b8e2ddc33fe1b7ef65200078b8cb
3
+ metadata.gz: 022ce6fd33aecf81ad9d8ba51d9d8f11b89474f7006d878c52282915f0d1a72e
4
+ data.tar.gz: a0e815198dcd4c8f84b9c4f8f092686fa06fcede62e0cf1659cd330a4b6205fc
5
5
  SHA512:
6
- metadata.gz: 216b722dbe1466edbc93c9051ea2e0f4a57324774d201c90f11b44c9adaed803fc49e9f381fb336dc60c817824290075ff673369098ad04e4e42a1a94a3ee386
7
- data.tar.gz: da69be9b603987f84ff1a951f1582afefc8a0e647472d3dc89ae6924886823ac15088b3f0fe736e643b8a9ddbe6e65f8d217ebbda9a1facec677478ab09dc451
6
+ metadata.gz: 7a8e91ceb713fbd15f05e0050b38a2dc253ff74597506ea979ff2ee326ee6c65e4d328ae5a3d60ce54fac7a896cb9991663b5d9ab21ea02c3aa3f47859d08a85
7
+ data.tar.gz: 9f69b4f781d23ade25e4abf3448b413691c398d7b95a74393bd5fd0e76abd0033bd73f9003e27c5c6c23c3951e9b7a262f752d8414af0d72a7a6d1595e54fc25
@@ -32,6 +32,9 @@ end
32
32
  module FileConfig
33
33
  #开发pods组件时仓库名称(需要与主工程同一级文件夹)
34
34
  FILE_DEVPODS_NAME = 'zt_pods'
35
+
36
+ #ztPods/kxPods下的Pod源码库打包成二进制库相关 需要用到该行标识注释
37
+ FILE_PACKAGE_FILTER_MARK = 'ztPods'
35
38
 
36
39
  #与cocoapods同一级的私有repo仓库文件夹名称
37
40
  FILE_CODEREPO_NAME = "ZhuiTaRepo"
@@ -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,:file_coderepo_name,:file_binaryrepo_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", "ztPods"]
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}" + "_#{@app_release_version}"
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}" + "_#{@app_release_version}"
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.include? branch_name
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.include? branch_name
39
+ has_branch = true if line.strip.eql? branch_name
40
40
  end
41
41
 
42
42
  io.close
@@ -1,3 +1,3 @@
1
1
  module PodsOrz
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.15"
3
3
  end
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.13
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-07-05 00:00:00.000000000 Z
11
+ date: 2021-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli