make predicate on env private
John Napiorkowski [Tue, 5 Nov 2013 21:19:11 +0000 (15:19 -0600)]
Changes
lib/Catalyst/Request.pm

diff --git a/Changes b/Changes
index 81e7ab5..16c4b5d 100644 (file)
--- a/Changes
+++ b/Changes
@@ -9,6 +9,10 @@ TBA
     method was never documented and is new so this should not be scary.  If you
     were using $response->has_write_fh, change to ->_has_write_fh (but please consider
     a different way to do what you are doing...)
+  - make predicate on $req->env private.  Potentially breaking change, but this 
+    method was never documented and is new so this should not be scary.  If you
+    were using $request->has_env, change to ->_has_env (but please consider
+    a different way to do what you are doing...)
 
 
 5.90049_006 - 2013-11-04
index b131d4c..69ddd69 100644 (file)
@@ -17,7 +17,7 @@ use namespace::clean -except => 'meta';
 
 with 'MooseX::Emulate::Class::Accessor::Fast';
 
-has env => (is => 'ro', writer => '_set_env', predicate => 'has_env');
+has env => (is => 'ro', writer => '_set_env', predicate => '_has_env');
 # XXX Deprecated crap here - warn?
 has action => (is => 'rw');
 # XXX: Deprecated in docs ages ago (2006), deprecated with warning in 5.8000 due