Commit bf2c6398 authored by Eloy Durán's avatar Eloy Durán

[Lockfile] An inline podspec should always be considered needing installation.

parent 2fc5cd16
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
[#616](https://github.com/CocoaPods/CocoaPods/issues/616) [#616](https://github.com/CocoaPods/CocoaPods/issues/616)
[#525](https://github.com/CocoaPods/CocoaPods/issues/525) [#525](https://github.com/CocoaPods/CocoaPods/issues/525)
###### Bug fixes
- Always consider inline podspecs as needing installation.
## 0.16.0.rc4 ## 0.16.0.rc4
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.16.0.rc3...0.16.0.rc4) [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.16.0.rc3...0.16.0.rc4)
......
...@@ -192,7 +192,7 @@ module Pod ...@@ -192,7 +192,7 @@ module Pod
if dependency.nil? if dependency.nil?
result[:removed] << pod_name result[:removed] << pod_name
elsif !dependency.match_version?(version) || dependency.external_source != external_source elsif dependency.inline? || !dependency.match_version?(version) || dependency.external_source != external_source
result[:changed] << pod_name result[:changed] << pod_name
else else
result[:unchanged] << pod_name result[:unchanged] << pod_name
......
...@@ -139,9 +139,9 @@ module Pod ...@@ -139,9 +139,9 @@ module Pod
def removed_pods def removed_pods
return [] unless lockfile return [] unless lockfile
unless @removed_pods unless @removed_pods
previusly_installed = lockfile.pods_names.map { |pod_name| pod_name.split('/').first } previously_installed = lockfile.pods_names.map { |pod_name| pod_name.split('/').first }
installed = specs.map { |spec| spec.name.split('/').first } installed = specs.map { |spec| spec.name.split('/').first }
@removed_pods = previusly_installed - installed @removed_pods = previously_installed - installed
end end
@removed_pods @removed_pods
end end
......
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