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
0b46ccd2
Commit
0b46ccd2
authored
Feb 15, 2018
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SpecWithSource] Rename #spec_source for consistency with LazySpecification
parent
64ec0edd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
Gemfile.lock
Gemfile.lock
+2
-2
resolver.rb
lib/cocoapods/resolver.rb
+3
-2
lazy_specification.rb
lib/cocoapods/resolver/lazy_specification.rb
+2
-2
No files found.
Gemfile.lock
View file @
0b46ccd2
...
...
@@ -7,7 +7,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Core.git
revision:
b24b82511b8ed5a6f93e2a9f74bbdc9c33da8672
revision:
1f8ced657a224eabeba6958d130ee04058d91f60
branch: master
specs:
cocoapods-core (1.4.0)
...
...
@@ -180,7 +180,7 @@ GEM
gh_inspector (1.1.1)
git (1.3.0)
hashdiff (0.3.1)
i18n (0.9.
3
)
i18n (0.9.
5
)
concurrent-ruby (~> 1.0)
inch (0.7.0)
pry
...
...
lib/cocoapods/resolver.rb
View file @
0b46ccd2
...
...
@@ -137,8 +137,9 @@ module Pod
group_by
(
&
:first
).
map
do
|
vertex
,
spec_test_only_tuples
|
test_only
=
spec_test_only_tuples
.
all?
{
|
tuple
|
tuple
[
1
]
}
spec_source
=
vertex
.
payload
.
respond_to?
(
:spec_source
)
&&
vertex
.
payload
.
spec_source
ResolverSpecification
.
new
(
vertex
.
payload
,
test_only
,
spec_source
)
payload
=
vertex
.
payload
spec_source
=
payload
.
respond_to?
(
:spec_source
)
&&
payload
.
spec_source
ResolverSpecification
.
new
(
payload
,
test_only
,
spec_source
)
end
.
sort_by
(
&
:name
)
end
...
...
lib/cocoapods/resolver/lazy_specification.rb
View file @
0b46ccd2
...
...
@@ -3,10 +3,10 @@ module Pod
class
Specification
class
Set
class
SpecWithSource
<
DelegateClass
(
Specification
)
attr_reader
:spec_
repo
attr_reader
:spec_
source
def
initialize
(
spec
,
source
)
super
(
spec
)
@spec_
repo
=
source
@spec_
source
=
source
end
undef
is_a?
...
...
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