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: a94f1af3077b3e043f869fbdbb2e09c242aefeb5
4
- data.tar.gz: a73fb826f1d22b75ead258ac0e148bd6cf82a510
3
+ metadata.gz: bc4bac123c0f0a768327fe21f563e19f88b5424c
4
+ data.tar.gz: 43eda593b694d6556704533eafb506bbbce2df4e
5
5
  SHA512:
6
- metadata.gz: bf461d926d3deddaf2aab6a6e6fcd68c9c3c85a4b1eb1730fcc1d9399f5b390d53f3a57f8544c54962a6ad31916f0858995adc9b0495958046b8ce180ae1c3b2
7
- data.tar.gz: 5d409665efa687120435c9186ae0a58dbf14725ca5afca4a46b9169fe6b2e8c54e1e983037e6053634ab631c2460482585d0a3f2e62adb36a7c352b6ff13329d
6
+ metadata.gz: c8820b07f7bf55acae493f522419a4e3292166bc8c8eb08adab3c86342f45b848c13c9f3f899e0fdea7ec1f6d7dcfb2ae58e360cf70f8154f2b631860e17e658
7
+ data.tar.gz: eebbfd13e1643fbb920a0ac85938054bdacdfa6962adc07e009f02eabbce2449dd1a4e236f887f51344d0ba1a4426d5ed5ca74df6f14664361f86e8b6a5ba1f4
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '0.34.2' unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '0.34.4' unless defined? Pod::CORE_VERSION
5
5
  end
@@ -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
- sources = []
112
- @sources.each do |s|
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
- result << Specification::Set.new(pod, sources)
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 => nil,
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.2
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-08 00:00:00.000000000 Z
12
+ date: 2014-10-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport