Commit fe0258f1 authored by Fabio Pelosin's avatar Fabio Pelosin

[Code] Whitespace and minor reordering.

parent 57f29716
...@@ -17,7 +17,7 @@ module Pod ...@@ -17,7 +17,7 @@ module Pod
"#{string}\n" + '-' * string.length + "\n" "#{string}\n" + '-' * string.length + "\n"
end end
end end
def string_for_pod(pod) def string_for_pod(pod)
if (license_text = pod.license_text) if (license_text = pod.license_text)
title_from_string(pod.name) + license_text + "\n" title_from_string(pod.name) + license_text + "\n"
......
...@@ -18,7 +18,7 @@ module Pod ...@@ -18,7 +18,7 @@ module Pod
:PreferenceSpecifiers => licenses :PreferenceSpecifiers => licenses
} }
end end
def plist_title def plist_title
"Acknowledgements" "Acknowledgements"
end end
......
...@@ -118,7 +118,7 @@ module Pod ...@@ -118,7 +118,7 @@ module Pod
def header_files def header_files
source_files.select { |f| f.extname == '.h' } source_files.select { |f| f.extname == '.h' }
end end
def license_text def license_text
if (license_hash = specification.license) if (license_hash = specification.license)
if (result = license_hash[:text]) if (result = license_hash[:text])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment