pod-pipeline 0.1.7 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5860ce308879a433f573795aa43dbeb1d9a82f95aaf5cf7b9989835cd1d7f7c2
4
- data.tar.gz: 500b65c92ce14bb91ff17fab25bbd8a972478d66f7b649ff4bda275a03b5cb7b
3
+ metadata.gz: 6140c3b739ebd8d6b85fe410608dd44f2f48a93801a9fc580a84d8ea9df074e3
4
+ data.tar.gz: 0425fadd95bf189281397c6b897046092ca84c64369f64f19a555c2d6f253cbc
5
5
  SHA512:
6
- metadata.gz: 6a4256bd76d6c94eb67d5264e6a9a5ffd178af877e0c97dbad458805fe48c9c5ffba5cedd093fa6677e970f29d48ce1d82c17668210610c0c879691897dc3165
7
- data.tar.gz: 131bee767504b3a169ed7b3709a514e13f297ea4059fd63efa8d1f9a908479cc4474376bcd0e6fef694d39ba39b33ce63819dcf0424fe81258e1ffef993b36f8
6
+ metadata.gz: 9b589f5479a468eff707cbe0da4d7f0b2e9131ba17bce3cdfcd9ebed2d32b46709457f3e72419a33fbd1c2199569f5f5178e36a88e9e619101ba790886a12c95
7
+ data.tar.gz: d4bf510165a56d4cf5a6e3e7989f51f9e07d0f7d6dabd1850c3c6819234e79f16bbeae837eed079955909fbaa2d0c2b145c5f54e6a5b80aaaae3eaeeccf0f19b
@@ -110,7 +110,9 @@ module PPL
110
110
  def combine_binarys(local_dependency, pod_dependency)
111
111
  binary = "#{@framework_path}/#{@podspec.name}"
112
112
  #添加 构建生成的二进制文件
113
- inputs = ["#{@build_path}/**/lib#{@podspec.name}.a"]
113
+ inputs = []
114
+ inputs << "#{@build_path}/**/lib#{@podspec.name}.a"
115
+ inputs << "#{@build_path}/**/*.framework/#{@podspec.name}"
114
116
  if local_dependency
115
117
  #添加 本地依赖的二进制文件
116
118
  inputs << "#{@output}/#{@podspec.name}/Libraries/**/*.a"
@@ -119,6 +121,7 @@ module PPL
119
121
  if pod_dependency
120
122
  #添加 Pod依赖库构建生成的二进制文件
121
123
  inputs << "#{@build_path}/**/lib*.a";
124
+ inputs << "#{@build_path}/**/*.framework/*";
122
125
  #添加 Pod依赖库预先构建的二进制文件
123
126
  inputs << "#{@output}/Example/Pods/**/*SDK/*.framework/*"
124
127
  #添加 Pod依赖库本地依赖的二进制文件
@@ -2,17 +2,29 @@ module Pod
2
2
  class Version
3
3
  def increase_major
4
4
  numeric_segments[0] = numeric_segments[0].to_i + 1
5
- archiving(numeric_segments.join('.'))
5
+ archiving(numeric_joint(numeric_segments))
6
6
  end
7
7
 
8
8
  def increase_minor
9
9
  numeric_segments[1] = numeric_segments[1].to_i + 1
10
- archiving(numeric_segments.join('.'))
10
+ archiving(numeric_joint(numeric_segments))
11
11
  end
12
12
 
13
13
  def increase_patch
14
14
  numeric_segments[2] = numeric_segments[2].to_i + 1
15
- archiving(numeric_segments.join('.'))
15
+ archiving(numeric_joint(numeric_segments))
16
+ end
17
+
18
+ def numeric_joint(numeric_segments)
19
+ archive = ""
20
+ numeric_segments.each {|numeric|
21
+ if numeric.nil?
22
+ numeric = 0
23
+ end
24
+ archive += '.' + numeric.to_s
25
+ }
26
+ archive.slice!(0)
27
+ return archive
16
28
  end
17
29
 
18
30
  def archiving(new_version)
@@ -55,7 +55,7 @@ module PPL
55
55
  `lipo "#{binary}" -thin #{arch} -output "#{binary}-#{arch}" > /dev/null 2>&1
56
56
  echo result:$?`
57
57
  unless thin_log.include? 'result:0'
58
- puts "lipo -thin 异常"
58
+ puts "lipo #{binary} -thin #{arch} 异常"
59
59
  return
60
60
  end
61
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pod-pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 郑贤达
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2022-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.10.1
19
+ version: 1.11.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.10.1
26
+ version: 1.11.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cocoapods-trunk
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
- rubygems_version: 3.0.3
151
+ rubygems_version: 3.2.17
152
152
  signing_key:
153
153
  specification_version: 3
154
154
  summary: Cocoapods流水线工具