usher 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/History.txt +3 -0
  2. data/Manifest.txt +35 -0
  3. data/README.rdoc +126 -0
  4. data/Rakefile +72 -0
  5. data/VERSION.yml +4 -0
  6. data/lib/usher/exceptions.rb +5 -0
  7. data/lib/usher/generate.rb +131 -0
  8. data/lib/usher/grapher.rb +65 -0
  9. data/lib/usher/interface/email_interface.rb +27 -0
  10. data/lib/usher/interface/merb_interface.rb +61 -0
  11. data/lib/usher/interface/rack_interface/mapper.rb +0 -0
  12. data/lib/usher/interface/rack_interface/route.rb +9 -0
  13. data/lib/usher/interface/rack_interface.rb +37 -0
  14. data/lib/usher/interface/rails2_2_interface/mapper.rb +44 -0
  15. data/lib/usher/interface/rails2_2_interface.rb +135 -0
  16. data/lib/usher/interface/rails2_3_interface.rb +135 -0
  17. data/lib/usher/interface.rb +27 -0
  18. data/lib/usher/node.rb +138 -0
  19. data/lib/usher/route/path.rb +24 -0
  20. data/lib/usher/route/request_method.rb +22 -0
  21. data/lib/usher/route/variable.rb +37 -0
  22. data/lib/usher/route.rb +58 -0
  23. data/lib/usher/splitter.rb +159 -0
  24. data/lib/usher.rb +184 -0
  25. data/rails/init.rb +8 -0
  26. data/spec/private/email/recognize_spec.rb +38 -0
  27. data/spec/private/generate_spec.rb +141 -0
  28. data/spec/private/grapher_spec.rb +41 -0
  29. data/spec/private/path_spec.rb +68 -0
  30. data/spec/private/rack/dispatch_spec.rb +29 -0
  31. data/spec/private/rails2_2/compat.rb +1 -0
  32. data/spec/private/rails2_2/generate_spec.rb +28 -0
  33. data/spec/private/rails2_2/path_spec.rb +16 -0
  34. data/spec/private/rails2_2/recognize_spec.rb +79 -0
  35. data/spec/private/rails2_3/compat.rb +1 -0
  36. data/spec/private/rails2_3/generate_spec.rb +28 -0
  37. data/spec/private/rails2_3/path_spec.rb +16 -0
  38. data/spec/private/rails2_3/recognize_spec.rb +79 -0
  39. data/spec/private/recognize_spec.rb +178 -0
  40. data/spec/private/request_method_spec.rb +15 -0
  41. data/spec/private/split_spec.rb +76 -0
  42. data/spec/spec.opts +7 -0
  43. metadata +120 -0
metadata ADDED
@@ -0,0 +1,120 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: usher
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.8
5
+ platform: ruby
6
+ authors:
7
+ - Joshua Hull
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-06-16 00:00:00 -04:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: fuzzyhash
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.3
24
+ version:
25
+ description: A general purpose routing library
26
+ email: joshbuddy@gmail.com
27
+ executables: []
28
+
29
+ extensions: []
30
+
31
+ extra_rdoc_files:
32
+ - README.rdoc
33
+ files:
34
+ - History.txt
35
+ - Manifest.txt
36
+ - README.rdoc
37
+ - Rakefile
38
+ - VERSION.yml
39
+ - lib/usher.rb
40
+ - lib/usher/exceptions.rb
41
+ - lib/usher/generate.rb
42
+ - lib/usher/grapher.rb
43
+ - lib/usher/interface.rb
44
+ - lib/usher/interface/email_interface.rb
45
+ - lib/usher/interface/merb_interface.rb
46
+ - lib/usher/interface/rack_interface.rb
47
+ - lib/usher/interface/rack_interface/mapper.rb
48
+ - lib/usher/interface/rack_interface/route.rb
49
+ - lib/usher/interface/rails2_2_interface.rb
50
+ - lib/usher/interface/rails2_2_interface/mapper.rb
51
+ - lib/usher/interface/rails2_3_interface.rb
52
+ - lib/usher/node.rb
53
+ - lib/usher/route.rb
54
+ - lib/usher/route/path.rb
55
+ - lib/usher/route/request_method.rb
56
+ - lib/usher/route/variable.rb
57
+ - lib/usher/splitter.rb
58
+ - rails/init.rb
59
+ - spec/private/email/recognize_spec.rb
60
+ - spec/private/generate_spec.rb
61
+ - spec/private/grapher_spec.rb
62
+ - spec/private/path_spec.rb
63
+ - spec/private/rack/dispatch_spec.rb
64
+ - spec/private/rails2_2/compat.rb
65
+ - spec/private/rails2_2/generate_spec.rb
66
+ - spec/private/rails2_2/path_spec.rb
67
+ - spec/private/rails2_2/recognize_spec.rb
68
+ - spec/private/rails2_3/compat.rb
69
+ - spec/private/rails2_3/generate_spec.rb
70
+ - spec/private/rails2_3/path_spec.rb
71
+ - spec/private/rails2_3/recognize_spec.rb
72
+ - spec/private/recognize_spec.rb
73
+ - spec/private/request_method_spec.rb
74
+ - spec/private/split_spec.rb
75
+ - spec/spec.opts
76
+ has_rdoc: true
77
+ homepage: http://github.com/joshbuddy/usher
78
+ licenses: []
79
+
80
+ post_install_message:
81
+ rdoc_options:
82
+ - --charset=UTF-8
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: "0"
90
+ version:
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: "0"
96
+ version:
97
+ requirements: []
98
+
99
+ rubyforge_project: joshbuddy-usher
100
+ rubygems_version: 1.3.4
101
+ signing_key:
102
+ specification_version: 3
103
+ summary: A general purpose routing library
104
+ test_files:
105
+ - spec/private/email/recognize_spec.rb
106
+ - spec/private/generate_spec.rb
107
+ - spec/private/grapher_spec.rb
108
+ - spec/private/path_spec.rb
109
+ - spec/private/rack/dispatch_spec.rb
110
+ - spec/private/rails2_2/compat.rb
111
+ - spec/private/rails2_2/generate_spec.rb
112
+ - spec/private/rails2_2/path_spec.rb
113
+ - spec/private/rails2_2/recognize_spec.rb
114
+ - spec/private/rails2_3/compat.rb
115
+ - spec/private/rails2_3/generate_spec.rb
116
+ - spec/private/rails2_3/path_spec.rb
117
+ - spec/private/rails2_3/recognize_spec.rb
118
+ - spec/private/recognize_spec.rb
119
+ - spec/private/request_method_spec.rb
120
+ - spec/private/split_spec.rb