Update CHANGELOG

This commit is contained in:
sdogruyol 2016-09-20 20:32:09 -03:00
parent 39cfe14811
commit cf2144636d
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,8 @@
# Next # Next
- Add `gzip` helper to enable / disable gzip compression on responses. - Add `gzip` helper to enable / disable gzip compression on responses.
- Static file caching with etag and gzip (thanks @crisward)
- `Kemal.run` now accepts port to listen.
# 0.15.1 (05-09-2015) # 0.15.1 (05-09-2015)

View file

@ -5,8 +5,8 @@ require "./kemal/middleware/*"
module Kemal module Kemal
# The command to run a `Kemal` application. # The command to run a `Kemal` application.
# The port can be given to `#run` but is optionnal. # The port can be given to `#run` but is optional.
# If not given Kemal will use the default config port (`Kemal::Config#port`) # If not given Kemal will use `Kemal::Config#port`
def self.run(port = nil) def self.run(port = nil)
Kemal::CLI.new Kemal::CLI.new
config = Kemal.config config = Kemal.config