Commits

Toby Inkster committed 033d369

revise documentation that mentioned Any::Moose/Mouse

Comments (0)

Files changed (5)

 
 =item C<< new >>
 
-Standard Moose-style constructor. (This class uses L<Any::Moose>.)
+Standard Moose-style constructor. 
 
 =back
 
 
 =back
 
-=head1 BUGS AND LIMITATIONS
+=head1 BUGS
 
-=head2 Any::Moose
-
-This module uses L<Any::Moose> which means that if it detects that
-you're using the rather heavyweight L<Moose> toolkit, then this module
-will use it too. But if you're not using it, then this module will
-use the lighter-weight L<Mouse> toolkit.
-
-Similarly, this module will use either L<MouseX::Types> or
-L<MooseX::Types>.
-
-As the decision to use Moose or Mouse is made at runtime, this makes
-expressing Web::ID's dependencies rather challenging. Web::ID requires
-B<either>:
-
-=over
-
-=item * Any::Moose,
-
-=item * Mouse, and
-
-=item * MouseX::Types
-
-=back
-
-B<or>:
-
-=over
-
-=item * Any::Moose,
-
-=item * Moose, and
-
-=item * MooseX::Types
-
-=back
-
-The installation script for Web-ID checks the first set of
-dependencies, but if you only ever plan on using Moose, and never
-Mouse, then you don't need them - you need the second set.
-
-Yes, it's possible to have the installation script figure out
-a list of dependencies dynamically when you install Web-ID, but
-that's not especially helpful, as Any::Moose makes its decision
-about what module to use at run time, not at install time.
-
-The long and the short of it is: if you use Web::ID as part
-of a Moose application, then make sure you have MooseX::Types
-installed.
-
-=head2 Other
-
-Please report any other bugs to
+Please report any bugs to
 L<http://rt.cpan.org/Dist/Display.html?Queue=Web-ID>.
 
 =head1 SEE ALSO

lib/Web/ID/Certificate.pm

 # Partly sorts a list of Web::ID::SAN objects,
 # prioritising URIs and Email addresses.
 #
-# Note: placing this deliberately before namespace::clean.
-#
 sub _sort_san
 {
 	map  { ref($_) eq 'ARRAY' ? (@$_) : () }
 	@_;
 }
 
-use Any::Moose;
-use namespace::clean -except => 'meta';
+use Moose;
+use namespace::sweep -also => '_sort_san';
 
 has pem => (
 	is          => read_only,
 
 =item C<< new >>
 
-Standard Moose-style constructor. (This class uses L<Any::Moose>.)
+Standard Moose-style constructor. 
 
 =back
 

lib/Web/ID/RSAKey.pm

 
 =item C<< new >>
 
-Standard Moose-style constructor. (This class uses L<Any::Moose>.)
+Standard Moose-style constructor. 
 
 =back
 

lib/Web/ID/SAN.pm

 
 =item C<< new >>
 
-Standard Moose-style constructor. (This class uses L<Any::Moose>.)
+Standard Moose-style constructor. 
 
 =back
 

lib/Web/ID/Types.pm

 
 =head1 DESCRIPTION
 
-This module uses L<Any::Moose> and is capable of providing either a
-L<MooseX::Types> type library, or a L<MouseX::Types> type library.
+A L<MooseX::Types> type library defining:
 
 =head2 Types
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.