cocoapods-core 1.7.0.beta.3 → 1.7.0.rc.1
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: cb68b94106cf6f1d02ab803bdcdbb9931a4c5664a7f81baefcda612787da6ee3
|
|
4
|
+
data.tar.gz: 74adb496319597122afef2db55ea2961c5d4966d9997bd2af19b99d78b115929
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af7a2b30f78d44e98ecdd18ff4b90883aea074564a37b254a53f5d243638e459d97886749cb317d722fade7074f4e78c5d7e779cff7019f0e2be613cc45aadb0
|
|
7
|
+
data.tar.gz: 299e8b01620fd4bfca38b4cd3660ab293f38a74c62d7681922d7313f1a6cec3c47420ac3caadc161db08f8d7e0c71704637fccf32b697e7cc28dd121f9725b07
|
|
@@ -249,8 +249,13 @@ module Pod
|
|
|
249
249
|
@updated_search_index ||= begin
|
|
250
250
|
if search_index_path.exist?
|
|
251
251
|
require 'json'
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
begin
|
|
253
|
+
index = JSON.parse(search_index_path.read)
|
|
254
|
+
index if index.is_a?(Hash) # TODO: should we also check if hash has correct hierarchy?
|
|
255
|
+
rescue JSON::ParserError
|
|
256
|
+
search_index_path.delete
|
|
257
|
+
nil
|
|
258
|
+
end
|
|
254
259
|
end
|
|
255
260
|
end
|
|
256
261
|
end
|
|
@@ -53,7 +53,7 @@ module Pod
|
|
|
53
53
|
def last_compatible_version(target_version)
|
|
54
54
|
return unless minimum_cocoapods_version
|
|
55
55
|
return if minimum_cocoapods_version <= target_version
|
|
56
|
-
@last_compatible_versions.
|
|
56
|
+
@last_compatible_versions.reverse.bsearch { |v| v <= target_version }.tap do |version|
|
|
57
57
|
raise Informative, 'Unable to find compatible version' unless version
|
|
58
58
|
end
|
|
59
59
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.0.
|
|
4
|
+
version: 1.7.0.rc.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eloy Duran
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-
|
|
12
|
+
date: 2019-05-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|