Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
bf2c6398
Commit
bf2c6398
authored
Nov 14, 2012
by
Eloy Durán
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Lockfile] An inline podspec should always be considered needing installation.
parent
2fc5cd16
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
CHANGELOG.md
CHANGELOG.md
+4
-0
lockfile.rb
lib/cocoapods/lockfile.rb
+1
-1
resolver.rb
lib/cocoapods/resolver.rb
+2
-2
No files found.
CHANGELOG.md
View file @
bf2c6398
...
@@ -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
)
...
...
lib/cocoapods/lockfile.rb
View file @
bf2c6398
...
@@ -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
...
...
lib/cocoapods/resolver.rb
View file @
bf2c6398
...
@@ -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
}
previ
o
usly_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
=
previ
o
usly_installed
-
installed
end
end
@removed_pods
@removed_pods
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment