Simple update to sanitize, necessary before the update to nokogiri
1.6.3.1.

Tested on i386, will be committing before the nokogiri update.

Thanks,
Jeremy

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/ruby-sanitize/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile    26 Oct 2013 23:55:38 -0000      1.6
+++ Makefile    24 Sep 2014 19:19:54 -0000
@@ -2,8 +2,7 @@
 
 COMMENT=               whitelist-based HTML sanitizer
 
-DISTNAME=              sanitize-2.0.3
-REVISION=      2
+DISTNAME=              sanitize-2.0.6
 CATEGORIES=            www textproc
 
 HOMEPAGE=              https://github.com/rgrove/sanitize/
@@ -12,9 +11,12 @@ HOMEPAGE=            https://github.com/rgrove/san
 PERMIT_PACKAGE_CDROM=  Yes
 
 BUILD_DEPENDS=         ${RUN_DEPENDS}
-RUN_DEPENDS=            textproc/ruby-nokogiri,${MODRUBY_FLAVOR}>=1.4.4,<1.6
+RUN_DEPENDS=            textproc/ruby-nokogiri,${MODRUBY_FLAVOR}>=1.4.4
 
 MODULES=               lang/ruby
 CONFIGURE_STYLE=       ruby gem
+
+MODRUBY_TEST=          ruby
+MODRUBY_TEST_TARGET=   -I lib test/test_sanitize.rb
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/ruby-sanitize/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    27 Jul 2011 18:21:54 -0000      1.2
+++ distinfo    24 Sep 2014 19:18:26 -0000
@@ -1,5 +1,2 @@
-MD5 (sanitize-2.0.3.gem) = YyThBs+nsfqp0Q1a1vRb5g==
-RMD160 (sanitize-2.0.3.gem) = IwkT6sY90UUNBlH2sGFEjLe/KsM=
-SHA1 (sanitize-2.0.3.gem) = bzmCWF2VmpmqNAJBXUIt6rBFzTQ=
-SHA256 (sanitize-2.0.3.gem) = vj3EOkKwBX3CrZRcLn5CBfM6JAMIkbjdfZQ/yCnNsJg=
-SIZE (sanitize-2.0.3.gem) = 14336
+SHA256 (sanitize-2.0.6.gem) = IEza9vfbEuINolSXqXTK56iRz7evs3ZpoNMQBzAABKk=
+SIZE (sanitize-2.0.6.gem) = 19968
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/ruby-sanitize/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   27 Jun 2011 06:45:04 -0000      1.1.1.1
+++ pkg/PLIST   24 Sep 2014 19:18:36 -0000
@@ -17,4 +17,6 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/sanitize
 ${GEM_LIB}/gems/${DISTNAME}/lib/sanitize/transformers/clean_comment.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/sanitize/transformers/clean_element.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/sanitize/version.rb
+${GEM_LIB}/gems/${DISTNAME}/test/
+${GEM_LIB}/gems/${DISTNAME}/test/test_sanitize.rb
 ${GEM_LIB}/specifications/${DISTNAME}.gemspec

Reply via email to