cocoapods-core 0.34.2 → 0.34.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc4bac123c0f0a768327fe21f563e19f88b5424c
|
4
|
+
data.tar.gz: 43eda593b694d6556704533eafb506bbbce2df4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8820b07f7bf55acae493f522419a4e3292166bc8c8eb08adab3c86342f45b848c13c9f3f899e0fdea7ec1f6d7dcfb2ae58e360cf70f8154f2b631860e17e658
|
7
|
+
data.tar.gz: eebbfd13e1643fbb920a0ac85938054bdacdfa6962adc07e009f02eabbce2449dd1a4e236f887f51344d0ba1a4426d5ed5ca74df6f14664361f86e8b6a5ba1f4
|
@@ -106,14 +106,16 @@ module Pod
|
|
106
106
|
source_pods = s.search_by_name(query, full_text_search)
|
107
107
|
pods_by_source[s] = source_pods.map(&:name)
|
108
108
|
end
|
109
|
+
|
109
110
|
root_spec_names = pods_by_source.values.flatten.uniq
|
110
111
|
root_spec_names.each do |pod|
|
111
|
-
|
112
|
-
|
113
|
-
sources << s if pods_by_source[s].include?(pod)
|
112
|
+
result_sources = sources.select do |source|
|
113
|
+
pods_by_source[source].include?(pod)
|
114
114
|
end
|
115
|
-
|
115
|
+
|
116
|
+
result << Specification::Set.new(pod, result_sources)
|
116
117
|
end
|
118
|
+
|
117
119
|
if result.empty?
|
118
120
|
extra = ', author, summary, or description' if full_text_search
|
119
121
|
raise Informative, 'Unable to find a pod with name' \
|
@@ -235,7 +235,7 @@ module Pod
|
|
235
235
|
:git => [:tag, :branch, :commit, :submodules],
|
236
236
|
:svn => [:folder, :tag, :revision],
|
237
237
|
:hg => [:revision],
|
238
|
-
:http =>
|
238
|
+
:http => [:type, :sha256, :sha1],
|
239
239
|
:path => nil,
|
240
240
|
}.freeze
|
241
241
|
|
@@ -265,6 +265,11 @@ module Pod
|
|
265
265
|
#
|
266
266
|
# spec.source = { :http => "http://dev.wechatapp.com/download/sdk/WeChat_SDK_iOS_en.zip" }
|
267
267
|
#
|
268
|
+
# @example Using HTTP to download a file using a hash to verify the download. It supports sha1 and sha256.
|
269
|
+
#
|
270
|
+
# spec.source = { :http => 'http://dev.wechatapp.com/download/sdk/WeChat_SDK_iOS_en.zip',
|
271
|
+
# :sha1 => '7e21857fe11a511f472cfd7cfa2d979bd7ab7d96' }
|
272
|
+
#
|
268
273
|
# @param [Hash{Symbol=>String}] source
|
269
274
|
# The location from where the library should be retrieved.
|
270
275
|
#
|
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: 0.34.
|
4
|
+
version: 0.34.4
|
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: 2014-10-
|
12
|
+
date: 2014-10-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|