Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2019 19:31:57 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511590 - in head/devel/rubygem-grape_logging: . files
Message-ID:  <201909081931.x88JVvGU095839@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Sep  8 19:31:57 2019
New Revision: 511590
URL: https://svnweb.freebsd.org/changeset/ports/511590

Log:
  Fix runtime error
  
  - Bump PORTREVISION for package change
  
  ActiveSupport::ParameterFilter change in [1] is only compatible with Rails 6.0+.
  
  Reference:	https://github.com/aserafin/grape_logging/commit/f89177ff532902ab724cbf8bc6867ad3a1f321f1 [1]

Added:
  head/devel/rubygem-grape_logging/files/
  head/devel/rubygem-grape_logging/files/patch-lib-grape_logging-util-parameter_filter.rb   (contents, props changed)
Modified:
  head/devel/rubygem-grape_logging/Makefile

Modified: head/devel/rubygem-grape_logging/Makefile
==============================================================================
--- head/devel/rubygem-grape_logging/Makefile	Sun Sep  8 19:31:51 2019	(r511589)
+++ head/devel/rubygem-grape_logging/Makefile	Sun Sep  8 19:31:57 2019	(r511590)
@@ -3,6 +3,7 @@
 
 PORTNAME=	grape_logging
 PORTVERSION=	1.8.2
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 

Added: head/devel/rubygem-grape_logging/files/patch-lib-grape_logging-util-parameter_filter.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-grape_logging/files/patch-lib-grape_logging-util-parameter_filter.rb	Sun Sep  8 19:31:57 2019	(r511590)
@@ -0,0 +1,9 @@
+--- lib/grape_logging/util/parameter_filter.rb.orig	2019-09-07 15:56:34 UTC
++++ lib/grape_logging/util/parameter_filter.rb
+@@ -1,5 +1,5 @@
+ if defined?(::Rails.application)
+-  class ParameterFilter < ActiveSupport::ParameterFilter
++  class ParameterFilter < ActionDispatch::Http::ParameterFilter
+     def initialize(_replacement, filter_parameters)
+       super(filter_parameters)
+     end



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909081931.x88JVvGU095839>