sinatra-bundles 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. data/Rakefile +2 -1
  2. data/VERSION +1 -1
  3. data/lib/sinatra/bundles/bundle.rb +36 -0
  4. data/lib/sinatra/bundles/helpers.rb +22 -0
  5. data/lib/sinatra/bundles/javascript_bundle.rb +37 -0
  6. data/lib/sinatra/bundles/stylesheet_bundle.rb +36 -0
  7. data/lib/sinatra/bundles.rb +4 -114
  8. data/sinatra-bundles.gemspec +11 -58
  9. data/spec/app.rb +1 -1
  10. data/spec/production_app.rb +1 -1
  11. data/spec/public/javascripts/eval.js +5 -0
  12. data/spec/sinatra-bundles_spec.rb +10 -1
  13. data/spec/spec_helper.rb +5 -6
  14. metadata +17 -57
  15. data/vendor/cache/sinatra-0.10.1.gem +0 -0
  16. data/vendor/gems/sinatra-0.10.1/AUTHORS +0 -43
  17. data/vendor/gems/sinatra-0.10.1/CHANGES +0 -467
  18. data/vendor/gems/sinatra-0.10.1/LICENSE +0 -22
  19. data/vendor/gems/sinatra-0.10.1/README.jp.rdoc +0 -552
  20. data/vendor/gems/sinatra-0.10.1/README.rdoc +0 -622
  21. data/vendor/gems/sinatra-0.10.1/Rakefile +0 -129
  22. data/vendor/gems/sinatra-0.10.1/lib/sinatra/base.rb +0 -1143
  23. data/vendor/gems/sinatra-0.10.1/lib/sinatra/images/404.png +0 -0
  24. data/vendor/gems/sinatra-0.10.1/lib/sinatra/images/500.png +0 -0
  25. data/vendor/gems/sinatra-0.10.1/lib/sinatra/main.rb +0 -28
  26. data/vendor/gems/sinatra-0.10.1/lib/sinatra/showexceptions.rb +0 -303
  27. data/vendor/gems/sinatra-0.10.1/lib/sinatra/tilt.rb +0 -509
  28. data/vendor/gems/sinatra-0.10.1/lib/sinatra.rb +0 -7
  29. data/vendor/gems/sinatra-0.10.1/sinatra.gemspec +0 -86
  30. data/vendor/gems/sinatra-0.10.1/test/base_test.rb +0 -160
  31. data/vendor/gems/sinatra-0.10.1/test/builder_test.rb +0 -65
  32. data/vendor/gems/sinatra-0.10.1/test/contest.rb +0 -64
  33. data/vendor/gems/sinatra-0.10.1/test/erb_test.rb +0 -81
  34. data/vendor/gems/sinatra-0.10.1/test/erubis_test.rb +0 -82
  35. data/vendor/gems/sinatra-0.10.1/test/extensions_test.rb +0 -100
  36. data/vendor/gems/sinatra-0.10.1/test/filter_test.rb +0 -195
  37. data/vendor/gems/sinatra-0.10.1/test/haml_test.rb +0 -90
  38. data/vendor/gems/sinatra-0.10.1/test/helper.rb +0 -76
  39. data/vendor/gems/sinatra-0.10.1/test/helpers_test.rb +0 -573
  40. data/vendor/gems/sinatra-0.10.1/test/mapped_error_test.rb +0 -186
  41. data/vendor/gems/sinatra-0.10.1/test/middleware_test.rb +0 -68
  42. data/vendor/gems/sinatra-0.10.1/test/request_test.rb +0 -33
  43. data/vendor/gems/sinatra-0.10.1/test/response_test.rb +0 -42
  44. data/vendor/gems/sinatra-0.10.1/test/result_test.rb +0 -98
  45. data/vendor/gems/sinatra-0.10.1/test/route_added_hook_test.rb +0 -59
  46. data/vendor/gems/sinatra-0.10.1/test/routing_test.rb +0 -878
  47. data/vendor/gems/sinatra-0.10.1/test/sass_test.rb +0 -79
  48. data/vendor/gems/sinatra-0.10.1/test/server_test.rb +0 -47
  49. data/vendor/gems/sinatra-0.10.1/test/sinatra_test.rb +0 -13
  50. data/vendor/gems/sinatra-0.10.1/test/static_test.rb +0 -87
  51. data/vendor/gems/sinatra-0.10.1/test/templates_test.rb +0 -155
  52. data/vendor/gems/sinatra-0.10.1/test/views/error.builder +0 -3
  53. data/vendor/gems/sinatra-0.10.1/test/views/error.erb +0 -3
  54. data/vendor/gems/sinatra-0.10.1/test/views/error.erubis +0 -3
  55. data/vendor/gems/sinatra-0.10.1/test/views/error.haml +0 -3
  56. data/vendor/gems/sinatra-0.10.1/test/views/error.sass +0 -2
  57. data/vendor/gems/sinatra-0.10.1/test/views/foo/hello.test +0 -1
  58. data/vendor/gems/sinatra-0.10.1/test/views/hello.builder +0 -1
  59. data/vendor/gems/sinatra-0.10.1/test/views/hello.erb +0 -1
  60. data/vendor/gems/sinatra-0.10.1/test/views/hello.erubis +0 -1
  61. data/vendor/gems/sinatra-0.10.1/test/views/hello.haml +0 -1
  62. data/vendor/gems/sinatra-0.10.1/test/views/hello.sass +0 -2
  63. data/vendor/gems/sinatra-0.10.1/test/views/hello.test +0 -1
  64. data/vendor/gems/sinatra-0.10.1/test/views/layout2.builder +0 -3
  65. data/vendor/gems/sinatra-0.10.1/test/views/layout2.erb +0 -2
  66. data/vendor/gems/sinatra-0.10.1/test/views/layout2.erubis +0 -2
  67. data/vendor/gems/sinatra-0.10.1/test/views/layout2.haml +0 -2
  68. data/vendor/gems/sinatra-0.10.1/test/views/layout2.test +0 -1
  69. data/vendor/specifications/sinatra-0.10.1.gemspec +0 -40
@@ -1,467 +0,0 @@
1
- = 1.0 / unreleased
2
-
3
- * It's now possible to register blocks to run after each request using
4
- after filters. After filters run at the end of each request, after
5
- routes and error handlers.
6
-
7
- * Sinatra now uses Tilt <http://github.com/rtomayko/tilt> for rendering
8
- templates. This adds support for template caching, consistent
9
- template backtraces, and support for new template engines, like
10
- mustache and liquid.
11
-
12
- * New 'settings' method gives access to options in both class and request
13
- scopes. This replaces the 'options' method.
14
-
15
- * New 'erubis' helper method for rendering Erubis templates.
16
-
17
- * New 'expires' helper method is like cache_control but takes an
18
- integer number of seconds or Time object:
19
- expires 300, :public, :must_revalidate
20
-
21
- * New 'cache_control' helper method provides a convenient way of
22
- setting the Cache-Control response header. Takes a variable number
23
- of boolean directives followed by a hash of value directives, like
24
- this:
25
- cache_control :public, :must_revalidate, :max_age => 60
26
-
27
- * Sinatra apps can now be run with a `-h <addr>` argument to specify
28
- the address to bind to.
29
-
30
- * Rack::Session::Cookie is now added to the middleware pipeline when
31
- running in test environments if the :sessions option is set.
32
-
33
- * Route handlers, before filters, templates, error mappings, and
34
- middleware are now resolved dynamically up the inheritance hierarchy
35
- when needed instead of duplicating the superclass's version when
36
- a new Sinatra::Base subclass is created. This should fix a variety
37
- of issues with extensions that need to add any of these things
38
- to the base class.
39
-
40
- The following Sinatra features have been obsoleted in the 1.0 release:
41
-
42
- * The `sinatra/test` library is obsolete. This includes the
43
- `Sinatra::Test` module, the `Sinatra::TestHarness` class,
44
- and the `get_it`, `post_it`, `put_it`, `delete_it`, and `head_it`
45
- helper methods. The
46
- [`Rack::Test` library](http://gitrdoc.com/brynary/rack-test) should
47
- be used instead.
48
-
49
- * Test framework specific libraries (`sinatra/test/spec`,
50
- `sinatra/test/bacon`,`sinatra/test/rspec`, etc.) are obsolete.
51
- See http://www.sinatrarb.com/testing.html for instructions on
52
- setting up a testing environment under each of these frameworks.
53
-
54
- * Auto-requiring template libraries in the `erb`, `builder`, `haml`,
55
- and `sass` methods is obsolete due to thread-safety issues. You must
56
- require the template libraries explicitly in your app.
57
-
58
- * The `:views_directory` option to rendering methods is obsolete; use
59
- `:views` instead.
60
-
61
- * The `:haml` and `:sass` options to rendering methods are obsolete.
62
- Template engine options should be passed in the second Hash argument
63
- instead.
64
-
65
- * The 'media_type' helper method is obsolete. Use 'mime_type' instead.
66
-
67
- * The request-level `send_data` method is no longer supported.
68
-
69
- * The `Sinatra::Event` and `Sinatra::EventContext` classes are no longer
70
- supported. This may effect extensions written for versions prior to 0.9.2.
71
- See [Writing Sinatra Extensions](http://www.sinatrarb.com/extensions.html)
72
- for the officially supported extensions API.
73
-
74
- * The `set_option` and `set_options` methods are obsolete; use `set`
75
- instead.
76
-
77
- * The `:env` setting (`settings.env`) is obsolete; use `:environment`
78
- instead.
79
-
80
- * The request level `stop` method is obsolete; use `halt` instead.
81
-
82
- * The request level `entity_tag` method is obsolete; use `etag`
83
- instead.
84
-
85
- * The request level `headers` method (HTTP response headers) is obsolete;
86
- use `response['Header-Name']` instead.
87
-
88
- * `Sinatra.application` is obsolete; use `Sinatra::Application` instead.
89
-
90
- * Using `Sinatra.application = nil` to reset an application is obsolete.
91
- This should no longer be necessary.
92
-
93
- * Using `Sinatra.default_options` to set base configuration items is
94
- obsolete; use `Sinatra::Base.set(key, value)` instead.
95
-
96
- * The `Sinatra::ServerError` exception is obsolete. All exceptions raised
97
- within a request are now treated as internal server errors and result in
98
- a 500 response status.
99
-
100
- = 0.9.2 / 2009-05-18
101
-
102
- * This version is compatible with Rack 1.0. [Rein Henrichs]
103
-
104
- * The development-mode unhandled exception / error page has been
105
- greatly enhanced, functionally and aesthetically. The error
106
- page is used when the :show_exceptions option is enabled and an
107
- exception propagates outside of a route handler or before filter.
108
- [Simon Rozet / Matte Noble / Ryan Tomayko]
109
-
110
- * Backtraces that move through templates now include filenames and
111
- line numbers where possible. [#51 / S. Brent Faulkner]
112
-
113
- * All templates now have an app-level option for setting default
114
- template options (:haml, :sass, :erb, :builder). The app-level
115
- option value must be a Hash if set and is merged with the
116
- template options specified to the render method (Base#haml,
117
- Base#erb, Base#builder). [S. Brent Faulkner, Ryan Tomayko]
118
-
119
- * The method signature for all template rendering methods has
120
- been unified: "def engine(template, options={}, locals={})".
121
- The options Hash now takes the generic :views, :layout, and
122
- :locals options but also any template-specific options. The
123
- generic options are removed before calling the template specific
124
- render method. Locals may be specified using either the
125
- :locals key in the options hash or a second Hash option to the
126
- rendering method. [#191 / Ryan Tomayko]
127
-
128
- * The receiver is now passed to "configure" blocks. This
129
- allows for the following idiom in top-level apps:
130
- configure { |app| set :foo, app.root + '/foo' }
131
- [TJ Holowaychuck / Ryan Tomayko]
132
-
133
- * The "sinatra/test" lib is deprecated and will be removed in
134
- Sinatra 1.0. This includes the Sinatra::Test module and
135
- Sinatra::TestHarness class in addition to all the framework
136
- test helpers that were deprecated in 0.9.1. The Rack::Test
137
- lib should be used instead: http://gitrdoc.com/brynary/rack-test
138
- [#176 / Simon Rozet]
139
-
140
- * Development mode source file reloading has been removed. The
141
- "shotgun" (http://rtomayko.github.com/shotgun/) program can be
142
- used to achieve the same basic functionality in most situations.
143
- Passenger users should use the "tmp/always_restart.txt"
144
- file (http://tinyurl.com/c67o4h). [#166 / Ryan Tomayko]
145
-
146
- * Auto-requiring template libs in the erb, builder, haml, and
147
- sass methods is deprecated due to thread-safety issues. You must
148
- require the template libs explicitly in your app file. [Simon Rozet]
149
-
150
- * A new Sinatra::Base#route_missing method was added. route_missing
151
- is sent when no route matches the request or all route handlers
152
- pass. The default implementation forwards the request to the
153
- downstream app when running as middleware (i.e., "@app" is
154
- non-nil), or raises a NotFound exception when no downstream app
155
- is defined. Subclasses can override this method to perform custom
156
- route miss logic. [Jon Crosby]
157
-
158
- * A new Sinatra::Base#route_eval method was added. The method
159
- yields to the block and throws :halt with the result. Subclasses
160
- can override this method to tap into the route execution logic.
161
- [TJ Holowaychuck]
162
-
163
- * Fix the "-x" (enable request mutex / locking) command line
164
- argument. Passing -x now properly sets the :lock option.
165
- [S. Brent Faulkner, Ryan Tomayko]
166
-
167
- * Fix writer ("foo=") and predicate ("foo?") methods in extension
168
- modules not being added to the registering class.
169
- [#172 / Pat Nakajima]
170
-
171
- * Fix in-file templates when running alongside activesupport and
172
- fatal errors when requiring activesupport before sinatra
173
- [#178 / Brian Candler]
174
-
175
- * Fix various issues running on Google AppEngine.
176
- [Samuel Goebert, Simon Rozet]
177
-
178
- * Fix in-file templates __END__ detection when __END__ exists with
179
- other stuff on a line [Yoji Shidara]
180
-
181
- = 0.9.1.1 / 2009-03-09
182
-
183
- * Fix directory traversal vulnerability in default static files
184
- route. See [#177] for more info.
185
-
186
- = 0.9.1 / 2009-03-01
187
-
188
- * Sinatra now runs under Ruby 1.9.1 [#61]
189
-
190
- * Route patterns (splats, :named, or Regexp captures) are now
191
- passed as arguments to the block. [#140]
192
-
193
- * The "helpers" method now takes a variable number of modules
194
- along with the normal block syntax. [#133]
195
-
196
- * New request-level #forward method for middleware components: passes
197
- the env to the downstream app and merges the response status, headers,
198
- and body into the current context. [#126]
199
-
200
- * Requests are now automatically forwarded to the downstream app when
201
- running as middleware and no matching route is found or all routes
202
- pass.
203
-
204
- * New simple API for extensions/plugins to add DSL-level and
205
- request-level methods. Use Sinatra.register(mixin) to extend
206
- the DSL with all public methods defined in the mixin module;
207
- use Sinatra.helpers(mixin) to make all public methods defined
208
- in the mixin module available at the request level. [#138]
209
- See http://www.sinatrarb.com/extensions.html for details.
210
-
211
- * Named parameters in routes now capture the "." character. This makes
212
- routes like "/:path/:filename" match against requests like
213
- "/foo/bar.txt"; in this case, "params[:filename]" is "bar.txt".
214
- Previously, the route would not match at all.
215
-
216
- * Added request-level "redirect back" to redirect to the referring
217
- URL.
218
-
219
- * Added a new "clean_trace" option that causes backtraces dumped
220
- to rack.errors and displayed on the development error page to
221
- omit framework and core library backtrace lines. The option is
222
- enabled by default. [#77]
223
-
224
- * The ERB output buffer is now available to helpers via the @_out_buf
225
- instance variable.
226
-
227
- * It's now much easier to test sessions in unit tests by passing a
228
- ":session" option to any of the mock request methods. e.g.,
229
- get '/', {}, :session => { 'foo' => 'bar' }
230
-
231
- * The testing framework specific files ('sinatra/test/spec',
232
- 'sinatra/test/bacon', 'sinatra/test/rspec', etc.) have been deprecated.
233
- See http://sinatrarb.com/testing.html for instructions on setting up
234
- a testing environment with these frameworks.
235
-
236
- * The request-level #send_data method from Sinatra 0.3.3 has been added
237
- for compatibility but is deprecated.
238
-
239
- * Fix :provides causing crash on any request when request has no
240
- Accept header [#139]
241
-
242
- * Fix that ERB templates were evaluated twice per "erb" call.
243
-
244
- * Fix app-level middleware not being run when the Sinatra application is
245
- run as middleware.
246
-
247
- * Fixed some issues with running under Rack's CGI handler caused by
248
- writing informational stuff to stdout.
249
-
250
- * Fixed that reloading was sometimes enabled when starting from a
251
- rackup file [#110]
252
-
253
- * Fixed that "." in route patterns erroneously matched any character
254
- instead of a literal ".". [#124]
255
-
256
- = 0.9.0.4 / 2009-01-25
257
-
258
- * Using halt with more than 1 args causes ArgumentError [#131]
259
- * using halt in a before filter doesn't modify response [#127]
260
- * Add deprecated Sinatra::EventContext to unbreak plugins [#130]
261
- * Give access to GET/POST params in filters [#129]
262
- * Preserve non-nested params in nested params hash [#117]
263
- * Fix backtrace dump with Rack::Lint [#116]
264
-
265
- = 0.9.0.3 / 2009-01-21
266
-
267
- * Fall back on mongrel then webrick when thin not found. [#75]
268
- * Use :environment instead of :env in test helpers to
269
- fix deprecation warnings coming from framework.
270
- * Make sinatra/test/rspec work again [#113]
271
- * Fix app_file detection on windows [#118]
272
- * Fix static files with Rack::Lint in pipeline [#121]
273
-
274
- = 0.9.0.2 / 2009-01-18
275
-
276
- * Halting a before block should stop processing of routes [#85]
277
- * Fix redirect/halt in before filters [#85]
278
-
279
- = 0.9.0 / 2009-01-18
280
-
281
- * Works with and requires Rack >= 0.9.1
282
-
283
- * Multiple Sinatra applications can now co-exist peacefully within a
284
- single process. The new "Sinatra::Base" class can be subclassed to
285
- establish a blank-slate Rack application or middleware component.
286
- Documentation on using these features is forth-coming; the following
287
- provides the basic gist: http://gist.github.com/38605
288
-
289
- * Parameters with subscripts are now parsed into a nested/recursive
290
- Hash structure. e.g., "post[title]=Hello&post[body]=World" yields
291
- params: {'post' => {'title' => 'Hello', 'body' => 'World'}}.
292
-
293
- * Regular expressions may now be used in route pattens; captures are
294
- available at "params[:captures]".
295
-
296
- * New ":provides" route condition takes an array of mime types and
297
- matches only when an Accept request header is present with a
298
- corresponding type. [cypher]
299
-
300
- * New request-level "pass" method; immediately exits the current block
301
- and passes control to the next matching route.
302
-
303
- * The request-level "body" method now takes a block; evaluation is
304
- deferred until an attempt is made to read the body. The block must
305
- return a String or Array.
306
-
307
- * New "route conditions" system for attaching rules for when a route
308
- matches. The :agent and :host route options now use this system.
309
-
310
- * New "dump_errors" option controls whether the backtrace is dumped to
311
- rack.errors when an exception is raised from a route. The option is
312
- enabled by default for top-level apps.
313
-
314
- * Better default "app_file", "root", "public", and "views" location
315
- detection; changes to "root" and "app_file" automatically cascade to
316
- other options that depend on them.
317
-
318
- * Error mappings are now split into two distinct layers: exception
319
- mappings and custom error pages. Exception mappings are registered
320
- with "error(Exception)" and are run only when the app raises an
321
- exception. Custom error pages are registered with "error(status_code)",
322
- where "status_code" is an integer, and are run any time the response
323
- has the status code specified. It's also possible to register an error
324
- page for a range of status codes: "error(500..599)".
325
-
326
- * In-file templates are now automatically imported from the file that
327
- requires 'sinatra'. The use_in_file_templates! method is still available
328
- for loading templates from other files.
329
-
330
- * Sinatra's testing support is no longer dependent on Test::Unit. Requiring
331
- 'sinatra/test' adds the Sinatra::Test module and Sinatra::TestHarness
332
- class, which can be used with any test framework. The 'sinatra/test/unit',
333
- 'sinatra/test/spec', 'sinatra/test/rspec', or 'sinatra/test/bacon' files
334
- can be required to setup a framework-specific testing environment. See the
335
- README for more information.
336
-
337
- * Added support for Bacon (test framework). The 'sinatra/test/bacon' file
338
- can be required to setup Sinatra test helpers on Bacon::Context.
339
-
340
- * Deprecated "set_option" and "set_options"; use "set" instead.
341
-
342
- * Deprecated the "env" option ("options.env"); use "environment" instead.
343
-
344
- * Deprecated the request level "stop" method; use "halt" instead.
345
-
346
- * Deprecated the request level "entity_tag" method; use "etag" instead.
347
- Both "entity_tag" and "etag" were previously supported.
348
-
349
- * Deprecated the request level "headers" method (HTTP response headers);
350
- use "response['Header-Name']" instead.
351
-
352
- * Deprecated "Sinatra.application"; use "Sinatra::Application" instead.
353
-
354
- * Deprecated setting Sinatra.application = nil to reset an application.
355
- This should no longer be necessary.
356
-
357
- * Deprecated "Sinatra.default_options"; use
358
- "Sinatra::Default.set(key, value)" instead.
359
-
360
- * Deprecated the "ServerError" exception. All Exceptions are now
361
- treated as internal server errors and result in a 500 response
362
- status.
363
-
364
- * Deprecated the "get_it", "post_it", "put_it", "delete_it", and "head_it"
365
- test helper methods. Use "get", "post", "put", "delete", and "head",
366
- respectively, instead.
367
-
368
- * Removed Event and EventContext classes. Applications are defined in a
369
- subclass of Sinatra::Base; each request is processed within an
370
- instance.
371
-
372
- = 0.3.3 / 2009-01-06
373
-
374
- * Pin to Rack 0.4.0 (this is the last release on Rack 0.4)
375
-
376
- * Log unhandled exception backtraces to rack.errors.
377
-
378
- * Use RACK_ENV environment variable to establish Sinatra
379
- environment when given. Thin sets this when started with
380
- the -e argument.
381
-
382
- * BUG: raising Sinatra::NotFound resulted in a 500 response
383
- code instead of 404.
384
-
385
- * BUG: use_in_file_templates! fails with CR/LF (#45)
386
-
387
- * BUG: Sinatra detects the app file and root path when run under
388
- thin/passenger.
389
-
390
- = 0.3.2
391
-
392
- * BUG: Static and send_file read entire file into String before
393
- sending. Updated to stream with 8K chunks instead.
394
-
395
- * Rake tasks and assets for building basic documentation website.
396
- See http://sinatra.rubyforge.org
397
-
398
- * Various minor doc fixes.
399
-
400
- = 0.3.1
401
-
402
- * Unbreak optional path parameters [jeremyevans]
403
-
404
- = 0.3.0
405
-
406
- * Add sinatra.gemspec w/ support for github gem builds. Forks can now
407
- enable the build gem option in github to get free username-sinatra.gem
408
- builds: gem install username-sinatra.gem --source=http://gems.github.com/
409
-
410
- * Require rack-0.4 gem; removes frozen rack dir.
411
-
412
- * Basic RSpec support; require 'sinatra/test/rspec' instead of
413
- 'sinatra/test/spec' to use. [avdi]
414
-
415
- * before filters can modify request environment vars used for
416
- routing (e.g., PATH_INFO, REQUEST_METHOD, etc.) for URL rewriting
417
- type functionality.
418
-
419
- * In-file templates now uses @@ instead of ## as template separator.
420
-
421
- * Top-level environment test predicates: development?, test?, production?
422
-
423
- * Top-level "set", "enable", and "disable" methods for tweaking
424
- app options. [rtomayko]
425
-
426
- * Top-level "use" method for building Rack middleware pipelines
427
- leading to app. See README for usage. [rtomayko]
428
-
429
- * New "reload" option - set false to disable reloading in development.
430
-
431
- * New "host" option - host/ip to bind to [cschneid]
432
-
433
- * New "app_file" option - override the file to reload in development
434
- mode [cschneid]
435
-
436
- * Development error/not_found page cleanup [sr, adamwiggins]
437
-
438
- * Remove a bunch of core extensions (String#to_param, String#from_param,
439
- Hash#from_params, Hash#to_params, Hash#symbolize_keys, Hash#pass)
440
-
441
- * Various grammar and formatting fixes to README; additions on
442
- community and contributing [cypher]
443
-
444
- * Build RDoc using Hanna template: http://sinatrarb.rubyforge.org/api
445
-
446
- * Specs, documentation and fixes for splat'n routes [vic]
447
-
448
- * Fix whitespace errors across all source files. [rtomayko]
449
-
450
- * Fix streaming issues with Mongrel (body not closed). [bmizerany]
451
-
452
- * Fix various issues with environment not being set properly (configure
453
- blocks not running, error pages not registering, etc.) [cypher]
454
-
455
- * Fix to allow locals to be passed to ERB templates [cschneid]
456
-
457
- * Fix locking issues causing random errors during reload in development.
458
-
459
- * Fix for escaped paths not resolving static files [Matthew Walker]
460
-
461
- = 0.2.1
462
-
463
- * File upload fix and minor tweaks.
464
-
465
- = 0.2.0
466
-
467
- * Initial gem release of 0.2 codebase.
@@ -1,22 +0,0 @@
1
- Copyright (c) 2007, 2008, 2009 Blake Mizerany
2
-
3
- Permission is hereby granted, free of charge, to any person
4
- obtaining a copy of this software and associated documentation
5
- files (the "Software"), to deal in the Software without
6
- restriction, including without limitation the rights to use,
7
- copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the
9
- Software is furnished to do so, subject to the following
10
- conditions:
11
-
12
- The above copyright notice and this permission notice shall be
13
- included in all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
- OTHER DEALINGS IN THE SOFTWARE.