cocoapods-bb-bin 0.2.12.2 → 0.2.12.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 +4 -4
- data/lib/cocoapods-bb-bin/gem_version.rb +1 -1
- data/lib/cocoapods-bb-bin/native/installer.rb +17 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e673acf6ce91a9694e19e9f43e98dddf292d6cd4f84fa2544daaeca93cc68a9a
|
|
4
|
+
data.tar.gz: c9b960952c09226239fde24f0ff5ad07c1e9b2eefece6ab06b13deb982d1c30f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 518442f334be28d5ed005c3e3fd6e2faaba68d22c0edcb15808d182c66edcfb363ab8b6dce76231ea55f8807f246c98b74a9b557942c014e6b8204d40e8c0ded
|
|
7
|
+
data.tar.gz: 2b499a84bc64f84f40ecf43cb0127cf1d494b4e470788c220be2e0e3a36c8ab93e72ed335d5be0b07012e89b39f092c4369b6e94e27f13561a8b9d4f7d820b76
|
|
@@ -15,6 +15,23 @@ module Pod
|
|
|
15
15
|
|
|
16
16
|
alias old_install_pod_sources install_pod_sources
|
|
17
17
|
def install_pod_sources
|
|
18
|
+
UI.puts "[cocoapods-bb-bin] CocoaPods version: #{Pod::VERSION}"
|
|
19
|
+
# UI.puts "[cocoapods-bb-bin] Pod.match_version?('~> 1.4.0'): #{Pod.match_version?('~> 1.4.0')}"
|
|
20
|
+
# UI.puts "[cocoapods-bb-bin] Pod.match_version?('~> 1.5'): #{Pod.match_version?('~> 1.5')}"
|
|
21
|
+
|
|
22
|
+
http_source_spec = root_specs.find do |spec|
|
|
23
|
+
source = spec.source
|
|
24
|
+
source.is_a?(Hash) && source.values.any? do |value|
|
|
25
|
+
value.is_a?(String) && value.start_with?('http://')
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
if http_source_spec
|
|
30
|
+
UI.puts "[cocoapods-bb-bin] Installing #{http_source_spec.name} (#{http_source_spec.version}) HTTP source detected, fallback to old_install_pod_sources for interactive authentication.".yellow
|
|
31
|
+
old_install_pod_sources
|
|
32
|
+
return
|
|
33
|
+
end
|
|
34
|
+
|
|
18
35
|
if installation_options.install_with_multi_threads
|
|
19
36
|
if Pod.match_version?('~> 1.4.0')
|
|
20
37
|
install_pod_sources_for_version_in_1_4_0
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-bb-bin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.12.
|
|
4
|
+
version: 0.2.12.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- humin
|
|
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
218
218
|
- !ruby/object:Gem::Version
|
|
219
219
|
version: '0'
|
|
220
220
|
requirements: []
|
|
221
|
-
rubygems_version: 4.0.
|
|
221
|
+
rubygems_version: 4.0.19
|
|
222
222
|
specification_version: 4
|
|
223
223
|
summary: cocoapods-bb-bin is a plugin which helps develpers switching pods between
|
|
224
224
|
source code and binary.
|