Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Specs] Minor fixes

  • Loading branch information...
commit df376df7ef841be70c75e92a6b69cf748ff85577 1 parent 3a575c7
@fabiopelosin fabiopelosin authored
View
3  lib/cocoapods/source.rb
@@ -160,7 +160,8 @@ def search_by_name(query, full_text_search = false)
all.each { |s| pods_by_source[s] = s.search_by_name(query, full_text_search).map(&:name) }
pod_names = pods_by_source.values.flatten.uniq
pod_names.each do |pod|
- sources = pods_by_source.select{ |source, pods| pods.include?(pod) }.keys
+ sources = []
+ pods_by_source.each{ |source, pods| sources << source if pods.include?(pod) }
result << Specification::Set.new(pod, sources)
end
if result.empty?
View
2  spec/spec_helper.rb
@@ -18,8 +18,8 @@
require 'spec_helper/github'
require 'spec_helper/temporary_directory'
require 'spec_helper/temporary_repos'
-require 'spec_helper/config'
require 'spec_helper/user_interface'
+require 'spec_helper/pre_flight'
module Bacon
class Context
View
1  spec/spec_helper/config.rb → spec/spec_helper/pre_flight.rb
@@ -14,6 +14,7 @@ class Context
c.generate_docs = false
c.skip_repo_update = true
end
+ ::Pod::UI.output = ''
old_run_requirement.bind(self).call(description, spec)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.