sinatra-sinatra 0.9.1.2 → 0.9.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.rdoc +42 -0
- data/Rakefile +15 -3
- data/compat/haml_test.rb +7 -4
- data/compat/helper.rb +4 -0
- data/compat/sass_test.rb +10 -0
- data/lib/sinatra/base.rb +136 -121
- data/lib/sinatra/compat.rb +16 -0
- data/lib/sinatra/showexceptions.rb +303 -0
- data/sinatra.gemspec +11 -3
- data/test/base_test.rb +117 -101
- data/test/builder_test.rb +1 -1
- data/test/contest.rb +62 -0
- data/test/erb_test.rb +1 -1
- data/test/extensions_test.rb +1 -1
- data/test/filter_test.rb +1 -1
- data/test/haml_test.rb +25 -3
- data/test/helper.rb +14 -46
- data/test/helpers_test.rb +444 -442
- data/test/mapped_error_test.rb +147 -144
- data/test/middleware_test.rb +2 -2
- data/test/options_test.rb +247 -206
- data/test/render_backtrace_test.rb +145 -0
- data/test/request_test.rb +1 -1
- data/test/response_test.rb +2 -2
- data/test/result_test.rb +1 -1
- data/test/route_added_hook_test.rb +59 -0
- data/test/routing_test.rb +12 -1
- data/test/sass_test.rb +43 -1
- data/test/server_test.rb +5 -3
- data/test/sinatra_test.rb +1 -1
- data/test/static_test.rb +2 -2
- data/test/templates_test.rb +16 -4
- data/test/test_test.rb +5 -5
- data/test/views/error.builder +3 -0
- data/test/views/error.erb +3 -0
- data/test/views/error.haml +3 -0
- data/test/views/error.sass +2 -0
- metadata +12 -5
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.1.
|
4
|
+
version: 0.9.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Mizerany
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-04-25 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -21,9 +21,6 @@ dependencies:
|
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: 0.9.1
|
24
|
-
- - <
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: "1.0"
|
27
24
|
version:
|
28
25
|
- !ruby/object:Gem::Dependency
|
29
26
|
name: shotgun
|
@@ -94,6 +91,7 @@ files:
|
|
94
91
|
- lib/sinatra/images/404.png
|
95
92
|
- lib/sinatra/images/500.png
|
96
93
|
- lib/sinatra/main.rb
|
94
|
+
- lib/sinatra/showexceptions.rb
|
97
95
|
- lib/sinatra/test.rb
|
98
96
|
- lib/sinatra/test/bacon.rb
|
99
97
|
- lib/sinatra/test/rspec.rb
|
@@ -102,6 +100,7 @@ files:
|
|
102
100
|
- sinatra.gemspec
|
103
101
|
- test/base_test.rb
|
104
102
|
- test/builder_test.rb
|
103
|
+
- test/contest.rb
|
105
104
|
- test/data/reload_app_file.rb
|
106
105
|
- test/erb_test.rb
|
107
106
|
- test/extensions_test.rb
|
@@ -112,9 +111,11 @@ files:
|
|
112
111
|
- test/mapped_error_test.rb
|
113
112
|
- test/middleware_test.rb
|
114
113
|
- test/options_test.rb
|
114
|
+
- test/render_backtrace_test.rb
|
115
115
|
- test/request_test.rb
|
116
116
|
- test/response_test.rb
|
117
117
|
- test/result_test.rb
|
118
|
+
- test/route_added_hook_test.rb
|
118
119
|
- test/routing_test.rb
|
119
120
|
- test/sass_test.rb
|
120
121
|
- test/server_test.rb
|
@@ -122,6 +123,10 @@ files:
|
|
122
123
|
- test/static_test.rb
|
123
124
|
- test/templates_test.rb
|
124
125
|
- test/test_test.rb
|
126
|
+
- test/views/error.builder
|
127
|
+
- test/views/error.erb
|
128
|
+
- test/views/error.haml
|
129
|
+
- test/views/error.sass
|
125
130
|
- test/views/hello.builder
|
126
131
|
- test/views/hello.erb
|
127
132
|
- test/views/hello.haml
|
@@ -173,9 +178,11 @@ test_files:
|
|
173
178
|
- test/mapped_error_test.rb
|
174
179
|
- test/middleware_test.rb
|
175
180
|
- test/options_test.rb
|
181
|
+
- test/render_backtrace_test.rb
|
176
182
|
- test/request_test.rb
|
177
183
|
- test/response_test.rb
|
178
184
|
- test/result_test.rb
|
185
|
+
- test/route_added_hook_test.rb
|
179
186
|
- test/routing_test.rb
|
180
187
|
- test/sass_test.rb
|
181
188
|
- test/server_test.rb
|