svn commit: r511590 - in head/devel/rubygem-grape_logging: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Sep 8 19:31:58 UTC 2019
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
More information about the svn-ports-head
mailing list