exception_handling 1.0.0 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89b539c359cfa4f2cc912eb43c189bbd3ced7398
4
- data.tar.gz: 92b3d535adbc32c47c95a8bc43fb5b12ff44c8c7
3
+ metadata.gz: 58017eb4daa6c1823be59aa66e7d023e7243e583
4
+ data.tar.gz: 047a5250e53385f20f77e61a2bb0bb95a5fecc76
5
5
  SHA512:
6
- metadata.gz: 5265b86655170e953d0d10564783aac66c78a9ec85b2cc99fb17f9cfbfa3704445c8222f7c13f2877db67060a398134e2e5da4882e52c84b192f1303a0aed0b0
7
- data.tar.gz: 90a07b46e4dbafd0665d7dc9b071c74a441ad019918b616b0b2f254ac21b657d38603a60682f5e3e7c0028a1c452744f8922924a6a2a3dc87ffcf7019fbe7dcc
6
+ metadata.gz: 06b3ffd5eefbbf0c06152c5ea605cb33c06321a484acb767483187a527a5d76300b1de80a140d56bdefc9f573fb1a663d83763cb90dd1203b021ccce62e0c21b
7
+ data.tar.gz: f1ec51e99cb1b4c0735cb4d9f192828858000e4b82234cf7a39c9604dd8ad3cfeadf2601c6c30a2cef50fee07f55f65fd1f8402cd4caa9875cffcba8e30263a2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exception_handling (1.0.0)
4
+ exception_handling (1.0.1)
5
5
  actionmailer (~> 3.2)
6
6
  actionpack (~> 3.2)
7
7
  activesupport (~> 3.2)
@@ -1,3 +1,3 @@
1
1
  module ExceptionHandling
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -10,5 +10,8 @@
10
10
  <b>Error #:</b> <%= h(@cleaned_data[:timestamp]).presence || '<i>no error #</i>'.html_safe -%><br />
11
11
  <b>Exception:</b> <%= h(@cleaned_data[:error_string]).gsub("\n","<br/>\n").gsub(/ {2,}/) { |spaces| '&nbsp;'*spaces.size }.html_safe %><br />
12
12
  <b>Server:</b> <%= h(@server).presence || '<i>hostname not set</i>'.html_safe -%><br />
13
+ <% if @cleaned_data[:scm_revision] %>
14
+ <b>Revision:</b> <%= @cleaned_data[:scm_revision] %><br />
15
+ <% end %>
13
16
  </body>
14
17
  </html>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_handling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Kelley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-04 00:00:00.000000000 Z
11
+ date: 2014-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine