Commit 9daf7749 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop]

parent 9cc0a14f
...@@ -308,10 +308,10 @@ module Pod ...@@ -308,10 +308,10 @@ module Pod
deps_to_fetch_if_needed = deps_with_external_source.select { |dep| result.podfile_state.unchanged.include?(dep.name) } deps_to_fetch_if_needed = deps_with_external_source.select { |dep| result.podfile_state.unchanged.include?(dep.name) }
deps_to_fetch += deps_to_fetch_if_needed.select do |dep| deps_to_fetch += deps_to_fetch_if_needed.select do |dep|
sandbox.specification(dep.name).nil? || sandbox.specification(dep.name).nil? ||
!dep.external_source[:local].nil? || !dep.external_source[:local].nil? ||
!dep.external_source[:path].nil? || !dep.external_source[:path].nil? ||
!sandbox.pod_dir(dep.root_name).directory? || !sandbox.pod_dir(dep.root_name).directory? ||
checkout_requires_update?(dep) checkout_requires_update?(dep)
end end
end end
deps_to_fetch.uniq(&:root_name) deps_to_fetch.uniq(&:root_name)
......
...@@ -253,7 +253,7 @@ module Pod ...@@ -253,7 +253,7 @@ module Pod
state.added.sort.should == %w(AFNetworking JSONKit SVPullToRefresh libextobjc) state.added.sort.should == %w(AFNetworking JSONKit SVPullToRefresh libextobjc)
end end
#-------------------------------------------------------------------------# #-------------------------------------------------------------------------#
describe 'Private helpers' do describe 'Private helpers' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment