From 359555b21a25408ce4d851b2e9d264400262888a Mon Sep 17 00:00:00 2001 From: swills Date: Sat, 13 Jul 2013 06:59:58 +0000 Subject: - Update to 3.1.3 PR: ports/180105 Approved by: maintainer timeout (voldern@hoeggen.net, >2 weeks) --- devel/rubygem-ruby_parser/Makefile | 2 +- devel/rubygem-ruby_parser/distinfo | 4 ++-- devel/rubygem-ruby_parser/files/patch-tmpusage | 31 -------------------------- 3 files changed, 3 insertions(+), 34 deletions(-) delete mode 100644 devel/rubygem-ruby_parser/files/patch-tmpusage (limited to 'devel') diff --git a/devel/rubygem-ruby_parser/Makefile b/devel/rubygem-ruby_parser/Makefile index 33ca2b1bb10b..b949fc1397ff 100644 --- a/devel/rubygem-ruby_parser/Makefile +++ b/devel/rubygem-ruby_parser/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ruby_parser -PORTVERSION= 3.1.1 +PORTVERSION= 3.1.3 CATEGORIES= devel rubygems MASTER_SITES= RG diff --git a/devel/rubygem-ruby_parser/distinfo b/devel/rubygem-ruby_parser/distinfo index da1b193ef41f..0a062f64e150 100644 --- a/devel/rubygem-ruby_parser/distinfo +++ b/devel/rubygem-ruby_parser/distinfo @@ -1,2 +1,2 @@ -SHA256 (rubygem/ruby_parser-3.1.1.gem) = dd036aa67f973404a3264364831119c8a67867676ccabb47ff4356908993ac4a -SIZE (rubygem/ruby_parser-3.1.1.gem) = 141824 +SHA256 (rubygem/ruby_parser-3.1.3.gem) = 602b23bfde88e1cdcef113fd013ebf3735b06454372b3c9b5a5c14a5b161fa34 +SIZE (rubygem/ruby_parser-3.1.3.gem) = 141824 diff --git a/devel/rubygem-ruby_parser/files/patch-tmpusage b/devel/rubygem-ruby_parser/files/patch-tmpusage deleted file mode 100644 index 31b8e64381ef..000000000000 --- a/devel/rubygem-ruby_parser/files/patch-tmpusage +++ /dev/null @@ -1,31 +0,0 @@ ---- lib/gauntlet_rubyparser.rb.orig 2013-02-24 17:26:38.158253105 +0000 -+++ lib/gauntlet_rubyparser.rb 2013-02-24 17:27:26.653251094 +0000 -@@ -35,18 +35,19 @@ - def diff_pp o1, o2 - require 'pp' - -- File.open("/tmp/a.#{$$}", "w") do |f| -- PP.pp o1, f -- end -+ file_a = Tempfile.new('ruby_parser_a') -+ PP.pp o1, file_a -+ file_a.close -+ -+ file_b = Tempfile.new('ruby_parser_b') -+ PP.pp o2, file_b -+ file_b.close - -- File.open("/tmp/b.#{$$}", "w") do |f| -- PP.pp o2, f -- end - -- `diff -u /tmp/a.#{$$} /tmp/b.#{$$}` -+ `diff -u #{file_a.path} #{file_b.path}` - ensure -- File.unlink "/tmp/a.#{$$}" rescue nil -- File.unlink "/tmp/b.#{$$}" rescue nil -+ file_a.unlink -+ file_b.unlink - end - - def broke name, file, msg -- cgit