Mojo-APNS

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

1.01 2018-06-08T13:51:50+0800
 - Add send_p()
 - Add insecure() attribute #8

1.00 2016-02-25T14:15:02+0100
 - Bumping to 1.0, since it seems pretty stable at this point
 - Improved documentation and SYNOPSIS example
 - Made t/feedback.t and t/send.t run again

0.07 2015-01-03T23:14:39Z
 - IO::Socket::SSL 1.84 required #5

0.06 2015-01-02T12:51:25Z
 - Avoid length of undefined values #6
 - Use encode_json instead of OO Mojo::JSON #4

0.05 2014-09-11T23:55:17Z
 - Add support for "content-available"
 - Fix generate_port()

0.0404 2014-03-19T14:13:14Z
 - Add not about segfault

0.0403 2013-11-20T11:54:56Z
 - Fix RT#89150: MYMETA.{yml,json} must not be bundled

0.0402 2013-09-06T23:38:16Z
 - Fix Makefile.PL

0.0401 2013-08-26T23:16:28Z
 - IO::Socket::SSL 1.75 required for TLS support

0.04 2013-08-16T23:23:59Z
 - Change default value for "sandbox" attribute
 - Fix NAME in Makefile.PL

0.03 2013-06-14T08:46:02Z
 - Add support for listening to feedback from APNS

0.0201 2014-09-11T23:48:44Z
 - Fix Use of uninitialized value in concatenation

META.json  view on Meta::CPAN

      "build" : {
         "requires" : {}
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "IO::Socket::SSL" : "1.84",
            "Mojolicious" : "5.30"
         }
      },
      "test" : {
         "requires" : {
            "Test::More" : "0.88"
         }
      }
   },
   "release_status" : "stable",

META.yml  view on Meta::CPAN

license: artistic_2
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Mojo-APNS
no_index:
  directory:
    - t
    - inc
requires:
  IO::Socket::SSL: '1.84'
  Mojolicious: '5.30'
resources:
  bugtracker: https://github.com/jhthorsen/mojo-apns/issues
  homepage: https://github.com/jhthorsen/mojo-apns
  repository: https://github.com/jhthorsen/mojo-apns.git
version: '1.01'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

  ABSTRACT_FROM  => 'lib/Mojo/APNS.pm',
  VERSION_FROM   => 'lib/Mojo/APNS.pm',
  EXE_FILES      => [qw()],
  BUILD_REQUIRES => {}
,
  TEST_REQUIRES  => {
  'Test::More' => '0.88'
}
,
  PREREQ_PM      => {
  'IO::Socket::SSL' => '1.84',
  'Mojolicious' => '5.30'
}
,
  META_MERGE     => {
    'dynamic_config' => 0,
    'meta-spec'      => {version => 2},
    'resources'      => {
      bugtracker => {web => 'https://github.com/jhthorsen/mojo-apns/issues'},
      homepage   => 'https://github.com/jhthorsen/mojo-apns',
      repository => {

cpanfile  view on Meta::CPAN

# You can install this projct with curl -L http://cpanmin.us | perl - https://github.com/jhthorsen/mojo-apns/archive/master.tar.gz
requires "IO::Socket::SSL" => "1.84";
requires "Mojolicious" => "5.30";
test_requires "Test::More" => "0.88";

t/feedback.t  view on Meta::CPAN

# use IO::Socket::SSL qw(debug3);
use Mojo::Base -strict;
use Mojo::APNS;
use Test::More;
use File::Basename;
use Mojo::IOLoop::Stream;

my $dir = File::Spec->catdir(dirname($INC{'Mojo/IOLoop/Stream.pm'}), 'resources');
my $port = Mojo::IOLoop::Server->generate_port;
my $message;

t/send.t  view on Meta::CPAN

# use IO::Socket::SSL qw(debug3);
use Mojo::Base -strict;
use Mojo::APNS;
use Mojo::IOLoop;
use Mojo::JSON 'j';
use Data::Dumper ();
use File::Basename;
use Test::More;

my $dir = File::Spec->catdir(dirname($INC{'Mojo/IOLoop/Stream.pm'}), 'resources');
my $port = Mojo::IOLoop::Server->generate_port;



( run in 0.555 second using v1.01-cache-2.11-cpan-4d50c553e7e )