lg_pod_plugin 1.1.5.1 → 1.1.5.2
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: 28939d9769c3829633eae8e6560123eaa26f0185a06d0705916cd27400e550b5
|
|
4
|
+
data.tar.gz: ba61c2e383b9cb9d56b9a4ff8567d6292a49ac2b7fa44a5953b54416b258530e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aee9ac47bf1bcb62fd9dd87d190dfab70354e9836fbe4ca342c1efe42c0093b8fb06111b4542e8a78be391107fdca02a4380b96b83e1711048df8d5e2629ddb2
|
|
7
|
+
data.tar.gz: f1eb565fa4bc16908c78960901666ca03138f153cbd6486ea7453f20f6ef8ffb6f0090d679908d5bee078f584a41dc33c2a3b795f2e44f7f474073851f67f2cf
|
|
@@ -107,8 +107,8 @@ module LgPodPlugin
|
|
|
107
107
|
return download_params
|
|
108
108
|
elsif File.exist?(download_params.to_s) && download_params
|
|
109
109
|
FileUtils.chdir download_params
|
|
110
|
-
LgPodPlugin::LCache.cache_pod(name, download_params
|
|
111
|
-
LgPodPlugin::LCache.cache_pod(name, download_params
|
|
110
|
+
LgPodPlugin::LCache.cache_pod(name, download_params, { :git => git }, podspec, self.request.released_pod) if self.request.single_git
|
|
111
|
+
LgPodPlugin::LCache.cache_pod(name, download_params, self.request.get_cache_key_params,podspec, self.request.released_pod)
|
|
112
112
|
FileUtils.chdir(LFileManager.download_director)
|
|
113
113
|
FileUtils.rm_rf(download_params)
|
|
114
114
|
self.request.checkout_options.delete(:branch) if commit
|
|
@@ -51,9 +51,12 @@ module LgPodPlugin
|
|
|
51
51
|
|
|
52
52
|
# git clone commit
|
|
53
53
|
def git_clone_by_commit(path, temp_name)
|
|
54
|
-
|
|
54
|
+
unless File.exist?(temp_name)
|
|
55
|
+
FileUtils.mkdir(temp_name)
|
|
56
|
+
end
|
|
55
57
|
FileUtils.chdir(temp_name)
|
|
56
|
-
|
|
58
|
+
system("git init")
|
|
59
|
+
LgPodPlugin.log_blue "git clone -b #{self.commit} #{self.git}"
|
|
57
60
|
system("git remote add origin #{self.git}")
|
|
58
61
|
system("git fetch origin #{self.commit}")
|
|
59
62
|
system("git reset --hard FETCH_HEAD")
|
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.5.
|
|
4
|
+
version: 1.1.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- dongzb01
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-01-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods
|