[DRE-commits] r4397 - in trunk/libprawn-ruby/debian: . patches

Gunnar Wolf gwolf at alioth.debian.org
Fri Nov 27 19:39:31 UTC 2009


Author: gwolf
Date: 2009-11-27 19:39:31 +0000 (Fri, 27 Nov 2009)
New Revision: 4397

Added:
   trunk/libprawn-ruby/debian/patches/keep_base_api_name
Modified:
   trunk/libprawn-ruby/debian/changelog
   trunk/libprawn-ruby/debian/patches/series
Log:
Added lib/prawn.rb to require prawn/core

Modified: trunk/libprawn-ruby/debian/changelog
===================================================================
--- trunk/libprawn-ruby/debian/changelog	2009-11-25 10:30:53 UTC (rev 4396)
+++ trunk/libprawn-ruby/debian/changelog	2009-11-27 19:39:31 UTC (rev 4397)
@@ -1,3 +1,10 @@
+libprawn-ruby (0.6.3+dfsg-2) unstable; urgency=low
+
+  * Added a (very!) simple redirection allowing for API stability,
+    requiring "prawn/core" when only "prawn" is requested
+
+ -- Gunnar Wolf <gwolf at debian.org>  Fri, 27 Nov 2009 13:28:26 -0600
+
 libprawn-ruby (0.6.3+dfsg-1) unstable; urgency=low
 
   [ Ryan Niebur ]

Added: trunk/libprawn-ruby/debian/patches/keep_base_api_name
===================================================================
--- trunk/libprawn-ruby/debian/patches/keep_base_api_name	                        (rev 0)
+++ trunk/libprawn-ruby/debian/patches/keep_base_api_name	2009-11-27 19:39:31 UTC (rev 4397)
@@ -0,0 +1,17 @@
+Origin: vendor
+Forwarded: not-needed
+From: Gunnar Wolf <gwolf at debian.org>
+Last-Update: 2009-11-27
+Subject: Allow users to continue using "require 'prawn'" as before 0.6
+ Upstream reorganized its code and moved the core Prawn functionality
+ to prawn/core - When users request the 'prawn' gem, it now contains
+ exactly one file, which requires the 'prawn/core' gem. 
+ .
+ This implements basically the same as that minimal gem: To allow API
+ stability while allowing for upstream to reorganize the code.
+Index: libprawn-ruby-0.6.3+dfsg/lib/prawn.rb
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ libprawn-ruby-0.6.3+dfsg/lib/prawn.rb	2009-11-27 13:23:48.000000000 -0600
+@@ -0,0 +1 @@
++require 'prawn/core'

Modified: trunk/libprawn-ruby/debian/patches/series
===================================================================
--- trunk/libprawn-ruby/debian/patches/series	2009-11-25 10:30:53 UTC (rev 4396)
+++ trunk/libprawn-ruby/debian/patches/series	2009-11-27 19:39:31 UTC (rev 4397)
@@ -1 +1,2 @@
 fix_paths
+keep_base_api_name




More information about the Pkg-ruby-extras-commits mailing list