egregious 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
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
 
@@ -1,3 +1,3 @@
1
1
  module Egregious
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
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-13 00:00:00 -04:00
18
+ date: 2011-10-14 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency