r70777 - in /trunk/libcss-packer-perl: Changes Makefile.PL debian/changelog lib/CSS/Packer.pm t/01-io.t
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Mon Mar 7 03:56:34 UTC 2011
Author: jawnsy-guest
Date: Mon Mar 7 03:56:17 2011
New Revision: 70777
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70777
Log:
New upstream release
Modified:
trunk/libcss-packer-perl/Changes
trunk/libcss-packer-perl/Makefile.PL
trunk/libcss-packer-perl/debian/changelog
trunk/libcss-packer-perl/lib/CSS/Packer.pm
trunk/libcss-packer-perl/t/01-io.t
Modified: trunk/libcss-packer-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-packer-perl/Changes?rev=70777&op=diff
==============================================================================
--- trunk/libcss-packer-perl/Changes (original)
+++ trunk/libcss-packer-perl/Changes Mon Mar 7 03:56:17 2011
@@ -1,4 +1,9 @@
Revision history for CSS-Packer
+
+1.000001 2011-02-27
+ - Changed requirements to Regexp::RegGrp 1.000001 due to "undefined submatches bug" in Regexp::RegGrp.
+ - Small change in declaration replacement sub.
+ - Added test.
1.000 2011-01-17
- Changed versioning.
Modified: trunk/libcss-packer-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-packer-perl/Makefile.PL?rev=70777&op=diff
==============================================================================
--- trunk/libcss-packer-perl/Makefile.PL (original)
+++ trunk/libcss-packer-perl/Makefile.PL Mon Mar 7 03:56:17 2011
@@ -5,7 +5,7 @@
all_from 'lib/CSS/Packer.pm';
test_requires 'Test::More' => 0;
-requires 'Regexp::RegGrp' => "1.000";
+requires 'Regexp::RegGrp' => "1.000001";
repository 'http://github.com/nevesenin/css-packer-perl';
Modified: trunk/libcss-packer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-packer-perl/debian/changelog?rev=70777&op=diff
==============================================================================
--- trunk/libcss-packer-perl/debian/changelog (original)
+++ trunk/libcss-packer-perl/debian/changelog Mon Mar 7 03:56:17 2011
@@ -1,4 +1,4 @@
-libcss-packer-perl (1.000-1) UNRELEASED; urgency=low
+libcss-packer-perl (1.000001-1) UNRELEASED; urgency=low
WAITS-FOR: libregexp-reggrp-perl
@@ -13,7 +13,10 @@
* debian/control: add new dependency on libregexp-reggrp-perl; updated
Standards-Version.
- -- Ernesto Hernández-Novich (USB) <emhn at usb.ve> Mon, 21 Feb 2011 16:29:42 -0430
+ [ Jonathan Yu ]
+ * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org> Sun, 06 Mar 2011 23:19:46 -0500
libcss-packer-perl (0.2-1) unstable; urgency=low
Modified: trunk/libcss-packer-perl/lib/CSS/Packer.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-packer-perl/lib/CSS/Packer.pm?rev=70777&op=diff
==============================================================================
--- trunk/libcss-packer-perl/lib/CSS/Packer.pm (original)
+++ trunk/libcss-packer-perl/lib/CSS/Packer.pm Mon Mar 7 03:56:17 2011
@@ -6,7 +6,7 @@
use Carp;
use Regexp::RegGrp;
-our $VERSION = '1.000';
+our $VERSION = '1.000001';
our $DICTIONARY = {
'STRING1' => qr~"(?>(?:(?>[^"\\]+)|\\.|\\"|\\\s)*)"~,
@@ -125,7 +125,7 @@
$value =~ s/\s+/ /gsm;
}
- return '' if ( not $key or ( not $value and $value ne '0' ) );
+ return '' if ( not $key or $value eq '' );
return $key . ':' . $value . ';' . ( $compress eq 'pretty' ? "\n" : '' );
}
@@ -316,7 +316,7 @@
=head1 VERSION
-Version 1.000
+Version 1.000001
=head1 DESCRIPTION
Modified: trunk/libcss-packer-perl/t/01-io.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-packer-perl/t/01-io.t?rev=70777&op=diff
==============================================================================
--- trunk/libcss-packer-perl/t/01-io.t (original)
+++ trunk/libcss-packer-perl/t/01-io.t Mon Mar 7 03:56:17 2011
@@ -8,7 +8,7 @@
use Test::More;
-my $not = 9;
+my $not = 10;
SKIP: {
eval( 'use CSS::Packer' );
@@ -33,6 +33,9 @@
$var = "foo {\na : b;\n}";
$packer->minify( \$var, { 'compress' => 'pretty' } );
is( $var, "foo{\na:b;\n}\n", 'string literal input and ouput (pretty)' );
+ $var = "foo {\nborder:0;\nmargin:1;\npadding:0\n}";
+ $packer->minify( \$var, { 'compress' => 'minify' } );
+ is( $var, "foo{border:0;margin:1;padding:0;}", 'string literal input and ouput (minify)' );
}
sub filesMatch {
More information about the Pkg-perl-cvs-commits
mailing list