Bread-Board-LifeCycle-Session

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Pod" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Bread::Board::LifeCycle::Singleton" : "0",
            "Bread::Board::LifeCycle::Singleton::WithParameters" : "0",
            "List::Util" : "1.33",
            "Module::Runtime" : "0",
            "Moose::Role" : "0",
            "namespace::autoclean" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {
            "Bread::Board" : "0",
            "ExtUtils::MakeMaker" : "0",
            "File::Spec" : "0",

META.yml  view on Meta::CPAN

    version: v0.900.1
  Bread::Board::LifeCycle::Session::WithParameters:
    file: lib/Bread/Board/LifeCycle/Session/WithParameters.pm
    version: v0.900.1
requires:
  Bread::Board::LifeCycle::Singleton: '0'
  Bread::Board::LifeCycle::Singleton::WithParameters: '0'
  List::Util: '1.33'
  Module::Runtime: '0'
  Moose::Role: '0'
  namespace::autoclean: '0'
resources:
  bugtracker: https://github.com/GrantStreetGroup/Bread-Board-LifeCycle-Session/issues
  repository: git://github.com/GrantStreetGroup/Bread-Board-LifeCycle-Session.git
version: v0.900.1
x_generated_by_perl: v5.18.2
x_serialization_backend: 'YAML::Tiny version 1.73'
x_static_install: 1

Makefile.PL  view on Meta::CPAN

  },
  "DISTNAME" => "Bread-Board-LifeCycle-Session",
  "LICENSE" => "artistic_2",
  "NAME" => "Bread::Board::LifeCycle::Session",
  "PREREQ_PM" => {
    "Bread::Board::LifeCycle::Singleton" => 0,
    "Bread::Board::LifeCycle::Singleton::WithParameters" => 0,
    "List::Util" => "1.33",
    "Module::Runtime" => 0,
    "Moose::Role" => 0,
    "namespace::autoclean" => 0
  },
  "TEST_REQUIRES" => {
    "Bread::Board" => 0,
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Moose" => 0,
    "Test::Fatal" => 0,
    "Test::More" => 0

lib/Bread/Board/Container/Role/WithSessions.pm  view on Meta::CPAN

package Bread::Board::Container::Role::WithSessions;

our $AUTHORITY = 'cpan:GSG';
# ABSTRACT: Session helper methods for Bread::Board Containers
use version;
our $VERSION = 'v0.900.1'; # VERSION

use Moose::Role;
use namespace::autoclean;
use List::Util 1.33 ('any');

our @LIFECYCLES_TO_FLUSH = qw(
    Session
    Session::WithParameters
    +Bread::Board::LifeCycle::Session
    +Bread::Board::LifeCycle::Session::WithParameters
);

sub flush_session_instances {

lib/Bread/Board/LifeCycle/Session.pm  view on Meta::CPAN

package Bread::Board::LifeCycle::Session;

our $AUTHORITY = 'cpan:GSG';
# ABSTRACT: A short-lived singleton for Bread::Board
use version;
our $VERSION = 'v0.900.1'; # VERSION

use Moose::Role;
use Module::Runtime ();
use namespace::autoclean;

our $FLUSHER_ROLE = 'Bread::Board::Container::Role::WithSessions';

with 'Bread::Board::LifeCycle::Singleton';

### XXX: Lifecycle consumption happens after service construction,
### so we have pick a method that would get called after
### construction.  The 'get' method is pretty hot, so this should
### be done as fast as possible.

lib/Bread/Board/LifeCycle/Session/WithParameters.pm  view on Meta::CPAN

package Bread::Board::LifeCycle::Session::WithParameters;

our $AUTHORITY = 'cpan:GSG';
our $VERSION   = '0.90';

use Moose::Role;
use Module::Runtime ();
use namespace::autoclean;

our $FLUSHER_ROLE = 'Bread::Board::Container::Role::WithSessions';

with 'Bread::Board::LifeCycle::Singleton::WithParameters';

### XXX: Lifecycle consumption happens after service construction,
### so we have pick a method that would get called after
### construction.  The 'get' method is pretty hot, so this should
### be done as fast as possible.

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

                                      'Test::Pod' => '0'
                                    }
                    },
       'runtime' => {
                      'requires' => {
                                      'Bread::Board::LifeCycle::Singleton' => '0',
                                      'Bread::Board::LifeCycle::Singleton::WithParameters' => '0',
                                      'List::Util' => '1.33',
                                      'Module::Runtime' => '0',
                                      'Moose::Role' => '0',
                                      'namespace::autoclean' => '0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {
                                   'Bread::Board' => '0',
                                   'ExtUtils::MakeMaker' => '0',
                                   'File::Spec' => '0',

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

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