lg_pod_plugin 1.1.6.5 → 1.1.6.6

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: 7af2ac8a760f94c57f82d9005cd1b366a7dc9b51ab09c887e43dff3e0f43b0c4
4
- data.tar.gz: f120886f336ce31ea35dcc38300a24561878a7a49963017484d26b59eb3e671e
3
+ metadata.gz: 49669409fc52a28372c3033cd25e908b939267d30147689f982b84c9cea0d748
4
+ data.tar.gz: ddd14338375b62677fd81ee52e0a3f15170b58a852870c203b3a27f2121a7151
5
5
  SHA512:
6
- metadata.gz: e304fe0bbafee6d7ad797c3bc32e60c4fb050109d29a2d04d27d0a22630a7e9abf024820e54891792c16b8953f0574b0876e4df2b67cf27f22e57af7c89a6352
7
- data.tar.gz: 13029c1d8e46a6dc0388fc7de8e78b470dbd6f040834d6554bab1c615a4344d7f8584efbf56714c1429262fb6478ec2fa6792cfedef7570b0ad3cd4b354ddfb4
6
+ metadata.gz: 2a9bb5866675919b09e0ebcad919085431ec96eb103caa56477356a833e9369365e9fed62506c8919866d4c6ae8ecb2bfb918a5dd22dc956cf16adc28cc674c7
7
+ data.tar.gz: 85604ebf38280f2c65d929dcf60c0af3a29434b244290a4f67682b337090f81e8fc93e51bd165ee10529d0ee1bd826c9ac794894e344732fc93ebbf3531c1a37
@@ -42,8 +42,8 @@ module LgPodPlugin
42
42
  self.commit = commit
43
43
  end
44
44
 
45
- def self.get_pod_id(name, git)
46
- key = name + git
45
+ def self.get_pod_id(name, git, branch)
46
+ key = name + git + branch
47
47
  return Digest::MD5.hexdigest(key)
48
48
  end
49
49
 
@@ -221,7 +221,7 @@ module LgPodPlugin
221
221
  end
222
222
 
223
223
  def insert_pod_refs(name, git, branch, tag, commit)
224
- id = LPodLatestRefs.get_pod_id(name, git)
224
+ id = LPodLatestRefs.get_pod_id(name, git, branch)
225
225
  pod = LPodLatestRefs.new(id, name, git, branch, tag, commit)
226
226
  if self.query_pod_refs(id) != nil
227
227
  self.db.execute_batch(
@@ -125,7 +125,7 @@ module LgPodPlugin
125
125
  if branch
126
126
  new_commit, _ = GitLabAPI.request_github_refs_heads git, branch, self.net_ping.uri
127
127
  unless new_commit
128
- id = LPodLatestRefs.get_pod_id(name, git)
128
+ id = LPodLatestRefs.get_pod_id(name, git, branch)
129
129
  pod_info = LSqliteDb.shared.query_pod_refs(id)
130
130
  new_commit = pod_info ? pod_info.commit : nil
131
131
  return [branch, new_commit]
@@ -137,14 +137,14 @@ module LgPodPlugin
137
137
  else
138
138
  new_commit, new_branch = GitLabAPI.request_github_refs_heads git, nil, self.net_ping.uri
139
139
  unless new_commit
140
- id = LPodLatestRefs.get_pod_id(name, git)
140
+ id = LPodLatestRefs.get_pod_id(name, git, "HEAD")
141
141
  pod_info = LSqliteDb.shared.query_pod_refs(id)
142
142
  new_commit = pod_info ? pod_info.commit : nil
143
143
  new_branch = pod_info ? pod_info.branch : nil
144
144
  return [new_branch, new_commit]
145
145
  end
146
146
  if new_commit
147
- LSqliteDb.shared.insert_pod_refs(name, git, new_branch, nil, new_commit)
147
+ LSqliteDb.shared.insert_pod_refs(name, git, "HEAD", nil, new_commit)
148
148
  end
149
149
  [new_branch, new_commit]
150
150
  end
@@ -1,3 +1,3 @@
1
1
  module LgPodPlugin
2
- VERSION = "1.1.6.5"
2
+ VERSION = "1.1.6.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lg_pod_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6.5
4
+ version: 1.1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - dongzb01
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-15 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods
@@ -160,6 +160,7 @@ files:
160
160
  - lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/2.7/sqlite3_native.bundle
161
161
  - lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/3.0/sqlite3_native.bundle
162
162
  - lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/3.1/sqlite3_native.bundle
163
+ - lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/3.2/sqlite3_native.bundle
163
164
  - lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/constants.rb
164
165
  - lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/database.rb
165
166
  - lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/errors.rb
@@ -215,6 +216,7 @@ files:
215
216
  - lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/2.7/sqlite3_native.bundle
216
217
  - lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/3.0/sqlite3_native.bundle
217
218
  - lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/3.1/sqlite3_native.bundle
219
+ - lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/3.2/sqlite3_native.bundle
218
220
  - lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/constants.rb
219
221
  - lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/database.rb
220
222
  - lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/errors.rb
@@ -262,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
264
  - !ruby/object:Gem::Version
263
265
  version: '0'
264
266
  requirements: []
265
- rubygems_version: 3.3.7
267
+ rubygems_version: 3.4.13
266
268
  signing_key:
267
269
  specification_version: 4
268
270
  summary: 封装了自定义podfile 中pod 方法