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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 436d5ca6587d55a7fde3fda6646dc51051f4307a8c236dd89e74a1ea79251717
4
- data.tar.gz: 24d05024f5920a696fe155d162595aee1abab38f961dcd06ae73894cd3d6ea38
3
+ metadata.gz: e673acf6ce91a9694e19e9f43e98dddf292d6cd4f84fa2544daaeca93cc68a9a
4
+ data.tar.gz: c9b960952c09226239fde24f0ff5ad07c1e9b2eefece6ab06b13deb982d1c30f
5
5
  SHA512:
6
- metadata.gz: c91ff8699f55fcddb7d899808a7e122e95cf6beef18877a82d1e02f2d68ebdc9c33b7c9c53137f186957684a4459d89d3ad9760b8a633a05faeb9fefd260af68
7
- data.tar.gz: f45745fd9790a9b74c63fa57d7dbab900ee880115ceb0196fcad5215c28c4b97874613716f91ab439b037a9670b4d0d20435f2f68c8ddc1a4d0d33e94cff5445
6
+ metadata.gz: 518442f334be28d5ed005c3e3fd6e2faaba68d22c0edcb15808d182c66edcfb363ab8b6dce76231ea55f8807f246c98b74a9b557942c014e6b8204d40e8c0ded
7
+ data.tar.gz: 2b499a84bc64f84f40ecf43cb0127cf1d494b4e470788c220be2e0e3a36c8ab93e72ed335d5be0b07012e89b39f092c4369b6e94e27f13561a8b9d4f7d820b76
@@ -1,7 +1,7 @@
1
1
  require 'cocoapods'
2
2
 
3
3
  module CBin
4
- VERSION = '0.2.12.2'
4
+ VERSION = '0.2.12.3'
5
5
  end
6
6
 
7
7
  module Pod
@@ -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.2
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.13
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.