jeremyevans-exception_notification 1.0.20090728 → 1.0.20100106

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/README CHANGED
@@ -109,4 +109,4 @@ in ExceptionNotifiable for an example of how to go about that.
109
109
 
110
110
 
111
111
  Copyright (c) 2005 Jamis Buck, released under the MIT license
112
- Copyright (c) 2008-2009 Jeremy Evans
112
+ Copyright (c) 2008-2010 Jeremy Evans
@@ -1 +1 @@
1
- <%= @backtrace.join "\n" %>
1
+ <%=raw @backtrace.join "\n" %>
@@ -1,7 +1,7 @@
1
1
  <% max = @request.env.keys.max { |a,b| a.length <=> b.length } -%>
2
2
  <% @request.env.keys.sort.each do |key| -%>
3
- * <%= "%-*s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %>
3
+ * <%=raw "%-*s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %>
4
4
  <% end -%>
5
5
 
6
- * Process: <%= $$ %>
7
- * Server : <%= Socket.gethostname %>
6
+ * Process: <%=raw $$ %>
7
+ * Server : <%=raw Socket.gethostname %>
@@ -3,7 +3,7 @@
3
3
  <% attrs = inspect_model.attributes -%>
4
4
  <% max = attrs.keys.max { |a,b| a.length <=> b.length } -%>
5
5
  <% attrs.keys.sort.each do |attr| -%>
6
- * <%= "%*-s: %s" % [max.length, attr, object_to_yaml(attrs[attr]).gsub(/\n/, "\n ").strip] %>
6
+ * <%=raw("%*-s: %s" % [max.length, attr, object_to_yaml(attrs[attr]).gsub(/\n/, "\n ").strip]) %>
7
7
  <% end -%>
8
8
  <% end -%>
9
9
 
@@ -11,6 +11,6 @@
11
11
  [instance variables]
12
12
  <% inspect_model.instance_variables.sort.each do |variable| -%>
13
13
  <%- next if variable == "@attributes" -%>
14
- * <%= variable %>: <%= inspect_value(inspect_model.instance_variable_get(variable)) %>
14
+ * <%=raw variable %>: <%=raw inspect_value(inspect_model.instance_variable_get(variable)) %>
15
15
  <% end -%>
16
16
  <% end -%>
@@ -1,4 +1,4 @@
1
- * URL : <%= @request.protocol %><%= @host %><%= @request.request_uri %>
2
- * IP address: <%= @request.env["HTTP_X_FORWARDED_FOR"] || @request.env["REMOTE_ADDR"] %>
3
- * Parameters: <%= filter_sensitive_post_data_parameters(@request.parameters).inspect %>
4
- * Rails root: <%= @rails_root %>
1
+ * URL : <%=raw @request.protocol %><%=raw @host %><%=raw @request.request_uri %>
2
+ * IP address: <%=raw @request.env["HTTP_X_FORWARDED_FOR"] || @request.env["REMOTE_ADDR"] %>
3
+ * Parameters: <%=raw filter_sensitive_post_data_parameters(@request.parameters).inspect %>
4
+ * Rails root: <%=raw @rails_root %>
@@ -1 +1 @@
1
- * session: <%= @request.session.inspect %>
1
+ * session: <%=raw @request.session.inspect %>
@@ -1,3 +1,3 @@
1
1
  -------------------------------
2
- <%= title.to_s.humanize %>:
2
+ <%=raw title.to_s.humanize %>:
3
3
  -------------------------------
@@ -1,6 +1,6 @@
1
- A <%= @exception.class %> occurred in <%= @controller.controller_name %>#<%= @controller.action_name %>:
1
+ A <%=raw @exception.class %> occurred in <%=raw @controller.controller_name %>#<%=raw @controller.action_name %>:
2
2
 
3
- <%= @exception.message %>
4
- <%= @backtrace.first %>
3
+ <%=raw @exception.message %>
4
+ <%=raw @backtrace.first %>
5
5
 
6
- <%= @sections.map { |section| render_section(section) }.join %>
6
+ <%=raw @sections.map { |section| render_section(section) }.join %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeremyevans-exception_notification
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.20090728
4
+ version: 1.0.20100106
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rails Core Team
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-28 00:00:00 -07:00
12
+ date: 2010-01-06 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -65,7 +65,7 @@ rubyforge_project:
65
65
  rubygems_version: 1.3.5
66
66
  signing_key:
67
67
  specification_version: 3
68
- summary: Gemified exception_notification rails plugin, compatible with Rails 2.3
68
+ summary: Gemified exception_notification rails plugin, compatible with Rails 2.3.5 with RailsXss
69
69
  test_files:
70
70
  - test/exception_notifier_helper_test.rb
71
71
  - test/test_helper.rb