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
12919c7b
Commit
12919c7b
authored
Mar 24, 2012
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sort authors list used in documentation.
This also fixes a failure on Travis.
parent
bde374a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
documentation.rb
lib/cocoapods/generator/documentation.rb
+1
-1
documentation_spec.rb
spec/unit/generator/documentation_spec.rb
+2
-2
No files found.
lib/cocoapods/generator/documentation.rb
View file @
12919c7b
...
@@ -25,7 +25,7 @@ module Pod
...
@@ -25,7 +25,7 @@ module Pod
def
company
def
company
if
@specification
.
authors
if
@specification
.
authors
@specification
.
authors
.
keys
.
join
(
', '
)
@specification
.
authors
.
keys
.
sort
.
join
(
', '
)
else
else
'no-company'
'no-company'
end
end
...
...
spec/unit/generator/documentation_spec.rb
View file @
12919c7b
...
@@ -29,8 +29,8 @@ describe Pod::Generator::Documentation do
...
@@ -29,8 +29,8 @@ describe Pod::Generator::Documentation do
@doc_installer
.
generate_appledoc_options
.
should
==
[
@doc_installer
.
generate_appledoc_options
.
should
==
[
'--project-name'
,
'BananaLib (1.0)'
,
'--project-name'
,
'BananaLib (1.0)'
,
'--docset-desc'
,
'Full of chunky bananas.'
,
'--docset-desc'
,
'Full of chunky bananas.'
,
'--project-company'
,
'
Monkey Boy, Banana Corp
'
,
'--project-company'
,
'
Banana Corp, Monkey Boy
'
,
'--docset-copyright'
,
'
Monkey Boy, Banana Corp
'
,
'--docset-copyright'
,
'
Banana Corp, Monkey Boy
'
,
'--company-id'
,
'org.cocoapods'
,
'--company-id'
,
'org.cocoapods'
,
'--ignore'
,
'.m'
,
'--ignore'
,
'.m'
,
'--keep-undocumented-objects'
,
'--keep-undocumented-objects'
,
...
...
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