mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
0.9.0 release
This commit is contained in:
parent
0324732179
commit
968194dbdf
4 changed files with 14 additions and 5 deletions
6
CHANGES
6
CHANGES
|
@ -1,4 +1,4 @@
|
|||
= 0.9.0 (unreleased)
|
||||
= 0.9.0 / 2009-01-18
|
||||
|
||||
* Works with and requires Rack >= 0.9.1
|
||||
|
||||
|
@ -45,6 +45,10 @@
|
|||
has the status code specified. It's also possible to register an error
|
||||
page for a range of status codes: "error(500..599)".
|
||||
|
||||
* In-file templates are now automatically imported from the file that
|
||||
requires 'sinatra'. The use_in_file_templates! method is still available
|
||||
for loading templates from other files.
|
||||
|
||||
* Sinatra's testing support is no longer dependent on Test::Unit. Requiring
|
||||
'sinatra/test' adds the Sinatra::Test module and Sinatra::TestHarness
|
||||
class, which can be used with any test framework. The 'sinatra/test/unit',
|
||||
|
|
7
Rakefile
7
Rakefile
|
@ -57,7 +57,12 @@ file package('.gem') => %w[dist/ sinatra.gemspec] + spec.files do |f|
|
|||
end
|
||||
|
||||
file package('.tar.gz') => %w[dist/] + spec.files do |f|
|
||||
sh "git archive --format=tar HEAD | gzip > #{f.name}"
|
||||
sh <<-SH
|
||||
git archive \
|
||||
--prefix=sinatra-#{source_version}/ \
|
||||
--format=tar \
|
||||
HEAD | gzip > #{f.name}
|
||||
SH
|
||||
end
|
||||
|
||||
# Rubyforge Release / Publish Tasks ==================================
|
||||
|
|
|
@ -4,7 +4,7 @@ require 'rack'
|
|||
require 'rack/builder'
|
||||
|
||||
module Sinatra
|
||||
VERSION = '0.8.10'
|
||||
VERSION = '0.9.0'
|
||||
|
||||
class Request < Rack::Request
|
||||
def user_agent
|
||||
|
|
|
@ -3,8 +3,8 @@ Gem::Specification.new do |s|
|
|||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
|
||||
s.name = 'sinatra'
|
||||
s.version = '0.8.10'
|
||||
s.date = '2009-01-16'
|
||||
s.version = '0.9.0'
|
||||
s.date = '2009-01-18'
|
||||
|
||||
s.description = "Classy web-development dressed in a DSL"
|
||||
s.summary = "Classy web-development dressed in a DSL"
|
||||
|
|
Loading…
Reference in a new issue