Commit 2a631ea5 authored by Fabio Pelosin's avatar Fabio Pelosin

minor fixes

parent 46ea3110
......@@ -54,8 +54,8 @@ module Pod
if config.doc?
if pod.generate_documentation(config.doc_install?, config.doc_force? ,config.verbose?)
action = config.doc_install ? 'installed' : 'generated'
puts " #{action} documentation" unless config.silent?
action = config.doc_install ? 'Installed' : 'Generated'
puts "-> #{action} documentation" unless config.silent?
end
end
......
......@@ -77,9 +77,7 @@ module Pod
# Generates and installs the documentation of the pod.
#
# It returns a human redable string containing the source used
# for the documentation. If no source was available it returns
# nil.
# It returns true if the documentation was generated/installed
#
def generate_documentation(install, force = true, verbose = false)
documentation = specification.documentation ? specification.documentation : {}
......
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