lg_pod_plugin 1.1.5.2 → 1.1.5.3
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: 612ab757a2dda325c65ee1be76b2c36f041e742cbc73137b7600daeb6f8a27a3
|
4
|
+
data.tar.gz: e9eb84aa2b66b88c57c4307ecdc8bc94e4441d15bb643342d441bb04c5f57dc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60962ccf4a99c7a4f85e9fe1aa1d2ad6f99133904b3ab60a5fef9003e0f5c253710000b7cc41d78a1ebb92fd8abd95edab71d5a7a329ddb026fa9cba56cc7b4b
|
7
|
+
data.tar.gz: f18f82873e111af8574c1bd9b4c032aab708bc019e438d2fdec3c3ebc92417aa9170999bd59b77fd20a4a52fb9a59a29b6eea4550c913f662922eef8b57aff64
|
@@ -54,6 +54,13 @@ module LgPodPlugin
|
|
54
54
|
hash ? hash : {}
|
55
55
|
end
|
56
56
|
|
57
|
+
def self.writeToFile()
|
58
|
+
lockfile = LProject.shared.lockfile
|
59
|
+
hash = lockfile.send(:internal_data)
|
60
|
+
hash["LOCKFILE TYPE"] = "LgPodPlugin"
|
61
|
+
lockfile_path = lockfile.send(:defined_in_file)
|
62
|
+
lockfile.send(:write_to_disk, lockfile_path)
|
63
|
+
end
|
57
64
|
|
58
65
|
end
|
59
66
|
end
|
Binary file
|
@@ -86,6 +86,7 @@ module LgPodPlugin
|
|
86
86
|
end
|
87
87
|
installer.send(:write_lockfiles)
|
88
88
|
installer.send(:perform_post_install_actions)
|
89
|
+
LockfileModel.writeToFile()
|
89
90
|
end
|
90
91
|
|
91
92
|
def self.lockfile_missing_pods(pods, lockfile)
|
@@ -135,10 +136,16 @@ module LgPodPlugin
|
|
135
136
|
begin
|
136
137
|
verify_lockfile_exists!(lockfile)
|
137
138
|
verify_pods_are_installed!(pods, lockfile)
|
138
|
-
|
139
|
-
|
139
|
+
internal_data = lockfile.send(:internal_data)
|
140
|
+
flag = internal_data["LOCKFILE TYPE"]
|
141
|
+
if flag != nil
|
142
|
+
if pods.empty?
|
143
|
+
installer.update = true
|
144
|
+
else
|
145
|
+
installer.update = { :pods => pods }
|
146
|
+
end
|
140
147
|
else
|
141
|
-
installer.update =
|
148
|
+
installer.update = false
|
142
149
|
end
|
143
150
|
rescue
|
144
151
|
installer.update = false
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dongzb01
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|