mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Proper version reporting under 1.9
This commit is contained in:
parent
ac98b93ea1
commit
7234d962f8
2 changed files with 2 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
||||||
* Upgraded http11_parser to work with Ragel 6.2
|
* Upgraded http11_parser to work with Ragel 6.2
|
||||||
* Ruby 1.9 early compatbility: Merged commits form Eric Wong.
|
* Ruby 1.9 early compatbility: Merged commits form Eric Wong.
|
||||||
* Better RubyGems support thanks to added env she-bang to mongrel_rails executable.
|
* Better RubyGems support thanks to added env she-bang to mongrel_rails executable.
|
||||||
|
* Fixed proper version reporting under 1.9
|
||||||
|
|
||||||
=== 1.1.5 / 2008-05-22
|
=== 1.1.5 / 2008-05-22
|
||||||
|
|
||||||
|
|
|
@ -61,9 +61,7 @@ module Mongrel
|
||||||
# I need to add my own -v definition to prevent the -v from exiting by default as well.
|
# I need to add my own -v definition to prevent the -v from exiting by default as well.
|
||||||
@opt.on_tail("--version", "Show version") do
|
@opt.on_tail("--version", "Show version") do
|
||||||
@done_validating = true
|
@done_validating = true
|
||||||
if VERSION
|
puts "Version #{Mongrel::Const::MONGREL_VERSION}"
|
||||||
puts "Version #{Mongrel::Const::MONGREL_VERSION}"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
@opt.parse! argv
|
@opt.parse! argv
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue