add strictures commit (out of order)
Matt S Trout [Mon, 14 Feb 2011 19:05:04 +0000 (19:05 +0000)]
27 files changed:
Changes
Makefile.PL
lib/HTML/Zoom.pm
lib/HTML/Zoom/ArrayStream.pm
lib/HTML/Zoom/CodeStream.pm
lib/HTML/Zoom/FilterBuilder.pm
lib/HTML/Zoom/FilterBuilder/Template.pm
lib/HTML/Zoom/FilterStream.pm
lib/HTML/Zoom/FlattenedStream.pm
lib/HTML/Zoom/MappedStream.pm
lib/HTML/Zoom/Parser/BuiltIn.pm
lib/HTML/Zoom/Producer/BuiltIn.pm
lib/HTML/Zoom/ReadFH.pm
lib/HTML/Zoom/SelectorParser.pm
lib/HTML/Zoom/StreamBase.pm
lib/HTML/Zoom/StreamUtils.pm
lib/HTML/Zoom/SubObject.pm
lib/HTML/Zoom/Transform.pm
lib/HTML/Zoom/TransformBuilder.pm
lib/HTML/Zoom/TransformedStream.pm
lib/HTML/Zoom/ZConfig.pm
t/actions.t
t/doctype.t
t/selectors.t
t/synopsis/filterbuilder.t
t/synopsis/zoom.t
t/todo-repeat.t

diff --git a/Changes b/Changes
index eccc89f..649c7d7 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,4 +1,8 @@
-0.009002 - 2010-10-11
+0.009003 - 2010-10-12
+
+* mst is an idiot and forgot to add strictures.pm as a dependency
+
+0.009002 - 2010-10-12
 
 * Added support for more selector syntax support including: 
   + element#id
index 12e9fc4..0b9d6e1 100644 (file)
@@ -2,4 +2,6 @@ use inc::Module::Install;
 
 all_from('lib/HTML/Zoom.pm');
 
+requires 'strictures' => 1;
+
 WriteAll;
index 80ee8e9..936ecc9 100644 (file)
@@ -1,14 +1,13 @@
 package HTML::Zoom;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 
 use HTML::Zoom::ZConfig;
 use HTML::Zoom::ReadFH;
 use HTML::Zoom::Transform;
 use HTML::Zoom::TransformBuilder;
 
-our $VERSION = '0.009001';
+our $VERSION = '0.009003';
 
 $VERSION = eval $VERSION;
 
index 7a7e05c..1caa513 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::ArrayStream;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::StreamBase);
 
 sub new {
index 0755a3b..ac5812f 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::CodeStream;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::StreamBase);
 
 sub new {
index a90a987..c8abd5c 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::FilterBuilder;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::SubObject);
 use HTML::Zoom::CodeStream;
 
index ee69983..a916e9e 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::FilterBuilder;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use Template::Tiny;
 
 sub _template_object {
index e349faf..4e9e53c 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::FilterStream;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::StreamBase);
 
 sub new {
index d33c9ea..acedcae 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::FlattenedStream;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::StreamBase);
 
 sub new {
index e6183cd..75ef2c3 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::MappedStream;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::StreamBase);
 
 sub new {
index cfe21de..efa07cb 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::Parser::BuiltIn;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::SubObject);
 
 sub html_to_events {
index 6ae1ccc..46f75e8 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::Producer::BuiltIn;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::SubObject);
 
 sub html_from_stream {
index 9fb2ad9..b877c53 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::ReadFH;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 
 sub from_zoom {
   my ($class, $zoom) = @_;
index 48545ff..9e96980 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::SelectorParser;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::SubObject);
 use Carp qw(confess);
 
index e063c48..a22158b 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::StreamBase;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use HTML::Zoom::TransformBuilder;
 
 sub _zconfig { shift->{_zconfig} }
index 3b2f921..ff42fa6 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::StreamUtils;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::SubObject);
 
 use Scalar::Util ();
index 3620e26..1d29462 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::SubObject;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use Scalar::Util ();
 
 sub new {
index e43474c..58c1900 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::Transform;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::SubObject);
 use HTML::Zoom::TransformedStream;
 
index 8381021..6b94936 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::TransformBuilder;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::SubObject);
 use HTML::Zoom::Transform;
 
index 5abd021..17b0130 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::TransformedStream;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use base qw(HTML::Zoom::FilterStream);
 
 sub new {
index 9cf060b..7809e97 100644 (file)
@@ -1,7 +1,6 @@
 package HTML::Zoom::ZConfig;
 
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 
 my %DEFAULTS = (
   parser => 'HTML::Zoom::Parser::BuiltIn',
index 584ec36..c89a5b8 100644 (file)
@@ -1,5 +1,4 @@
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use Test::More;
 
 use HTML::Zoom::Parser::BuiltIn;
index b0e5e1b..28a7a69 100644 (file)
@@ -1,5 +1,4 @@
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use Test::More qw(no_plan);
 
 use HTML::Zoom;
index 8a800b1..5c8a380 100644 (file)
@@ -1,5 +1,4 @@
-use strict;
-#use warnings FATAL => 'all';
+use strictures 1;
 use Test::More;
 
 use HTML::Zoom;
index 1112109..f68cfc5 100644 (file)
@@ -1,5 +1,4 @@
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use Test::More qw(no_plan);
 
 
index 83f99e8..05e0aef 100644 (file)
@@ -1,5 +1,4 @@
-use strict;
-use warnings FATAL => 'all';
+use strictures 1;
 use Test::More qw(no_plan);
 
 use HTML::Zoom;
index 54a773d..235573d 100644 (file)
@@ -1,4 +1,4 @@
-use strict;
+use strictures 1;
 use HTML::Zoom;
 use Test::More skip_all => "Totally doesn't work yet";