sinatra 1.3.0.a → 1.3.0.b
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 +26 -0
- data/Gemfile +1 -0
- data/README.de.rdoc +103 -39
- data/README.es.rdoc +69 -23
- data/README.fr.rdoc +128 -49
- data/README.rdoc +67 -23
- data/README.ru.rdoc +177 -158
- data/lib/sinatra/base.rb +76 -31
- data/lib/sinatra/showexceptions.rb +1 -1
- data/sinatra.gemspec +2 -3
- data/test/delegator_test.rb +20 -1
- data/test/helpers_test.rb +23 -1
- data/test/routing_test.rb +90 -3
- data/test/templates_test.rb +1 -1
- metadata +3 -4
- data/test/hello.mab +0 -1
data/test/templates_test.rb
CHANGED
@@ -144,7 +144,7 @@ class TemplatesTest < Test::Unit::TestCase
|
|
144
144
|
end
|
145
145
|
|
146
146
|
it 'loads templates from specified views directory' do
|
147
|
-
render_app { render :test, :hello, :views =>
|
147
|
+
render_app { render :test, :hello, :views => settings.views + '/foo' }
|
148
148
|
|
149
149
|
assert_equal "from another views directory\n", body
|
150
150
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 1.3.0.
|
5
|
+
version: 1.3.0.b
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Blake Mizerany
|
@@ -13,7 +13,7 @@ autorequire:
|
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
15
|
|
16
|
-
date: 2011-
|
16
|
+
date: 2011-04-08 00:00:00 +01:00
|
17
17
|
default_executable:
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
@@ -102,7 +102,6 @@ files:
|
|
102
102
|
- test/extensions_test.rb
|
103
103
|
- test/filter_test.rb
|
104
104
|
- test/haml_test.rb
|
105
|
-
- test/hello.mab
|
106
105
|
- test/helper.rb
|
107
106
|
- test/helpers_test.rb
|
108
107
|
- test/less_test.rb
|
@@ -200,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
199
|
requirements: []
|
201
200
|
|
202
201
|
rubyforge_project: sinatra
|
203
|
-
rubygems_version: 1.
|
202
|
+
rubygems_version: 1.6.2
|
204
203
|
signing_key:
|
205
204
|
specification_version: 2
|
206
205
|
summary: Classy web-development dressed in a DSL
|
data/test/hello.mab
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
h1 "Hello From Markaby"
|