r50993 - in /trunk/libcss-squish-perl: META.yml debian/changelog debian/control debian/copyright debian/rules lib/CSS/Squish.pm t/02-edge-cases.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Fri Jan 15 03:41:00 UTC 2010


Author: jawnsy-guest
Date: Fri Jan 15 03:40:48 2010
New Revision: 50993

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=50993
Log:
* New upstream release
  + Fixes bug: "Modification of read-only value attempted
    at lib/CSS/Squish.pm line 220"
* Standards-Version 3.8.3 (drop perl version dep)
* Added myself to Uploaders and Copyright
* Use short debhelper 7 rules format
* Update to DEP5 copyright format
* Rewrite control description

Modified:
    trunk/libcss-squish-perl/META.yml
    trunk/libcss-squish-perl/debian/changelog
    trunk/libcss-squish-perl/debian/control
    trunk/libcss-squish-perl/debian/copyright
    trunk/libcss-squish-perl/debian/rules
    trunk/libcss-squish-perl/lib/CSS/Squish.pm
    trunk/libcss-squish-perl/t/02-edge-cases.t

Modified: trunk/libcss-squish-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-squish-perl/META.yml?rev=50993&op=diff
==============================================================================
--- trunk/libcss-squish-perl/META.yml (original)
+++ trunk/libcss-squish-perl/META.yml Fri Jan 15 03:40:48 2010
@@ -1,12 +1,14 @@
 --- #YAML:1.0
 name:               CSS-Squish
-version:            0.08
+version:            0.09
 abstract:           Compact many CSS files into one big file
 author:
     - Thomas Sibley <trs at bestpractical.com>
 license:            unknown
 distribution_type:  module
 configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
     ExtUtils::MakeMaker:  0
 requires:
     File::Spec:        0
@@ -19,7 +21,7 @@
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.48
+generated_by:       ExtUtils::MakeMaker version 6.54
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: trunk/libcss-squish-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-squish-perl/debian/changelog?rev=50993&op=diff
==============================================================================
--- trunk/libcss-squish-perl/debian/changelog (original)
+++ trunk/libcss-squish-perl/debian/changelog Fri Jan 15 03:40:48 2010
@@ -1,4 +1,14 @@
-libcss-squish-perl (0.08-2) UNRELEASED; urgency=low
+libcss-squish-perl (0.09-1) UNRELEASED; urgency=low
+
+  [ Jonathan Yu ]
+  * New upstream release
+    + Fixes bug: "Modification of read-only value attempted
+      at lib/CSS/Squish.pm line 220"
+  * Standards-Version 3.8.3 (drop perl version dep)
+  * Added myself to Uploaders and Copyright
+  * Use short debhelper 7 rules format
+  * Update to DEP5 copyright format
+  * Rewrite control description
 
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
@@ -6,7 +16,7 @@
   [ Ryan Niebur ]
   * Update ryan52's email address
 
- -- Ryan Niebur <ryan at debian.org>  Fri, 25 Sep 2009 00:24:20 -0700
+ -- Jonathan Yu <jawnsy at cpan.org>  Thu, 14 Jan 2010 22:47:14 -0500
 
 libcss-squish-perl (0.08-1) unstable; urgency=low
 

Modified: trunk/libcss-squish-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-squish-perl/debian/control?rev=50993&op=diff
==============================================================================
--- trunk/libcss-squish-perl/debian/control (original)
+++ trunk/libcss-squish-perl/debian/control Fri Jan 15 03:40:48 2010
@@ -2,28 +2,25 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl (>= 5.8.8-12), libtest-pod-coverage-perl, libtest-pod-perl,
+Build-Depends-Indep: perl, libtest-pod-coverage-perl, libtest-pod-perl,
  libtest-longstring-perl, liburi-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Niko Tyni <ntyni at debian.org>, Ryan Niebur <ryan at debian.org>
-Standards-Version: 3.8.1
+Uploaders: Niko Tyni <ntyni at debian.org>, Ryan Niebur <ryan at debian.org>,
+ Jonathan Yu <jawnsy at cpan.org>
+Standards-Version: 3.8.3
 Homepage: http://search.cpan.org/dist/CSS-Squish/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcss-squish-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libcss-squish-perl/
 
 Package: libcss-squish-perl
 Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, liburi-perl, perl (>= 5.8)
-Description: Perl module to compact many CSS files into one big file
- CSS::Squish takes a list of CSS files and concatenates them, making sure to
- honor any valid @import statements included in the files.
+Depends: ${perl:Depends}, ${misc:Depends}, liburi-perl
+Description: module to compact many CSS files into one big file
+ CSS::Squish is a Perl module that takes a list of CSS files and concatenates
+ them, honouring any valid @import statements included in the files, following
+ the CSS 2.1 specification. Media-specific @import statements will be honoured
+ by enclosing the included file in a @media rule.
  .
- Following the CSS 2.1 spec, @import statements must be the first rules in a
- CSS file. Media-specific @import statements will be honored by enclosing the
- included file in an @media rule. This has the side effect of actually
- *improving* compatibility in Internet Explorer, which ignores media-specific
- @import rules but understands @media rules.
- .
- It is possible that feature versions will include methods to compact
- whitespace and other parts of the CSS itself, but this functionality is not
- supported at the current time.
+ Future versions may include methods to compact whitespace and other parts of
+ the CSS itself, but this functionality is not yet supported.
+	

Modified: trunk/libcss-squish-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-squish-perl/debian/copyright?rev=50993&op=diff
==============================================================================
--- trunk/libcss-squish-perl/debian/copyright (original)
+++ trunk/libcss-squish-perl/debian/copyright Fri Jan 15 03:40:48 2010
@@ -1,33 +1,35 @@
-Format-Specification:
-    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Thomas Sibley <trs at bestpractical.com> and Ruslan Zakirov <ruz at bestpractical.com>
-Upstream-Source: http://search.cpan.org/dist/CSS-Squish/
-Upstream-Name: CSS-Squish
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59
+Maintainer: Thomas Sibley <trs at bestpractical.com>
+Source: http://search.cpan.org/dist/CSS-Squish/
+Name: CSS-Squish
 
 Files: *
-Copyright: Copyright (c) 2006.
- [The copyright statements in README and lib/CSS/Squish.pm do not include the
-  name of the copyright holders. These are assumed to be the upstream authors:
-  Thomas Sibley <trs at bestpractical.com> and
-  Ruslan Zakirov <ruz at bestpractical.com> .]
-License: GPL-1+|Artistic
+Copyright: 2006, Thomas Sibley <trs at bestpractical.com>
+ 2006, Ruslan Zakirov <ruz at bestpractical.com>
+License: Artistic or GPL-1+
+X-Comment: the copyright statements only indicate years of copyright. Per
+ the Berne Convention, these are assumed to be the upstream authors.
 
 Files: debian/*
-Copyright: 2008, Niko Tyni <ntyni at debian.org>
+Copyright: 2010, Jonathan Yu <jawnsy at cpan.org>
  2009, Ryan Niebur <ryan at debian.org>
  2009, gregor herrmann <gregoa at debian.org>
-License: GPL-1+|Artistic
+ 2008, Niko Tyni <ntyni at debian.org>
+License: Artistic or GPL-1+
 
 License: Artistic
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the Artistic License, which comes with Perl.
-    On Debian GNU/Linux systems, the complete text of the Artistic License
-    can be found in `/usr/share/common-licenses/Artistic'
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian GNU/Linux systems, the complete text of the Artistic License
+ can be found in `/usr/share/common-licenses/Artistic'
 
 License: GPL-1+
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 1, or (at your option)
-    any later version.
-    On Debian GNU/Linux systems, the complete text of the GNU General
-    Public License can be found in `/usr/share/common-licenses/GPL'
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL'
+

Modified: trunk/libcss-squish-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-squish-perl/debian/rules?rev=50993&op=diff
==============================================================================
--- trunk/libcss-squish-perl/debian/rules (original)
+++ trunk/libcss-squish-perl/debian/rules Fri Jan 15 03:40:48 2010
@@ -1,23 +1,4 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
+%:
 	dh $@
-
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	touch $@
-
-binary-arch:
-
-binary-indep: install
-	dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libcss-squish-perl/lib/CSS/Squish.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-squish-perl/lib/CSS/Squish.pm?rev=50993&op=diff
==============================================================================
--- trunk/libcss-squish-perl/lib/CSS/Squish.pm (original)
+++ trunk/libcss-squish-perl/lib/CSS/Squish.pm Fri Jan 15 03:40:48 2010
@@ -4,7 +4,7 @@
 
 package CSS::Squish;
 
-$CSS::Squish::VERSION = '0.08';
+$CSS::Squish::VERSION = '0.09';
 
 # Setting this to true will enable lots of debug logging about what
 # CSS::Squish is doing
@@ -217,6 +217,7 @@
         }
     }
     $self->_debug("Printing the rest");
+    local $_;
     print $dest $_ while <$fh>;
     close $fh;
 }

Modified: trunk/libcss-squish-perl/t/02-edge-cases.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcss-squish-perl/t/02-edge-cases.t?rev=50993&op=diff
==============================================================================
--- trunk/libcss-squish-perl/t/02-edge-cases.t (original)
+++ trunk/libcss-squish-perl/t/02-edge-cases.t Fri Jan 15 03:40:48 2010
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 2;
+use Test::More tests => 3;
 use Test::LongString;
 
 use_ok("CSS::Squish");
@@ -66,3 +66,10 @@
 
 is_string($result, $expected_result, "Edge cases");
 
+# bug in version 0.08 and older, result was error:
+# Modification of a read-only value attempted
+# at lib/CSS/Squish.pm line 220
+for ('t/css/02-edge-cases.css') {
+    $result = CSS::Squish->concatenate( $_ );
+}
+is_string($result, $expected_result, "no 'Modification of a read-only value'");




More information about the Pkg-perl-cvs-commits mailing list