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
68b63814
Commit
68b63814
authored
May 15, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect name for specs with preferred dependency in podfile.lock
parent
9027f200
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
installer.rb
lib/cocoapods/installer.rb
+2
-1
specification.rb
lib/cocoapods/specification.rb
+1
-1
No files found.
lib/cocoapods/installer.rb
View file @
68b63814
...
...
@@ -48,7 +48,8 @@ module Pod
pods
.
each
do
|
pod
|
unless
config
.
silent?
marker
=
config
.
verbose
?
"
\n
-> "
.
green
:
''
puts
marker
<<
(
pod
.
exists?
?
"Using
#{
pod
}
"
:
"Installing
#{
pod
}
"
.
green
)
name
=
pod
.
top_specification
.
preferred_dependency
?
"
#{
pod
.
top_specification
.
name
}
/
#{
pod
.
top_specification
.
preferred_dependency
}
(
#{
pod
.
top_specification
.
version
}
)"
:
pod
.
name
puts
marker
<<
(
pod
.
exists?
?
"Using
#{
name
}
"
:
"Installing
#{
name
}
"
.
green
)
end
should_install
=
!
pod
.
exists?
...
...
lib/cocoapods/specification.rb
View file @
68b63814
...
...
@@ -406,7 +406,7 @@ module Pod
end
def
to_s
preferred_dependency
?
"
#{
name
}
/
#{
preferred_dependency
}
(
#{
version
}
)"
:
"
#{
name
}
(
#{
version
}
)"
"
#{
name
}
(
#{
version
}
)"
end
def
inspect
...
...
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