cocoapods-dongjia 1.1.9 → 1.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-dongjia/gem_version.rb +1 -1
- data/lib/helper/installer.rb +10 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf5f48eb3c483d7906dc78df960eed9f8752d335b3b74417ab8e9a45135b54f8
|
4
|
+
data.tar.gz: 77366f7ae098db9a2d94645497c621d710682de2468f96a2251ad8e6e6230ed0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57f13cb67b22b3c92e30d34b50a5ae423a1a44e350e02fe8a354ede3486ca9feecd4c476036f7fa796f52c29903558cd0d22c9ac1b96c560ad0a4fb981a09746
|
7
|
+
data.tar.gz: 78d3e1e00b497a5cc20aa8448ac64e12321684e38427d30d80ba79eca2296140b912a774673a5f642e2d733d3c1a002325ccbe2f53fab4e5d789d5464a8d0ab9
|
data/lib/helper/installer.rb
CHANGED
@@ -5,16 +5,16 @@ module Pod
|
|
5
5
|
|
6
6
|
class Installer
|
7
7
|
|
8
|
-
class PodSourceInstaller
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
end
|
8
|
+
# class PodSourceInstaller
|
9
|
+
# # 关闭自己仓库中 pod 的安全警告
|
10
|
+
# old_method = instance_method(:verify_source_is_secure)
|
11
|
+
# define_method(:verify_source_is_secure) do |root_spec|
|
12
|
+
# url = root_spec.source[:http]
|
13
|
+
# if url != nil && !url.start_with?('http://code.kaipao.cc')
|
14
|
+
# old_method.bind(self).(root_spec)
|
15
|
+
# end
|
16
|
+
# end
|
17
|
+
# end
|
18
18
|
|
19
19
|
# Hook post_installer
|
20
20
|
# origin_perform_post_install_actions = instance_method(:perform_post_install_actions)
|