Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
== 0.0.1 | |||
|
|||
Initial release as gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,24 @@ | |||
lib | |||
lib/compat.rb | |||
lib/usher | |||
lib/usher/grapher.rb | |||
lib/usher/interface | |||
lib/usher/interface/rails2 | |||
lib/usher/interface/rails2/mapper.rb | |||
lib/usher/interface/rails2.rb | |||
lib/usher/interface.rb | |||
lib/usher/node.rb | |||
lib/usher/route.rb | |||
lib/usher.rb | |||
Manifest.txt | |||
rails | |||
rails/init.rb | |||
Rakefile | |||
README.rdoc | |||
README.txt | |||
spec | |||
spec/rails | |||
spec/rails/generate_spec.rb | |||
spec/rails/path_spec.rb | |||
spec/rails/recognize_spec.rb | |||
spec/spec.opts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,18 @@ | |||
= Usher | |||
|
|||
Tree-based router for Ruby on Rails. | |||
|
|||
This is a tree-based router (based on Ilya Grigorik suggestion). Turns out looking up in a hash and following a tree is faster than Krauter's massive regex approach, so why not? I said, Heck Yes, and here we are. | |||
|
|||
== Installation | |||
|
|||
script/plugin install git://github.com/joshbuddy/usher.git | |||
|
|||
== TODO | |||
|
|||
* Make it integrate with merb | |||
* Make it integrate with rails3 | |||
|
|||
Looks about 20-50% faster than the router Rails ships with for non-trivial cases. | |||
|
|||
(Let me show you to your request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters