sinatra 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sinatra might be problematic. Click here for more details.
- data/CHANGES +7 -1
- data/README.rdoc +5 -5
- data/lib/sinatra/base.rb +2 -2
- data/sinatra.gemspec +2 -2
- metadata +3 -3
data/CHANGES
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
= 0.9.
|
1
|
+
= 0.9.6 / 2010-03-07
|
2
|
+
|
3
|
+
* Work around for segfault under Ruby >= 1.8.7p248 and 1.9.2dev. See
|
4
|
+
MRI bug #2781 for more information:
|
5
|
+
http://redmine.ruby-lang.org/issues/show/2781
|
6
|
+
|
7
|
+
= 0.9.5 / 2010-03-04
|
2
8
|
|
3
9
|
* Fix use_in_file_templates! with jRuby on Windows.
|
4
10
|
|
data/README.rdoc
CHANGED
@@ -544,8 +544,8 @@ system. The +Sinatra::Application+ class -- a special subclass of
|
|
544
544
|
Sinatra::Base -- receives all :get, :put, :post, :delete, :before,
|
545
545
|
:error, :not_found, :configure, and :set messages sent to the
|
546
546
|
top-level. Have a look at the code for yourself: here's the
|
547
|
-
{Sinatra::Delegator mixin}[http://github.com/sinatra/sinatra/blob/
|
548
|
-
being {included into the main namespace}[http://github.com/sinatra/sinatra/blob/
|
547
|
+
{Sinatra::Delegator mixin}[http://github.com/sinatra/sinatra/blob/0.9.5/lib/sinatra/base.rb#L1124-1143]
|
548
|
+
being {included into the main namespace}[http://github.com/sinatra/sinatra/blob/0.9.5/lib/sinatra/main.rb#L25].
|
549
549
|
|
550
550
|
== Command line
|
551
551
|
|
@@ -589,12 +589,12 @@ To update the Sinatra sources in the future:
|
|
589
589
|
|
590
590
|
== More
|
591
591
|
|
592
|
-
* {Project Website}[http://
|
592
|
+
* {Project Website}[http://www.sinatrarb.com/] - Additional documentation,
|
593
593
|
news, and links to other resources.
|
594
|
-
* {Contributing}[http://
|
594
|
+
* {Contributing}[http://www.sinatrarb.com/contributing] - Find a bug? Need
|
595
595
|
help? Have a patch?
|
596
596
|
* {Lighthouse}[http://sinatra.lighthouseapp.com] - Issue tracking and release
|
597
597
|
planning.
|
598
598
|
* {Twitter}[http://twitter.com/sinatra]
|
599
|
-
* {Mailing List}[http://groups.google.com/group/sinatrarb]
|
599
|
+
* {Mailing List}[http://groups.google.com/group/sinatrarb/topics]
|
600
600
|
* {IRC: #sinatra}[irc://chat.freenode.net/#sinatra] on http://freenode.net
|
data/lib/sinatra/base.rb
CHANGED
@@ -14,7 +14,7 @@ def sinatra_warn(*message) #:nodoc:
|
|
14
14
|
end
|
15
15
|
|
16
16
|
module Sinatra
|
17
|
-
VERSION = '0.9.
|
17
|
+
VERSION = '0.9.6'
|
18
18
|
|
19
19
|
# The request object. See Rack::Request for more info:
|
20
20
|
# http://rack.rubyforge.org/doc/classes/Rack/Request.html
|
@@ -637,7 +637,7 @@ module Sinatra
|
|
637
637
|
if value.kind_of?(Proc)
|
638
638
|
metadef(option, &value)
|
639
639
|
metadef("#{option}?") { !!__send__(option) }
|
640
|
-
metadef("#{option}=") { |val|
|
640
|
+
metadef("#{option}=") { |val| metadef(option, &Proc.new{val}) }
|
641
641
|
elsif value == self && option.respond_to?(:to_hash)
|
642
642
|
option.to_hash.each { |k,v| set(k, v) }
|
643
643
|
elsif respond_to?("#{option}=")
|
data/sinatra.gemspec
CHANGED
@@ -3,8 +3,8 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'sinatra'
|
6
|
-
s.version = '0.9.
|
7
|
-
s.date = '2010-03-
|
6
|
+
s.version = '0.9.6'
|
7
|
+
s.date = '2010-03-07'
|
8
8
|
|
9
9
|
s.description = "Classy web-development dressed in a DSL"
|
10
10
|
s.summary = "Classy web-development dressed in a DSL"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 6
|
9
|
+
version: 0.9.6
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Blake Mizerany
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-07 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|