Address-PostCode-UserAgent

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Address-PostCode-UserAgent

0.09  2019-01-16T15:10:00+01:00
      - Updated packages to import namespace::autoclean.

0.08  2019-01-06T10:10:00+01:00
      - Added unit test scripts (t/meta-json.t and t/meta-yml.t).

0.07  2019-01-05T23:50:00+01:00
      - Added key 'provides' as suggested by CPANTS.

0.06  2019-01-04T20:10:00+01:00
      - Used namespace::autoclean instead.

0.05  2015-03-18T18:50:00+01:00
      - Added LICENSE file.

0.04  2015-01-16T14:14:14+01:00
      - Removed SIGNATURE file.
      - Updated MANIFEST.SKIP file to ignore folder 'eumm/'.
      - Updated Copyright year information.

0.03  2014-11-15T11:10:25+01:00

META.json  view on Meta::CPAN

      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "HTTP::Tiny" : "0",
            "Moo" : "0",
            "Throwable" : "0",
            "namespace::autoclean" : "0.28",
            "perl" : "5.006"
         }
      }
   },
   "provides" : {
      "Address::PostCode::UserAgent" : {
         "file" : "lib/Address/PostCode/UserAgent.pm",
         "version" : "0.09"
      },
      "Address::PostCode::UserAgent::Exception" : {

META.yml  view on Meta::CPAN

  Address::PostCode::UserAgent:
    file: lib/Address/PostCode/UserAgent.pm
    version: '0.09'
  Address::PostCode::UserAgent::Exception:
    file: lib/Address/PostCode/UserAgent/Exception.pm
    version: '0.09'
requires:
  HTTP::Tiny: '0'
  Moo: '0'
  Throwable: '0'
  namespace::autoclean: '0.28'
  perl: '5.006'
resources:
  repository: https://github.com/Manwar/Address-PostCode-UserAgent.git
version: '0.09'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => 0,
    },
    BUILD_REQUIRES => {
        'Test::More' => 0,
    },
    PREREQ_PM => {
        'HTTP::Tiny'           => 0,
        'Throwable'            => 0,
        'Moo'                  => 0,
        'namespace::autoclean' => 0.28,
    },
    dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean => { FILES => 'Address-PostCode-UserAgent-*' },
    (eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
        'meta-spec' => { version => 2 },
        provides    => {
            'Address::PostCode::UserAgent'            => { file => 'lib/Address/PostCode/UserAgent.pm'          , version => '0.09' },
            'Address::PostCode::UserAgent::Exception' => { file => 'lib/Address/PostCode/UserAgent/Exception.pm', version => '0.09' },
        },
        resources => {

lib/Address/PostCode/UserAgent.pm  view on Meta::CPAN


=cut

use 5.006;
use Data::Dumper;

use HTTP::Tiny;
use Address::PostCode::UserAgent::Exception;

use Moo;
use namespace::autoclean;

has 'ua'=> (is => 'rw', default => sub { HTTP::Tiny->new(agent => "Address-PostCode-UserAgent/v1"); } );

=head1 DESCRIPTION

The L<Address::PostCode::UserAgent> module is the core library Address::PostCode::* family.

=head1 METHODS

=head2 get($url, \%headers)

lib/Address/PostCode/UserAgent/Exception.pm  view on Meta::CPAN

=head1 VERSION

Version 0.09

=cut

use 5.006;
use Data::Dumper;

use Moo;
use namespace::autoclean;
with 'Throwable';

use overload q{""} => 'as_string', fallback => 1;

has method      => (is => 'ro');
has message     => (is => 'ro');
has code        => (is => 'ro');
has reason      => (is => 'ro');
has filename    => (is => 'ro');
has line_number => (is => 'ro');

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.874 second using v1.00-cache-2.02-grep-82fe00e-cpan-c98054f2a92 )