egregious 0.1.4 → 0.1.5
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/lib/egregious.rb +2 -1
- data/lib/egregious/version.rb +1 -1
- metadata +4 -4
data/lib/egregious.rb
CHANGED
|
@@ -167,7 +167,8 @@ module Egregious
|
|
|
167
167
|
format.json { render :json=> exception.to_json, :status => status }
|
|
168
168
|
# render the html page for the status we are returning it exists...if not then render the 500.html page.
|
|
169
169
|
format.html { render :file => File.exists?(build_html_file_path(status)) ?
|
|
170
|
-
build_html_file_path(status) : build_html_file_path('500')
|
|
170
|
+
build_html_file_path(status) : build_html_file_path('500'),
|
|
171
|
+
:status => status }
|
|
171
172
|
end
|
|
172
173
|
end
|
|
173
174
|
|
data/lib/egregious/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: egregious
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.1.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Russell Edens
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-10-
|
|
18
|
+
date: 2011-10-14 00:00:00 -04:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|