Skip to content
Browse files

Sort authors list used in documentation.

This also fixes a failure on Travis.
  • Loading branch information...
1 parent bde374a commit 12919c7b7eea43f5f89bd494c528b338750e4bd6 @alloy alloy committed Mar 24, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/cocoapods/generator/documentation.rb
  2. +2 −2 spec/unit/generator/documentation_spec.rb
View
2 lib/cocoapods/generator/documentation.rb
@@ -25,7 +25,7 @@ def name
def company
if @specification.authors
- @specification.authors.keys.join(', ')
+ @specification.authors.keys.sort.join(', ')
else
'no-company'
end
View
4 spec/unit/generator/documentation_spec.rb
@@ -29,8 +29,8 @@
@doc_installer.generate_appledoc_options.should == [
'--project-name', 'BananaLib (1.0)',
'--docset-desc', 'Full of chunky bananas.',
- '--project-company', 'Monkey Boy, Banana Corp',
- '--docset-copyright', 'Monkey Boy, Banana Corp',
+ '--project-company', 'Banana Corp, Monkey Boy',
+ '--docset-copyright', 'Banana Corp, Monkey Boy',
'--company-id', 'org.cocoapods',
'--ignore', '.m',
'--keep-undocumented-objects',

0 comments on commit 12919c7

Please sign in to comment.
Something went wrong with that request. Please try again.