Fix old scripts by having empty Catalyst::Engine::HTTP
Tomas Doran [Mon, 5 Sep 2011 10:58:04 +0000 (11:58 +0100)]
Changes
lib/Catalyst/Engine/HTTP.pm [new file with mode: 0644]

diff --git a/Changes b/Changes
index c1b361f..7133408 100644 (file)
--- a/Changes
+++ b/Changes
@@ -5,6 +5,11 @@
    - Set a matching Content-type for the redirect if Catalyst sets the
      body. This is for compatibility with a WatchGuard Firewall.
 
+  Backward compatibility fixes:
+
+   - Restore (an almost empty) Catalyst::Engine::HTTP to the dist for old
+     scripts which explictly require Catalyst::Engine::HTTP
+
   Documentation fixes:
 
    - Document Catalyst::Plugin::Authentication fails tests unless
diff --git a/lib/Catalyst/Engine/HTTP.pm b/lib/Catalyst/Engine/HTTP.pm
new file mode 100644 (file)
index 0000000..e354a8a
--- /dev/null
@@ -0,0 +1,12 @@
+package # Hide from PAUSE
+    Catalyst::Engine::HTTP;
+use strict;
+use warnings;
+
+use base 'Catalyst::Engine';
+
+1;
+
+# This is here only as some old generated scripts require Catalyst::Engine::HTTP
+
+