Skip to content

Commit

Permalink
Release 0.06
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Sep 26, 2024
1 parent b785900 commit eff3d81
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 28 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ nytprof.out
/pm_to_blib
*.o
*.bs
*.swp
2 changes: 1 addition & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Revision history for Locale-CA

0.06
0.06 Thu Sep 26 08:42:57 EDT 2024
Fix synopsis syntax
Map Ablt. to AB
Fix http://www.cpantesters.org/cpan/report/147792c2-7b94-11ef-9c4f-aa1bc4b6c371
Expand Down
7 changes: 2 additions & 5 deletions README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locale-CA Version 0.05
Locale-CA Version 0.06

INSTALLATION

Expand All @@ -21,15 +21,12 @@ You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Locale-CA

CPAN Ratings
http://cpanratings.perl.org/d/Locale-CA

Search CPAN
http://search.cpan.org/dist/Locale-CA/


LICENSE AND COPYRIGHT

Copyright (C) 2012-2023 Nigel Horne
Copyright (C) 2012-2024 Nigel Horne

This program is released under the following licence: GPL2
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Locale::CA - two letter codes for province identification in Canada and vice ver

# VERSION

Version 0.05
Version 0.06

# SYNOPSIS

Expand All @@ -20,11 +20,11 @@ Version 0.05

# Returns the French names of the provinces if $LANG starts with 'fr' or
# the lang parameter is set to 'fr'
my $province = $u->{code2province}{$code};
my $code = $u->{province2code}{$province};
print $u->{code2province}{'ON'}, "\n"; # prints ONTARIO
print $u->{province2code}{'ONTARIO'}, "\n"; # prints ON

my @province = $u->all_province_names;
my @code = $u->all_province_codes;
my @province = $u->all_province_names();
my @code = $u->all_province_codes();

# SUBROUTINES/METHODS

Expand Down Expand Up @@ -75,10 +75,6 @@ You can also look for information at:

[http://rt.cpan.org/NoAuth/Bugs.html?Dist=Locale-CA](http://rt.cpan.org/NoAuth/Bugs.html?Dist=Locale-CA)

- CPAN Ratings

[http://cpanratings.perl.org/d/Locale-CA](http://cpanratings.perl.org/d/Locale-CA)

- Search CPAN

[http://search.cpan.org/dist/Locale-CA/](http://search.cpan.org/dist/Locale-CA/)
Expand All @@ -89,6 +85,6 @@ Based on [Locale::US](https://metacpan.org/pod/Locale%3A%3AUS) - Copyright (c) 2

# LICENSE AND COPYRIGHT

Copyright 2012-2023 Nigel Horne.
Copyright 2012-2024 Nigel Horne.

This program is released under the following licence: GPL2
4 changes: 2 additions & 2 deletions lib/Locale/CA.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Locale::CA - two letter codes for province identification in Canada and vice ver
=head1 VERSION
Version 0.05
Version 0.06
=cut

our $VERSION = '0.05';
our $VERSION = '0.06';

=head1 SYNOPSIS
Expand Down
15 changes: 5 additions & 10 deletions t/vars.t
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl

use strict;
use warnings;

use Test::DescribeMe qw(author);
use Test::Most;
use Test::Needs 'Test::Vars';

if(not $ENV{RELEASE_TESTING}) {
plan(skip_all => 'Author tests not required for installation');
}

eval "use Test::Vars";

plan skip_all => "Test::Vars required for detecting unused variables" if $@;

all_vars_ok();
Test::Vars->import();
all_vars_ok(ignore_vars => { '$self' => 0 });

0 comments on commit eff3d81

Please sign in to comment.