cocoapods-tj 1.0.0 → 1.0.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 +4 -4
- data/lib/cocoapods-tj/gem_version.rb +1 -1
- data/lib/cocoapods-tj/native/installer.rb +17 -6
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c19499045bd3ffc6d5560615fe275c5536fc77edf473287d4b4083c762bd844
|
|
4
|
+
data.tar.gz: 1d537197c9fc98673efe6ac66ff8c18cced37e8fdf7accdbf4cc3aca58483a24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1b62da32595d65aa008cdd51ea697f995e7aaff6339aca35d27fc0aa8aa4ccff021d82f01306df463e0c7f29137f1e298b875bf3ecc165552669ea8524450a4
|
|
7
|
+
data.tar.gz: 2bea39604bc3dacd09306f22348e3910aab2bd1a584ab31371594c412b377f111bd6a59496879b1395b7ca0b4e4ebd3888748f07d5deb805627728390bb2de70
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
require 'parallel'
|
|
4
4
|
require 'cocoapods'
|
|
5
5
|
require 'cocoapods-tj/native/pod_source_installer'
|
|
6
|
+
require 'fileutils'
|
|
7
|
+
require 'cocoapods-tj/config/config_builder'
|
|
6
8
|
|
|
7
9
|
module Pod
|
|
8
10
|
class Installer
|
|
@@ -13,6 +15,13 @@ module Pod
|
|
|
13
15
|
installer
|
|
14
16
|
end
|
|
15
17
|
|
|
18
|
+
alias old_perform_post_install_actions perform_post_install_actions
|
|
19
|
+
def perform_post_install_actions
|
|
20
|
+
old_perform_post_install_actions
|
|
21
|
+
buildTemp = CBin::Config::Builder.instance.root_dir
|
|
22
|
+
buildTemp.rmtree if buildTemp&.exist?
|
|
23
|
+
end
|
|
24
|
+
|
|
16
25
|
alias old_install_pod_sources install_pod_sources
|
|
17
26
|
def install_pod_sources
|
|
18
27
|
if installation_options.install_with_multi_threads
|
|
@@ -41,13 +50,15 @@ module Pod
|
|
|
41
50
|
else
|
|
42
51
|
title = "Installing #{spec}"
|
|
43
52
|
end
|
|
44
|
-
UI.titled_section(title.green, title_options) do
|
|
45
|
-
|
|
46
|
-
end
|
|
53
|
+
# UI.titled_section(title.green, title_options) do
|
|
54
|
+
#
|
|
55
|
+
# end
|
|
56
|
+
install_source_of_pod(spec.name)
|
|
47
57
|
else
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
58
|
+
create_pod_installer(spec.name)
|
|
59
|
+
# UI.titled_section("Using #{spec}", title_options) do
|
|
60
|
+
#
|
|
61
|
+
# end
|
|
51
62
|
end
|
|
52
63
|
end
|
|
53
64
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-tj
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- song
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-12-
|
|
11
|
+
date: 2022-12-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parallel
|
|
@@ -82,7 +82,7 @@ dependencies:
|
|
|
82
82
|
version: '0'
|
|
83
83
|
description: ''
|
|
84
84
|
email:
|
|
85
|
-
-
|
|
85
|
+
- 1173742025@qq.com
|
|
86
86
|
executables: []
|
|
87
87
|
extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
|
@@ -154,7 +154,7 @@ files:
|
|
|
154
154
|
- lib/cocoapods_plugin.rb
|
|
155
155
|
- spec/command/bin_spec.rb
|
|
156
156
|
- spec/spec_helper.rb
|
|
157
|
-
homepage: https://github.com/songpanfei/
|
|
157
|
+
homepage: https://github.com/songpanfei/cocoapods-tj
|
|
158
158
|
licenses:
|
|
159
159
|
- MIT
|
|
160
160
|
metadata: {}
|