Skip to content

Commit

Permalink
0.9.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Jan 18, 2009
1 parent 0324732 commit 968194d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= 0.9.0 (unreleased)
= 0.9.0 / 2009-01-18

* Works with and requires Rack >= 0.9.1

Expand Down Expand Up @@ -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',
Expand Down
7 changes: 6 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ==================================
Expand Down
2 changes: 1 addition & 1 deletion lib/sinatra/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require 'rack/builder'

module Sinatra
VERSION = '0.8.10'
VERSION = '0.9.0'

class Request < Rack::Request
def user_agent
Expand Down
4 changes: 2 additions & 2 deletions sinatra.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 968194d

Please sign in to comment.