CPAN-Uploader

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         }
      },
      "runtime" : {
         "requires" : {
            "Carp" : "0",
            "Data::Dumper" : "0",
            "Digest::MD5" : "0",
            "File::Basename" : "0",
            "File::Spec" : "0",
            "Getopt::Long::Descriptive" : "0.084",
            "HTTP::Request::Common" : "0",
            "HTTP::Status" : "0",
            "LWP::Protocol::https" : "1",
            "LWP::UserAgent" : "0",
            "Term::ReadKey" : "0",
            "perl" : "v5.12.0",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {

META.yml  view on Meta::CPAN

  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: CPAN-Uploader
requires:
  Carp: '0'
  Data::Dumper: '0'
  Digest::MD5: '0'
  File::Basename: '0'
  File::Spec: '0'
  Getopt::Long::Descriptive: '0.084'
  HTTP::Request::Common: '0'
  HTTP::Status: '0'
  LWP::Protocol::https: '1'
  LWP::UserAgent: '0'
  Term::ReadKey: '0'
  perl: v5.12.0
  strict: '0'
  warnings: '0'
resources:
  bugtracker: https://github.com/rjbs/CPAN-Uploader/issues
  homepage: https://github.com/rjbs/CPAN-Uploader

Makefile.PL  view on Meta::CPAN

  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.012000",
  "NAME" => "CPAN::Uploader",
  "PREREQ_PM" => {
    "Carp" => 0,
    "Data::Dumper" => 0,
    "Digest::MD5" => 0,
    "File::Basename" => 0,
    "File::Spec" => 0,
    "Getopt::Long::Descriptive" => "0.084",
    "HTTP::Request::Common" => 0,
    "HTTP::Status" => 0,
    "LWP::Protocol::https" => 1,
    "LWP::UserAgent" => 0,
    "Term::ReadKey" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,

Makefile.PL  view on Meta::CPAN


my %FallbackPrereqs = (
  "Carp" => 0,
  "Data::Dumper" => 0,
  "Digest::MD5" => 0,
  "ExtUtils::MakeMaker" => 0,
  "File::Basename" => 0,
  "File::Spec" => 0,
  "File::Temp" => 0,
  "Getopt::Long::Descriptive" => "0.084",
  "HTTP::Request::Common" => 0,
  "HTTP::Status" => 0,
  "LWP::Protocol::https" => 1,
  "LWP::UserAgent" => 0,
  "Term::ReadKey" => 0,
  "Test::More" => "0.96",
  "strict" => 0,
  "warnings" => 0
);


lib/CPAN/Uploader.pm  view on Meta::CPAN

#pod This code is mostly derived from C<cpan-upload-http> by Brad Fitzpatrick, which
#pod in turn was based on C<cpan-upload> by Neil Bowers.  I (I<rjbs>) didn't want to
#pod have to use a C<system> call to run either of those, so I refactored the code
#pod into this module.
#pod
#pod =cut

use Carp ();
use File::Basename ();
use File::Spec;
use HTTP::Request::Common qw(POST);
use HTTP::Status;
use LWP::UserAgent;

my $UPLOAD_URI = $ENV{CPAN_UPLOADER_UPLOAD_URI}
              || 'https://pause.perl.org/pause/authenquery?ACTION=add_uri';

#pod =method upload_file
#pod
#pod   CPAN::Uploader->upload_file($file, \%arg);
#pod

t/00-report-prereqs.dd  view on Meta::CPAN

                                    }
                    },
       'runtime' => {
                      'requires' => {
                                      'Carp' => '0',
                                      'Data::Dumper' => '0',
                                      'Digest::MD5' => '0',
                                      'File::Basename' => '0',
                                      'File::Spec' => '0',
                                      'Getopt::Long::Descriptive' => '0.084',
                                      'HTTP::Request::Common' => '0',
                                      'HTTP::Status' => '0',
                                      'LWP::Protocol::https' => '1',
                                      'LWP::UserAgent' => '0',
                                      'Term::ReadKey' => '0',
                                      'perl' => 'v5.12.0',
                                      'strict' => '0',
                                      'warnings' => '0'
                                    }
                    },
       'test' => {



( run in 0.488 second using v1.01-cache-2.11-cpan-de7293f3b23 )