Skip to content
Browse files

Preparing release

  • Loading branch information...
1 parent e471cc2 commit 1a8f70533b57e0f88d05601a319909290d6004d5 @ambs ambs committed
Showing with 10 additions and 9 deletions.
  1. +2 −2 Changes
  2. +1 −1 Makefile.PL
  3. +7 −6 lib/Dancer/Plugin/MobileDevice.pm
View
4 Changes
@@ -1,9 +1,9 @@
Revision history for Dancer-Plugin-MobileDevice
-0.03 2011-...
+0.03 2011-04-10
[ Alberto Simões ]
* Fix access to setting on a test
- * Add support to iPad/iPod
+ * Add support to iPad/iPod
0.02 2010-12-13, Alexis Sukrieh
[ Franck Cuny ]
View
2 Makefile.PL
@@ -12,7 +12,7 @@ WriteMakefile(
: ()),
PL_FILES => {},
PREREQ_PM => {
- 'Dancer' => 1.2000,
+ 'Dancer' => 1.3000,
'Test::More' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
View
13 lib/Dancer/Plugin/MobileDevice.pm
@@ -2,8 +2,8 @@ package Dancer::Plugin::MobileDevice;
use strict;
use warnings;
-our $VERSION = '0.02';
-
+our $VERSION = '0.03';
+
use Dancer ':syntax';
use Dancer::Plugin;
@@ -14,7 +14,7 @@ register 'is_mobile_device' => sub {
};
-before sub {
+before sub {
# If we don't have a mobile layout declared, do nothing.
my $settings = plugin_setting || {};
if (my $mobile_layout = $settings->{mobile_layout}) {
@@ -43,6 +43,7 @@ register_plugin;
1;
__END__
+
=head1 NAME
Dancer::Plugin::MobileDevice - make a Dancer app mobile-aware
@@ -133,12 +134,12 @@ L<http://search.cpan.org/dist/Dancer-Plugin-MobileDevice/>
=head1 ACKNOWLEDGEMENTS
-This plugin was initially written for an article of the Dancer advent calendar
-2010.
+This plugin was initially written for an article of the Dancer advent
+calendar 2010.
=head1 LICENSE AND COPYRIGHT
-Copyright 2010 Alexis Sukrieh.
+Copyright 2010-2011 Alexis Sukrieh.
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published

0 comments on commit 1a8f705

Please sign in to comment.
Something went wrong with that request. Please try again.