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
249a0eea
Commit
249a0eea
authored
Oct 06, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove references to Source#data_provider
parent
ed699637
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
Gemfile.lock
Gemfile.lock
+1
-1
repo.rb
lib/cocoapods/command/repo.rb
+1
-1
sources_manager.rb
lib/cocoapods/sources_manager.rb
+4
-4
error_report.rb
lib/cocoapods/user_interface/error_report.rb
+1
-1
No files found.
Gemfile.lock
View file @
249a0eea
...
...
@@ -7,7 +7,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Core.git
revision:
6f66da3988deae074feaf5e5804e791edcf2b5ad
revision:
159d93cb7576523efaf9856d069f5df23b29e646
branch: master
specs:
cocoapods-core (0.34.1)
...
...
lib/cocoapods/command/repo.rb
View file @
249a0eea
...
...
@@ -258,7 +258,7 @@ module Pod
def
print_sources
(
sources
)
sources
.
each
do
|
source
|
UI
.
title
source
.
name
do
print_source_at_path
source
.
data_provider
.
repo
print_source_at_path
source
.
repo
end
end
UI
.
puts
"
\n
"
...
...
lib/cocoapods/sources_manager.rb
View file @
249a0eea
...
...
@@ -191,7 +191,7 @@ module Pod
sources
.
each
do
|
source
|
UI
.
section
"Updating spec repo `
#{
source
.
name
}
`"
do
Dir
.
chdir
(
source
.
data_provider
.
repo
)
do
Dir
.
chdir
(
source
.
repo
)
do
begin
output
=
git!
(
'pull --ff-only'
)
UI
.
puts
output
if
show_output
&&
!
config
.
verbose?
...
...
@@ -202,7 +202,7 @@ module Pod
'`pod repo update --verbose`'
end
end
check_version_information
(
source
.
data_provider
.
repo
)
check_version_information
(
source
.
repo
)
end
end
end
...
...
@@ -350,7 +350,7 @@ module Pod
unless
specified_source
raise
Informative
,
"Unable to find the `
#{
name
}
` repo."
end
unless
git_repo?
(
specified_source
.
data_provider
.
repo
)
unless
git_repo?
(
specified_source
.
repo
)
raise
Informative
,
"The `
#{
name
}
` repo is not a git repo."
end
specified_source
...
...
@@ -360,7 +360,7 @@ module Pod
#
def
git_sources
all
.
select
do
|
source
|
git_repo?
(
source
.
data_provider
.
repo
)
git_repo?
(
source
.
repo
)
end
end
...
...
lib/cocoapods/user_interface/error_report.rb
View file @
249a0eea
...
...
@@ -121,7 +121,7 @@ EOS
def
repo_information
SourcesManager
.
all
.
map
do
|
source
|
next
unless
source
.
type
==
'file system'
repo
=
source
.
data_provider
.
repo
repo
=
source
.
repo
Dir
.
chdir
(
repo
)
do
url
=
`git config --get remote.origin.url 2>&1`
.
strip
sha
=
`git rev-parse HEAD 2>&1`
.
strip
...
...
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