Skip to content

Commit

Permalink
removed gitignore and makefile commands
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 17, 2012
1 parent 3214aa3 commit 9fa4e45
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 184 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -5,6 +5,7 @@ This file documents the revision history for Perl extension Mojolicious.
Mojo::IOWatcher::EV.
- Added file upload support to param method in
Mojolicious::Controller.
- Removed gitignore and makefile commands.
- Improved Mojo::IOLoop to be controllable from foreign event loops.
- Improved protection from excessively large form values in
Mojo::Message.
Expand Down
83 changes: 0 additions & 83 deletions lib/Mojolicious/Command/generate/gitignore.pm

This file was deleted.

88 changes: 0 additions & 88 deletions lib/Mojolicious/Command/generate/makefile.pm

This file was deleted.

12 changes: 0 additions & 12 deletions lib/Mojolicious/Commands.pm
Expand Up @@ -103,24 +103,12 @@ List available options for generator command with short descriptions.
Generate application directory structure for a fully functional
L<Mojolicious> application.
=head2 C<generate gitignore>
$ mojo generate gitignore
Generate C<.gitignore> file.
=head2 C<generate lite_app>
$ mojo generate lite_app
Generate a fully functional L<Mojolicious::Lite> application.
=head2 C<generate makefile>
$ mojo generate makefile
Generate C<Makefile.PL> file for application.
=head2 C<get>
$ mojo get http://mojolicio.us
Expand Down
1 change: 0 additions & 1 deletion lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -1063,7 +1063,6 @@ get automatically installed with the modules.
That's really everything, now you can package your application like any other
CPAN module.

$ ./script/my_mojolicious_app generate makefile
$ perl Makefile.PL
$ make test
$ make manifest
Expand Down
4 changes: 4 additions & 0 deletions lib/Mojolicious/Renderer.pm
Expand Up @@ -239,6 +239,10 @@ sub _extends {
return delete $stash->{extends};
}

# "I want to see the edge of the universe.
# Ooh, that sounds cool.
# It's funny, you live in the universe, but you never get to do this things
# until someone comes to visit."
sub _render_template {
my ($self, $c, $output, $options) = @_;

Expand Down
3 changes: 3 additions & 0 deletions lib/Mojolicious/Routes/Pattern.pm
Expand Up @@ -83,6 +83,9 @@ sub render {
return $string || '/';
}

# "If we don't go back there and make that event happen,
# the entire universe will be destroyed...
# And as an environmentalist, I'm against that."
sub shape_match {
my ($self, $pathref, $detect) = @_;

Expand Down

0 comments on commit 9fa4e45

Please sign in to comment.