Commit graph

719 commits

Author SHA1 Message Date
Tommi Reiman
e8ee224160 Fix tests 2017-11-12 16:00:32 +02:00
Tommi Reiman
9434dd08e7 Don't test for nil handler
* it's already verified by the ring-router
2017-11-12 15:43:27 +02:00
Tommi Reiman
63848838d5 respond with nil if async ring route doesn't match
* relates to #45
2017-11-11 22:12:06 +02:00
Tommi Reiman
4ea0dc2600 Fix typos & unfinished sentences 2017-11-11 17:50:27 +02:00
Tommi Reiman
01c97729bd
Merge pull request #46 from metosin/gen-wrap
Small changes
2017-11-11 15:37:46 +00:00
Tommi Reiman
44867fbcf5 :gen -> :gem-wrap in middleware
* as preparation for support of interceptors
2017-11-11 17:30:17 +02:00
Tommi Reiman
95b796e94c
Merge pull request #44 from metosin/trie
Prefix-tree router
2017-11-11 15:27:26 +00:00
Tommi Reiman
5390086d7f Fix docs 2017-11-11 16:52:32 +02:00
Tommi Reiman
8bde6aefa2 Test that different routers work correctly 2017-11-11 16:46:43 +02:00
Tommi Reiman
1f27021c29 Tries have a human-readable representation 2017-11-11 16:39:11 +02:00
Tommi Reiman
2f6bfb33f8 Use linear-router always if there are conflicting routes 2017-11-11 16:38:16 +02:00
Tommi Reiman
de993abf62 Move tests 2017-11-10 18:12:00 +00:00
Tommi Reiman
5d7786936c prefix-tree-router! 2017-11-10 18:12:00 +00:00
Tommi Reiman
0d63aa1d43 Cleanup arguments 2017-11-10 18:12:00 +00:00
Tommi Reiman
c378d0b5af fix payloads 2017-11-10 18:12:00 +00:00
Tommi Reiman
32a1be1466 Return also route-data 2017-11-10 18:12:00 +00:00
Tommi Reiman
e12bfeabf1 Flattened matching, 1.2ms -> 0.8ms!!! 2017-11-10 18:12:00 +00:00
Tommi Reiman
eeea39ca83 Re-implement using reified protocols
* tree can be optimzied on the fly!
2017-11-10 18:12:00 +00:00
Tommi Reiman
07861f43f9 prefix-tree impl WIP
* opensensors route match, 2.3µs => 1.3µs
* static routes looked first
* fixes pedestal #532
2017-11-10 18:12:00 +00:00
Tommi Reiman
39bc633576 j.u.HashMap fails with nil 2017-11-10 18:12:00 +00:00
Tommi Reiman
16116d3e58 quickbenck over rest-routes 2017-11-10 18:11:59 +00:00
Tommi Reiman
4163c7c367 Test also composure 2017-11-10 18:11:59 +00:00
Tommi Reiman
7cb66ec413 Documenting Ring + 404 (Fixes #43) 2017-11-09 15:59:24 +00:00
Tommi Reiman
35aa09b6a3
Update README.md 2017-11-01 19:06:19 +02:00
Tommi Reiman
eb908ea2b1 Update deps & README 2017-11-01 19:03:41 +02:00
Tommi Reiman
4706c7101c Tune perf doc 2017-11-01 18:57:09 +02:00
Tommi Reiman
67a40d9194
Merge pull request #42 from metosin/module-split-doc-update
Promote separate bundles
2017-11-01 18:56:37 +02:00
Tommi Reiman
2d7ba58424 add link to perf 2017-11-01 10:17:57 +02:00
Tommi Reiman
812ecbb993 fix typo in doc 2017-11-01 09:36:06 +02:00
Tommi Reiman
eb1ac12107 Promote separate bundles 2017-11-01 09:29:16 +02:00
Tommi Reiman
1ccd93101c Perf page 2017-11-01 09:28:28 +02:00
Tommi Reiman
48305a8c40 Update also markdown docs with latest version 2017-11-01 09:24:11 +02:00
Tommi Reiman
5ad8f646b2
Update README.md 2017-10-31 10:28:48 +02:00
Tommi Reiman
9aefe5dea6
Update README.md
sample fits into mobile screen
2017-10-31 10:27:51 +02:00
Tommi Reiman
095dfb6724
Merge pull request #40 from metosin/modules
module split + better docs
2017-10-31 10:25:53 +02:00
Tommi Reiman
2ae8fd27a8 Replace the version in place 2017-10-30 21:39:35 +02:00
Tommi Reiman
c3820239c5 Walk the docs, fix links, maybe better texts 2017-10-30 08:46:20 +02:00
Tommi Reiman
d44b18ad66 Build instructions 2017-10-29 09:31:28 +02:00
Tommi Reiman
9a7eaaa912 Oh, we have circeci too 2017-10-29 09:31:28 +02:00
Tommi Reiman
60e0ee4872 Welcome reitit-parent 2017-10-29 09:31:28 +02:00
Tommi Reiman
51a5ee267b Try to fix .travis conf 2017-10-29 09:31:28 +02:00
Tommi Reiman
7a730a1b7e Script to setup versin
* original: https://github.com/juxt/yada/blob/master/set-version
2017-10-29 09:31:28 +02:00
Tommi Reiman
a3ebb04038 Manage dependencies via lein-parent 2017-10-29 09:31:28 +02:00
Tommi Reiman
f93a452209 Re-package & re-module 2017-10-29 09:31:28 +02:00
Tommi Reiman
7aa36fc18b Fix script based on Miikka's comments 2017-10-29 09:31:28 +02:00
Tommi Reiman
460ba5ecc0 Fix based on Miikka's comments 2017-10-29 09:31:28 +02:00
Tommi Reiman
4805555417 Initial module split
* metosin/reitit (all)
* metosin/reitit-core (just the router)
* metosin/reitit-ring (the ring stuff)
2017-10-29 09:31:28 +02:00
Tommi Reiman
15bfb7b475
Merge pull request #41 from metosin/UpdateDocs
Update docs
2017-10-29 09:29:39 +02:00
Tommi Reiman
dfc3455f16 Update docs 2017-10-29 09:29:06 +02:00
Juho Teperi
8a411b13de Fix gitbook-cli install 2017-10-25 18:00:09 +03:00