Hello community,

here is the log from the commit of package rubygem-web-console for 
openSUSE:Factory checked in at 2017-06-08 14:59:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-web-console (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-web-console.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-web-console"

Thu Jun  8 14:59:05 2017 rev:13 rq:497439 version:3.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-web-console/rubygem-web-console.changes  
2017-04-17 10:27:18.581730456 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-web-console.new/rubygem-web-console.changes 
    2017-06-08 14:59:05.832098110 +0200
@@ -1,0 +2,10 @@
+Tue May 23 09:17:57 UTC 2017 - [email protected]
+
+- updated to version 3.5.1
+ see installed CHANGELOG.markdown
+
+  ## 3.5.1
+  
+  * [239](https://github.com/rails/web-console/pull/239) Fix the 
ActionDispatch::DebugExceptions integration ([@gsamokovarov])
+
+-------------------------------------------------------------------

Old:
----
  web-console-3.5.0.gem

New:
----
  web-console-3.5.1.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-web-console.spec ++++++
--- /var/tmp/diff_new_pack.60yWjq/_old  2017-06-08 14:59:06.488005540 +0200
+++ /var/tmp/diff_new_pack.60yWjq/_new  2017-06-08 14:59:06.492004976 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-web-console
-Version:        3.5.0
+Version:        3.5.1
 Release:        0
 %define mod_name web-console
 %define mod_full_name %{mod_name}-%{version}

++++++ web-console-3.5.0.gem -> web-console-3.5.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.markdown new/CHANGELOG.markdown
--- old/CHANGELOG.markdown      2017-03-29 12:01:11.000000000 +0200
+++ new/CHANGELOG.markdown      2017-05-12 12:27:36.000000000 +0200
@@ -2,6 +2,10 @@
 
 ## master (unreleased)
 
+## 3.5.1
+
+* [239](https://github.com/rails/web-console/pull/239) Fix the 
ActionDispatch::DebugExceptions integration ([@gsamokovarov])
+
 ## 3.5.0
 
 * [237](https://github.com/rails/web-console/pull/237) Bindex integration for 
JRuby 9k support ([@gsamokovarov])
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/web_console/extensions.rb 
new/lib/web_console/extensions.rb
--- old/lib/web_console/extensions.rb   2017-03-29 12:01:11.000000000 +0200
+++ new/lib/web_console/extensions.rb   2017-05-12 12:27:36.000000000 +0200
@@ -20,12 +20,12 @@
   end
 end
 
-module WebConsole
-  module DebugExceptionsExt
-    def render_exception(request, exception)
-      super(request, exception).tap do
+module ActionDispatch
+  class DebugExceptions
+    def render_exception_with_web_console(request, exception)
+      render_exception_without_web_console(request, exception).tap do
         backtrace_cleaner = 
request.get_header('action_dispatch.backtrace_cleaner')
-        error = ActionDispatch::ExceptionWrapper.new(backtrace_cleaner, 
exception).exception
+        error = ExceptionWrapper.new(backtrace_cleaner, exception).exception
 
         # Get the original exception if ExceptionWrapper decides to follow it.
         Thread.current[:__web_console_exception] = error
@@ -38,7 +38,8 @@
         end
       end
     end
+
+    alias_method :render_exception_without_web_console, :render_exception
+    alias_method :render_exception, :render_exception_with_web_console
   end
 end
-
-ActionDispatch::DebugExceptions.prepend(WebConsole::DebugExceptionsExt)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/web_console/version.rb 
new/lib/web_console/version.rb
--- old/lib/web_console/version.rb      2017-03-29 12:01:12.000000000 +0200
+++ new/lib/web_console/version.rb      2017-05-12 12:27:37.000000000 +0200
@@ -1,3 +1,3 @@
 module WebConsole
-  VERSION = '3.5.0'
+  VERSION = '3.5.1'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-03-29 12:01:11.000000000 +0200
+++ new/metadata        2017-05-12 12:27:36.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: web-console
 version: !ruby/object:Gem::Version
-  version: 3.5.0
+  version: 3.5.1
 platform: ruby
 authors:
 - Charlie Somerville
@@ -11,7 +11,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-03-29 00:00:00.000000000 Z
+date: 2017-05-12 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: railties


Reply via email to