Skip to content

Commit

Permalink
tidy, new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Sep 30, 2020
1 parent bd72b2f commit a1e4533
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/Perl/Maven/Analyze.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ our $VERSION = '0.11';
option limit => ( is => 'ro', default => 1, format => 'i' );
option verbose => ( is => 'ro', default => 0 );
option conf => ( is => 'ro', required => 0, format => 's', doc => 'Path to configuration JSON file' );
option dir =>
option dir =>
( is => 'ro', required => 0, format => 's', doc => 'Path to directory that holds the source code of the projects' );

sub _log {
Expand Down
6 changes: 3 additions & 3 deletions lib/Perl/Maven/WebTools.pm
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ my %RESOURCES = (
no_password => 'No password was given.',
passwords_dont_match => q{Passwords don't match.},
bad_password => 'No or bad password was given.',
old_password_code =>
old_password_code =>
'The code you you have received to set your password has timed out. Please ask for a new code.',
invalid_email => 'Could not find this e-mail address in our database.',
no_admin_rights => 'You dont have admin rights.',
Expand All @@ -62,7 +62,7 @@ my %RESOURCES = (
coupon_has_expired => 'This coupons has already expired',
user_has_valid_subscription => 'You already have a valid subscription',
unsubscribed => 'Unsubscribed from the Perl Maven newsletter.',
subscribed =>
subscribed =>
'Subscribed to the Perl Maven newsletter. You can manage your subscription at your <a href="/pm/account">account</a>.',
verification_email_sent =>
'We have sent you an e-mail with a verification code. Please check your e-mail account and click on the link inthe message to verify your new e-mail address.',
Expand All @@ -71,7 +71,7 @@ my %RESOURCES = (
# PayPal
no_product_specified => 'No product was specified.',
invalid_product_specified => 'Invalid product was specified.',
please_log_in =>
please_log_in =>
'Before making a purchase, please <a href="/register">create an account</a> and <a href="/pm/login">login</a>, so we can associate your purchase with your account.',
canceled => 'We are sorry that you canceled your purchase.',

Expand Down
4 changes: 2 additions & 2 deletions t/03-pages.t
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ subtest indexes => sub {
};

my %cases = (
missing_title => qq{Header ended and 'title' was not supplied for file t/files/missing_title.txt\n},
invalid_field => qq{Invalid entry in header 'darklord' file t/files/invalid_field.txt\n},
missing_title => qq{Header ended and 'title' was not supplied for file t/files/missing_title.txt\n},
invalid_field => qq{Invalid entry in header 'darklord' file t/files/invalid_field.txt\n},
invalid_field_before_optional =>
qq{Invalid entry in header 'darklord' file t/files/invalid_field_before_optional.txt\n},

Expand Down

0 comments on commit a1e4533

Please sign in to comment.