lib/compass/commands/print_version.rb in compass-0.11.beta.7 vs lib/compass/commands/print_version.rb in compass-0.11.0
- old
+ new
@@ -55,9 +55,12 @@
parser.options
end
def long_output_string
lines = []
lines << "Compass #{::Compass.version[:string]}"
+ if name = ::Compass.version[:name]
+ lines.last << " (#{name})"
+ end
lines << "Copyright (c) 2008-#{Time.now.year} Chris Eppstein"
lines << "Released under the MIT License."
lines << "Compass is charityware."
lines << "Please make a tax deductable donation for a worthy cause: http://umdf.org/compass"
lines.join("\n")