sinatra 1.2.1 → 1.2.2
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 +28 -0
- data/README.de.rdoc +467 -395
- data/README.es.rdoc +56 -9
- data/README.pt-pt.rdoc +646 -0
- data/README.rdoc +40 -0
- data/Rakefile +14 -4
- data/lib/sinatra/base.rb +63 -25
- data/lib/sinatra/showexceptions.rb +1 -1
- data/sinatra.gemspec +3 -2
- data/test/encoding_test.rb +2 -2
- data/test/helpers_test.rb +62 -0
- data/test/routing_test.rb +90 -3
- metadata +198 -197
metadata
CHANGED
@@ -2,56 +2,56 @@
|
|
2
2
|
name: sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.2.
|
5
|
+
version: 1.2.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
- Blake Mizerany
|
9
|
+
- Ryan Tomayko
|
10
|
+
- Simon Rozet
|
11
|
+
- Konstantin Haase
|
12
12
|
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
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
19
|
+
- !ruby/object:Gem::Dependency
|
20
|
+
name: rack
|
21
|
+
prerelease: false
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
|
+
requirements:
|
25
|
+
- - ~>
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: "1.1"
|
28
|
+
type: :runtime
|
29
|
+
version_requirements: *id001
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: tilt
|
32
|
+
prerelease: false
|
33
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: 1.2.2
|
39
|
+
- - <
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: "2.0"
|
42
|
+
type: :runtime
|
43
|
+
version_requirements: *id002
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: shotgun
|
46
|
+
prerelease: false
|
47
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
49
|
+
requirements:
|
50
|
+
- - ~>
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: "0.6"
|
53
|
+
type: :development
|
54
|
+
version_requirements: *id003
|
55
55
|
description: Classy web-development dressed in a DSL
|
56
56
|
email: sinatrarb@googlegroups.com
|
57
57
|
executables: []
|
@@ -59,179 +59,180 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
|
61
61
|
extra_rdoc_files:
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
62
|
+
- README.rdoc
|
63
|
+
- README.de.rdoc
|
64
|
+
- README.jp.rdoc
|
65
|
+
- README.fr.rdoc
|
66
|
+
- README.es.rdoc
|
67
|
+
- README.hu.rdoc
|
68
|
+
- README.zh.rdoc
|
69
|
+
- LICENSE
|
70
70
|
files:
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
71
|
+
- AUTHORS
|
72
|
+
- CHANGES
|
73
|
+
- Gemfile
|
74
|
+
- LICENSE
|
75
|
+
- README.de.rdoc
|
76
|
+
- README.es.rdoc
|
77
|
+
- README.fr.rdoc
|
78
|
+
- README.hu.rdoc
|
79
|
+
- README.jp.rdoc
|
80
|
+
- README.pt-br.rdoc
|
81
|
+
- README.pt-pt.rdoc
|
82
|
+
- README.rdoc
|
83
|
+
- README.ru.rdoc
|
84
|
+
- README.zh.rdoc
|
85
|
+
- Rakefile
|
86
|
+
- lib/sinatra.rb
|
87
|
+
- lib/sinatra/base.rb
|
88
|
+
- lib/sinatra/images/404.png
|
89
|
+
- lib/sinatra/images/500.png
|
90
|
+
- lib/sinatra/main.rb
|
91
|
+
- lib/sinatra/showexceptions.rb
|
92
|
+
- sinatra.gemspec
|
93
|
+
- test/base_test.rb
|
94
|
+
- test/builder_test.rb
|
95
|
+
- test/coffee_test.rb
|
96
|
+
- test/contest.rb
|
97
|
+
- test/encoding_test.rb
|
98
|
+
- test/erb_test.rb
|
99
|
+
- test/erubis_test.rb
|
100
|
+
- test/extensions_test.rb
|
101
|
+
- test/filter_test.rb
|
102
|
+
- test/haml_test.rb
|
103
|
+
- test/hello.mab
|
104
|
+
- test/helper.rb
|
105
|
+
- test/helpers_test.rb
|
106
|
+
- test/less_test.rb
|
107
|
+
- test/liquid_test.rb
|
108
|
+
- test/mapped_error_test.rb
|
109
|
+
- test/markaby_test.rb
|
110
|
+
- test/markdown_test.rb
|
111
|
+
- test/middleware_test.rb
|
112
|
+
- test/nokogiri_test.rb
|
113
|
+
- test/public/favicon.ico
|
114
|
+
- test/radius_test.rb
|
115
|
+
- test/rdoc_test.rb
|
116
|
+
- test/request_test.rb
|
117
|
+
- test/response_test.rb
|
118
|
+
- test/result_test.rb
|
119
|
+
- test/route_added_hook_test.rb
|
120
|
+
- test/routing_test.rb
|
121
|
+
- test/sass_test.rb
|
122
|
+
- test/scss_test.rb
|
123
|
+
- test/server_test.rb
|
124
|
+
- test/settings_test.rb
|
125
|
+
- test/sinatra_test.rb
|
126
|
+
- test/slim_test.rb
|
127
|
+
- test/static_test.rb
|
128
|
+
- test/templates_test.rb
|
129
|
+
- test/textile_test.rb
|
130
|
+
- test/views/a/in_a.str
|
131
|
+
- test/views/ascii.erb
|
132
|
+
- test/views/b/in_b.str
|
133
|
+
- test/views/calc.html.erb
|
134
|
+
- test/views/error.builder
|
135
|
+
- test/views/error.erb
|
136
|
+
- test/views/error.erubis
|
137
|
+
- test/views/error.haml
|
138
|
+
- test/views/error.sass
|
139
|
+
- test/views/explicitly_nested.str
|
140
|
+
- test/views/foo/hello.test
|
141
|
+
- test/views/hello.builder
|
142
|
+
- test/views/hello.coffee
|
143
|
+
- test/views/hello.erb
|
144
|
+
- test/views/hello.erubis
|
145
|
+
- test/views/hello.haml
|
146
|
+
- test/views/hello.less
|
147
|
+
- test/views/hello.liquid
|
148
|
+
- test/views/hello.mab
|
149
|
+
- test/views/hello.md
|
150
|
+
- test/views/hello.nokogiri
|
151
|
+
- test/views/hello.radius
|
152
|
+
- test/views/hello.rdoc
|
153
|
+
- test/views/hello.sass
|
154
|
+
- test/views/hello.scss
|
155
|
+
- test/views/hello.slim
|
156
|
+
- test/views/hello.str
|
157
|
+
- test/views/hello.test
|
158
|
+
- test/views/hello.textile
|
159
|
+
- test/views/layout2.builder
|
160
|
+
- test/views/layout2.erb
|
161
|
+
- test/views/layout2.erubis
|
162
|
+
- test/views/layout2.haml
|
163
|
+
- test/views/layout2.liquid
|
164
|
+
- test/views/layout2.mab
|
165
|
+
- test/views/layout2.nokogiri
|
166
|
+
- test/views/layout2.radius
|
167
|
+
- test/views/layout2.slim
|
168
|
+
- test/views/layout2.str
|
169
|
+
- test/views/layout2.test
|
170
|
+
- test/views/nested.str
|
171
|
+
- test/views/utf8.erb
|
171
172
|
has_rdoc: true
|
172
173
|
homepage: http://sinatra.rubyforge.org
|
173
174
|
licenses: []
|
174
175
|
|
175
176
|
post_install_message:
|
176
177
|
rdoc_options:
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
178
|
+
- --line-numbers
|
179
|
+
- --inline-source
|
180
|
+
- --title
|
181
|
+
- Sinatra
|
182
|
+
- --main
|
183
|
+
- README.rdoc
|
183
184
|
require_paths:
|
184
|
-
|
185
|
+
- lib
|
185
186
|
required_ruby_version: !ruby/object:Gem::Requirement
|
186
187
|
none: false
|
187
188
|
requirements:
|
188
|
-
|
189
|
-
|
190
|
-
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: "0"
|
191
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
193
|
none: false
|
193
194
|
requirements:
|
194
|
-
|
195
|
-
|
196
|
-
|
195
|
+
- - ">="
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: "0"
|
197
198
|
requirements: []
|
198
199
|
|
199
200
|
rubyforge_project: sinatra
|
200
|
-
rubygems_version: 1.
|
201
|
+
rubygems_version: 1.6.2
|
201
202
|
signing_key:
|
202
203
|
specification_version: 2
|
203
204
|
summary: Classy web-development dressed in a DSL
|
204
205
|
test_files:
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
206
|
+
- test/base_test.rb
|
207
|
+
- test/builder_test.rb
|
208
|
+
- test/coffee_test.rb
|
209
|
+
- test/encoding_test.rb
|
210
|
+
- test/erb_test.rb
|
211
|
+
- test/erubis_test.rb
|
212
|
+
- test/extensions_test.rb
|
213
|
+
- test/filter_test.rb
|
214
|
+
- test/haml_test.rb
|
215
|
+
- test/helpers_test.rb
|
216
|
+
- test/less_test.rb
|
217
|
+
- test/liquid_test.rb
|
218
|
+
- test/mapped_error_test.rb
|
219
|
+
- test/markaby_test.rb
|
220
|
+
- test/markdown_test.rb
|
221
|
+
- test/middleware_test.rb
|
222
|
+
- test/nokogiri_test.rb
|
223
|
+
- test/radius_test.rb
|
224
|
+
- test/rdoc_test.rb
|
225
|
+
- test/request_test.rb
|
226
|
+
- test/response_test.rb
|
227
|
+
- test/result_test.rb
|
228
|
+
- test/route_added_hook_test.rb
|
229
|
+
- test/routing_test.rb
|
230
|
+
- test/sass_test.rb
|
231
|
+
- test/scss_test.rb
|
232
|
+
- test/server_test.rb
|
233
|
+
- test/settings_test.rb
|
234
|
+
- test/sinatra_test.rb
|
235
|
+
- test/slim_test.rb
|
236
|
+
- test/static_test.rb
|
237
|
+
- test/templates_test.rb
|
238
|
+
- test/textile_test.rb
|