Bug 179251 - [NEW PORT] devel/rubygem-structured_warnings (required for rubygem-rubytree update)
Summary: [NEW PORT] devel/rubygem-structured_warnings (required for rubygem-rubytree u...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-03 10:00 UTC by m.tsatsenko
Modified: 2013-06-27 08:00 UTC (History)
0 users

See Also:


Attachments
file.shar (1.83 KB, text/plain)
2013-06-03 10:00 UTC, m.tsatsenko
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.tsatsenko 2013-06-03 10:00:00 UTC
Structured Warnings is an implementation of Daniel Bergers proposal of structured warnings for Ruby. They provide dynamic suppression and activation, as well as, an inheritance hierarchy to model their relations. This library preserves the old warn signature, but additionally allows a raise-like use.

For more information on the usage and benefits of this library have a look at the inspiring article at OReilly.

www.oreillynet.com/ruby/blog/2008/02/structured_warnings_now.html

Fix: Patch attached with submission follows:
Comment 1 m.tsatsenko 2013-06-03 10:04:55 UTC
Wrong PR category, it should be ports not misc.

--
Mikhail
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2013-06-03 12:22:34 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2013-06-09 12:30:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2013-06-27 07:59:11 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-06-27 07:59:40 UTC
Author: miwi
Date: Thu Jun 27 06:59:30 2013
New Revision: 321856
URL: http://svnweb.freebsd.org/changeset/ports/321856

Log:
  This is an implementation of Daniel Berger's proposal of structured warnings
  for Ruby.  They provide dynamic suppression and activation, as well as,
  an inheritance hierarchy to model their relations. This library preserves
  the old warn signature, but additionally allows a raise-like use.
  
  WWW: https://github.com/schmidt/structured_warnings
  
  PR:		ports/179251
  Submitted by:	Mikhail T. <m.tsatsenko@gmail.com>

Added:
  head/devel/rubygem-structured_warnings/
  head/devel/rubygem-structured_warnings/Makefile   (contents, props changed)
  head/devel/rubygem-structured_warnings/distinfo   (contents, props changed)
  head/devel/rubygem-structured_warnings/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Jun 27 06:58:33 2013	(r321855)
+++ head/devel/Makefile	Thu Jun 27 06:59:30 2013	(r321856)
@@ -4210,6 +4210,7 @@
     SUBDIR += rubygem-stream
     SUBDIR += rubygem-streetaddress
     SUBDIR += rubygem-stringex
+    SUBDIR += rubygem-structured_warnings
     SUBDIR += rubygem-subexec
     SUBDIR += rubygem-sugar-high
     SUBDIR += rubygem-sumbur

Added: head/devel/rubygem-structured_warnings/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-structured_warnings/Makefile	Thu Jun 27 06:59:30 2013	(r321856)
@@ -0,0 +1,16 @@
+# Created by: Mikhail T. <m.tsatsenko@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	structured_warnings
+PORTVERSION=	0.1.4
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Implementation of structured warnings for Ruby
+
+USE_RUBY=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-structured_warnings/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-structured_warnings/distinfo	Thu Jun 27 06:59:30 2013	(r321856)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/structured_warnings-0.1.4.gem) = c12949d8b384aea2e88f572a7dce88fcab215c9810db40a2a04326aaddf6376d
+SIZE (rubygem/structured_warnings-0.1.4.gem) = 67072

Added: head/devel/rubygem-structured_warnings/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-structured_warnings/pkg-descr	Thu Jun 27 06:59:30 2013	(r321856)
@@ -0,0 +1,6 @@
+This is an implementation of Daniel Berger's proposal of structured warnings 
+for Ruby.  They provide dynamic suppression and activation, as well as, 
+an inheritance hierarchy to model their relations. This library preserves 
+the old warn signature, but additionally allows a raise-like use.
+
+WWW: https://github.com/schmidt/structured_warnings
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"