Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2012 18:01:29 GMT
From:      Bryan Drewery <bryan@shatow.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/167269: New port: devel/rubygem-backports backports ruby 1.9 api changes to 1.8
Message-ID:  <201204241801.q3OI1TDK005789@red.freebsd.org>
Resent-Message-ID: <201204241810.q3OIA9RV014518@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167269
>Category:       misc
>Synopsis:       New port: devel/rubygem-backports backports ruby 1.9 api changes to 1.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 24 18:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bryan Drewery
>Release:        
>Organization:
>Environment:
>Description:
This adds the backports rubygem, which brings Ruby1.9 api changes into Ruby1.8, to help write more portable ruby scripts for 1.9 and have them still work with 1.8.

The goal of backports is to make it easier to write ruby code that runs across different versions of Ruby.

shar file attached.

LICENSE: MIT
WWW: https://github.com/marcandre/backports

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	rubygem-backports
#	rubygem-backports/Makefile
#	rubygem-backports/distinfo
#	rubygem-backports/pkg-descr
#
echo c - rubygem-backports
mkdir -p rubygem-backports > /dev/null 2>&1
echo x - rubygem-backports/Makefile
sed 's/^X//' >rubygem-backports/Makefile << '86fa819e3862bc7324f8ce54efbe0a9e'
X# Ports collection makefile for:	rubygem-backports
X# Date created:				24 April 2012
X# Whom:					Bryan Drewery <bryan@shatow.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	backports
XPORTVERSION=	2.5.1
XCATEGORIES=	devel rubygems
XMASTER_SITES=	RG
X
XMAINTAINER=	bryan@shatow.net
XCOMMENT=	Ruby 1.9 backports for 1.8
X
XLICENSE=	MIT
X
XUSE_RUBY=		yes
XUSE_RUBYGEMS=		yes
XRUBYGEM_AUTOPLIST=	yes
X
X.include <bsd.port.mk>
86fa819e3862bc7324f8ce54efbe0a9e
echo x - rubygem-backports/distinfo
sed 's/^X//' >rubygem-backports/distinfo << 'cb3004b829e951d4ffebc3931f193a74'
XSHA256 (rubygem/backports-2.5.1.gem) = 6121d3ae1bcffc426db7264bda9ca721270850c125761170ec0764a50eca64db
XSIZE (rubygem/backports-2.5.1.gem) = 56320
cb3004b829e951d4ffebc3931f193a74
echo x - rubygem-backports/pkg-descr
sed 's/^X//' >rubygem-backports/pkg-descr << '9b22f41a6f0c5b6bf9bf7d69545b562d'
XBackports some of the Ruby 1.9 API changes into Ruby 1.8,
Xwhich allows for better compatibility between the two versions.
X
XThe goal of backports is to make it easier to write ruby code
Xthat runs across different versions of Ruby.
X
XWWW: https://github.com/marcandre/backports
9b22f41a6f0c5b6bf9bf7d69545b562d
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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