rack-rescue 0.1.1 → 0.1.2
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.
- data/Gemfile +1 -2
- data/Gemfile.lock +13 -35
- data/README.textile +12 -2
- data/rack-rescue-0.1.1.gem +0 -0
- data/rack-rescue.gemspec +1 -1
- metadata +12 -26
- data/rack-rescue-0.1.0.gem +0 -0
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -3,7 +3,7 @@ dependencies:
|
|
3
3
|
pancake:
|
4
4
|
group:
|
5
5
|
- :default
|
6
|
-
version:
|
6
|
+
version: ~> 0.3
|
7
7
|
rake:
|
8
8
|
group:
|
9
9
|
- :default
|
@@ -20,10 +20,6 @@ dependencies:
|
|
20
20
|
group:
|
21
21
|
- :test
|
22
22
|
version: ">= 0"
|
23
|
-
dirge:
|
24
|
-
group:
|
25
|
-
- :default
|
26
|
-
version: ">= 0"
|
27
23
|
rack:
|
28
24
|
group:
|
29
25
|
- :default
|
@@ -39,55 +35,37 @@ dependencies:
|
|
39
35
|
specs:
|
40
36
|
- rake:
|
41
37
|
version: 0.8.7
|
42
|
-
- builder:
|
43
|
-
version: 2.1.2
|
44
|
-
- i18n:
|
45
|
-
version: 0.3.7
|
46
|
-
- memcache-client:
|
47
|
-
version: 1.8.3
|
48
|
-
- tzinfo:
|
49
|
-
version: 0.3.22
|
50
38
|
- activesupport:
|
51
|
-
version: 3.0.0.
|
52
|
-
- columnize:
|
53
|
-
version: 0.3.1
|
54
|
-
- linecache:
|
55
|
-
version: "0.43"
|
56
|
-
- ruby-debug-base:
|
57
|
-
version: 0.10.3
|
58
|
-
- ruby-debug:
|
59
|
-
version: 0.10.3
|
39
|
+
version: 3.0.0.beta4
|
60
40
|
- tilt:
|
61
|
-
version:
|
41
|
+
version: 1.0.1
|
62
42
|
- any_view:
|
63
|
-
version: 0.2.
|
64
|
-
- dirge:
|
65
|
-
version: 0.0.4
|
43
|
+
version: 0.2.3
|
66
44
|
- extlib:
|
67
45
|
version: 0.9.15
|
68
|
-
- fuzzyhash:
|
69
|
-
version: 0.0.11
|
70
46
|
- hashie:
|
71
47
|
version: 0.2.0
|
48
|
+
- rack:
|
49
|
+
version: 1.2.1
|
50
|
+
- url_mount:
|
51
|
+
version: 0.2.1
|
52
|
+
- http_router:
|
53
|
+
version: 0.2.5
|
72
54
|
- json:
|
73
55
|
version: 1.4.3
|
74
|
-
- rack:
|
75
|
-
version: 1.1.0
|
76
56
|
- rack-accept-media-types:
|
77
57
|
version: "0.9"
|
78
58
|
- rack-test:
|
79
59
|
version: 0.5.4
|
80
60
|
- thor:
|
81
61
|
version: 0.13.6
|
82
|
-
- usher:
|
83
|
-
version: 0.7.1
|
84
62
|
- wrapt:
|
85
|
-
version: 0.1.
|
63
|
+
version: 0.1.7
|
86
64
|
- pancake:
|
87
|
-
version: 0.
|
65
|
+
version: 0.3.0
|
88
66
|
- rspec:
|
89
67
|
version: 1.3.0
|
90
|
-
hash:
|
68
|
+
hash: 43dc4f227cc9d3864f6fd9be9d4e9529711c9685
|
91
69
|
sources:
|
92
70
|
- Rubygems:
|
93
71
|
uri: http://gemcutter.org
|
data/README.textile
CHANGED
@@ -12,12 +12,22 @@ Rather than launch into a long-winded chat about what it can do, I'll suffice wi
|
|
12
12
|
* Per exception templates (with a fallback template)
|
13
13
|
* Content type negotiation (:html, :xml, :js etc)
|
14
14
|
* cascading tempate locations
|
15
|
-
* template naming of the usual
|
15
|
+
* template naming of the usual <name>.<format>.<(erb|haml|other tilt template)>
|
16
16
|
* template naming including the RACK_ENV
|
17
|
-
**
|
17
|
+
** <name>.<RACK_ENV>.<format>.<(tilt template engine ext)>
|
18
18
|
** If the more specific template is not found, it will fall back to just name, format and ext
|
19
19
|
* template inheritance
|
20
20
|
* Arbitrary exception hooks
|
21
|
+
* Integration with "Wrapt layouts":http://github.com/hassox/wrapt
|
22
|
+
|
23
|
+
h2. Basic Usage
|
24
|
+
|
25
|
+
In config.ru
|
26
|
+
|
27
|
+
<pre><code>
|
28
|
+
use Rack::Rescue
|
29
|
+
run MyApp
|
30
|
+
</code></pre>
|
21
31
|
|
22
32
|
h2. Adding Exceptions
|
23
33
|
|
Binary file
|
data/rack-rescue.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-rescue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Daniel Neighman
|
@@ -15,20 +15,20 @@ autorequire: rack/rescue
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-05
|
18
|
+
date: 2010-07-05 00:00:00 +10:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
hash:
|
27
|
+
hash: 13
|
28
28
|
segments:
|
29
29
|
- 0
|
30
|
-
-
|
31
|
-
version: "0.
|
30
|
+
- 3
|
31
|
+
version: "0.3"
|
32
32
|
name: pancake
|
33
33
|
requirement: *id001
|
34
34
|
prerelease: false
|
@@ -86,7 +86,7 @@ dependencies:
|
|
86
86
|
segments:
|
87
87
|
- 0
|
88
88
|
version: "0"
|
89
|
-
name:
|
89
|
+
name: rack
|
90
90
|
requirement: *id005
|
91
91
|
prerelease: false
|
92
92
|
type: :runtime
|
@@ -100,26 +100,12 @@ dependencies:
|
|
100
100
|
segments:
|
101
101
|
- 0
|
102
102
|
version: "0"
|
103
|
-
name:
|
103
|
+
name: extlib
|
104
104
|
requirement: *id006
|
105
105
|
prerelease: false
|
106
106
|
type: :runtime
|
107
107
|
- !ruby/object:Gem::Dependency
|
108
108
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
|
-
requirements:
|
111
|
-
- - ">="
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
hash: 3
|
114
|
-
segments:
|
115
|
-
- 0
|
116
|
-
version: "0"
|
117
|
-
name: extlib
|
118
|
-
requirement: *id007
|
119
|
-
prerelease: false
|
120
|
-
type: :runtime
|
121
|
-
- !ruby/object:Gem::Dependency
|
122
|
-
version_requirements: &id008 !ruby/object:Gem::Requirement
|
123
109
|
none: false
|
124
110
|
requirements:
|
125
111
|
- - ">="
|
@@ -130,7 +116,7 @@ dependencies:
|
|
130
116
|
- 10
|
131
117
|
version: "0.10"
|
132
118
|
name: tilt
|
133
|
-
requirement: *
|
119
|
+
requirement: *id007
|
134
120
|
prerelease: false
|
135
121
|
type: :runtime
|
136
122
|
description: Rescue Handler for Rack
|
@@ -155,7 +141,7 @@ files:
|
|
155
141
|
- lib/rack/rescue.rb
|
156
142
|
- lib/rack-rescue.rb
|
157
143
|
- LICENSE
|
158
|
-
- rack-rescue-0.1.
|
144
|
+
- rack-rescue-0.1.1.gem
|
159
145
|
- rack-rescue.gemspec
|
160
146
|
- Rakefile
|
161
147
|
- README.textile
|
data/rack-rescue-0.1.0.gem
DELETED
Binary file
|