cocoapods-swift-binary-source-resolver 0.0.1 → 0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e0716b3ac02ae0cece7b60ab1982bcf8dcf92a1b7ade9097ab12d629adfe888
4
- data.tar.gz: 8cd5f90126c6031c0bf26afe92a4d61dbcdda614480856d4cb61727ea641a5a1
3
+ metadata.gz: 9be2304421d164e300b4456f57254653f07ef6de8a21ad023fd6a3f2c18c87a5
4
+ data.tar.gz: 8f72d2e06f615f4504a0b81d4573b25fb035b675b4765092c094fddca5031dcf
5
5
  SHA512:
6
- metadata.gz: f7247fe6874fd5d496deb201bb796a33036af286e566088326a6f2a39b0b681ec0724fc1cbac25bdb8ba09592a6a3c9908e7cea65530429d74c362d7472be889
7
- data.tar.gz: 874430900fc851456b304546d31d72a7d8f6eb246f34e94c8e3ae557fea176600d1a400f66ea610aad24ccb5515257321713a339890220858e16670dc367c2c9
6
+ metadata.gz: 7e7df44f2054738a6d6844b74fac31dd9c2cb88490b09a0bf0c4ef9093bcc2c0e25da04381a9f14240feebe94d9c52ecc406cf1043ca77c2d8d3336e060296b5
7
+ data.tar.gz: 4d8260eefa1550132004df23082e9be6a2f710d5cbfde81a69c83f3e02dd0c03b334873ab04606d6943ceb2e59fdfc24bb64383746572d8d86e41f0ce7090c3c
@@ -1,3 +1,3 @@
1
1
  module CocoapodsSwiftBinarySourceResolver
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -27,7 +27,10 @@ module Pod
27
27
  paths = specification_paths_for_version(highest_version)
28
28
  paths.each do |path|
29
29
  begin
30
- return Specification.from_file(path) # the real out
30
+ spec = Specification.from_file(path)
31
+ # 对于不知道版本的,也略过
32
+ next unless spec.instance_variable_get(:@bd_multiple_swift_binary)
33
+ return spec # the real out
31
34
  rescue => e
32
35
  inner_info_exception = e
33
36
  if e.kind_of? DSLError
@@ -41,7 +44,7 @@ module Pod
41
44
  end
42
45
  end
43
46
 
44
- raise Informative, "Could not find the highest version for `#{name}`. "\
47
+ raise Informative, "Could not find the version for `#{name}`. "\
45
48
  "This could be due to an empty #{name} directory in a local repository."
46
49
  end
47
50
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-swift-binary-source-resolver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gao