roda 3.18.0 → 3.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +24 -0
- data/README.rdoc +7 -9
- data/doc/conventions.rdoc +10 -10
- data/doc/release_notes/3.19.0.txt +229 -0
- data/lib/roda.rb +88 -45
- data/lib/roda/plugins/assets.rb +11 -4
- data/lib/roda/plugins/delay_build.rb +3 -30
- data/lib/roda/plugins/empty_root.rb +1 -1
- data/lib/roda/plugins/hash_routes.rb +455 -0
- data/lib/roda/plugins/match_hook.rb +69 -0
- data/lib/roda/plugins/multi_route.rb +4 -0
- data/lib/roda/plugins/multi_view.rb +4 -0
- data/lib/roda/plugins/optimized_string_matchers.rb +1 -1
- data/lib/roda/plugins/sessions.rb +63 -16
- data/lib/roda/plugins/static_routing.rb +7 -40
- data/lib/roda/version.rb +1 -1
- data/spec/define_roda_method_spec.rb +3 -0
- data/spec/freeze_spec.rb +10 -1
- data/spec/integration_spec.rb +1 -1
- data/spec/plugin/assets_spec.rb +16 -0
- data/spec/plugin/delay_build_spec.rb +2 -3
- data/spec/plugin/hash_routes_spec.rb +535 -0
- data/spec/plugin/match_hook_spec.rb +79 -0
- data/spec/plugin/middleware_spec.rb +1 -0
- data/spec/plugin/sessions_spec.rb +363 -320
- metadata +8 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -215,6 +215,7 @@ extra_rdoc_files:
|
|
215
215
|
- doc/release_notes/3.16.0.txt
|
216
216
|
- doc/release_notes/3.17.0.txt
|
217
217
|
- doc/release_notes/3.18.0.txt
|
218
|
+
- doc/release_notes/3.19.0.txt
|
218
219
|
files:
|
219
220
|
- CHANGELOG
|
220
221
|
- MIT-LICENSE
|
@@ -268,6 +269,7 @@ files:
|
|
268
269
|
- doc/release_notes/3.16.0.txt
|
269
270
|
- doc/release_notes/3.17.0.txt
|
270
271
|
- doc/release_notes/3.18.0.txt
|
272
|
+
- doc/release_notes/3.19.0.txt
|
271
273
|
- doc/release_notes/3.2.0.txt
|
272
274
|
- doc/release_notes/3.3.0.txt
|
273
275
|
- doc/release_notes/3.4.0.txt
|
@@ -313,6 +315,7 @@ files:
|
|
313
315
|
- lib/roda/plugins/h.rb
|
314
316
|
- lib/roda/plugins/halt.rb
|
315
317
|
- lib/roda/plugins/hash_matcher.rb
|
318
|
+
- lib/roda/plugins/hash_routes.rb
|
316
319
|
- lib/roda/plugins/head.rb
|
317
320
|
- lib/roda/plugins/header_matchers.rb
|
318
321
|
- lib/roda/plugins/heartbeat.rb
|
@@ -323,6 +326,7 @@ files:
|
|
323
326
|
- lib/roda/plugins/mail_processor.rb
|
324
327
|
- lib/roda/plugins/mailer.rb
|
325
328
|
- lib/roda/plugins/match_affix.rb
|
329
|
+
- lib/roda/plugins/match_hook.rb
|
326
330
|
- lib/roda/plugins/middleware.rb
|
327
331
|
- lib/roda/plugins/middleware_stack.rb
|
328
332
|
- lib/roda/plugins/module_include.rb
|
@@ -420,6 +424,7 @@ files:
|
|
420
424
|
- spec/plugin/h_spec.rb
|
421
425
|
- spec/plugin/halt_spec.rb
|
422
426
|
- spec/plugin/hash_matcher_spec.rb
|
427
|
+
- spec/plugin/hash_routes_spec.rb
|
423
428
|
- spec/plugin/head_spec.rb
|
424
429
|
- spec/plugin/header_matchers_spec.rb
|
425
430
|
- spec/plugin/heartbeat_spec.rb
|
@@ -430,6 +435,7 @@ files:
|
|
430
435
|
- spec/plugin/mail_processor_spec.rb
|
431
436
|
- spec/plugin/mailer_spec.rb
|
432
437
|
- spec/plugin/match_affix_spec.rb
|
438
|
+
- spec/plugin/match_hook_spec.rb
|
433
439
|
- spec/plugin/middleware_spec.rb
|
434
440
|
- spec/plugin/middleware_stack_spec.rb
|
435
441
|
- spec/plugin/module_include_spec.rb
|