Skip to content

Commit

Permalink
convert to dzil
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Oct 3, 2011
1 parent 80f5f4e commit 315615b
Show file tree
Hide file tree
Showing 44 changed files with 188 additions and 452 deletions.
17 changes: 13 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
META.yml
cover_db
META.*
MYMETA.*
Makefile
blib
pm_to_blib
.DS_Store
Makefile.old
inc
pm_to_blib
MANIFEST
Makefile.old
nytprof.out
MANIFEST.bak
*.sw[po]
.DS_Store
.build
Bread-Board-*
*.bs
*.o
2 changes: 2 additions & 0 deletions ChangeLog → Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Revision history for Perl extension Bread::Board

{{$NEXT}}

0.21 Tues. Sept. 6th, 2011
* Bread::Board
- Allow service() and alias() sugar functions to
Expand Down
25 changes: 0 additions & 25 deletions MANIFEST.SKIP

This file was deleted.

34 changes: 0 additions & 34 deletions Makefile.PL

This file was deleted.

32 changes: 0 additions & 32 deletions README

This file was deleted.

8 changes: 3 additions & 5 deletions bin/visualize-breadboard
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env perl
use strict;
use warnings;
# PODNAME: visualize-breadboard
# ABSTRACT: script to invoke L<Bread::Board::GraphViz::App>

use FindBin qw($Bin);
use lib "$Bin/../lib";
Expand All @@ -15,10 +17,6 @@ __END__

=pod

=head1 NAME

visualize-breadboard - script to invoke L<Bread::Board::GraphViz::App>

=head1 SYNOPSIS

$ visualize-breadboard 'use MyApp; MyApp->get_breadboard'
Expand Down Expand Up @@ -52,4 +50,4 @@ L<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut
=cut
31 changes: 31 additions & 0 deletions dist.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name = Bread-Board
author = Stevan Little <stevan@iinteractive.com>
license = Perl_5
copyright_holder = Infinity Interactive

[@Filter]
-bundle = @DOY
-remove = PodCoverageTests
dist = Bread-Board
CompileTests_skip = GraphViz|visualize

[Authority]
authority = cpan:STEVAN

[Prereqs]
Moose = 1.00
MooseX::Clone = 0.05
MooseX::Params::Validate = 0.14
Try::Tiny = 0

[Prereqs / TestRequires]
Test::Exception = 0.21
Test::Fatal = 0
Test::Moose = 0

[Prereqs / RuntimeRecommends]
Data::Visitor::Callback = 0
GraphViz = 0
MooseX::Runnable = 0
MooseX::Types::Set::Object = 0
Set::Object = 0
12 changes: 5 additions & 7 deletions lib/Bread/Board.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use strict;
use warnings;
use Carp qw(confess);
use Scalar::Util qw(blessed);
# ABSTRACT: A solderless way to wire up your application components

use Bread::Board::Types;
use Bread::Board::ConstructorInjection;
Expand Down Expand Up @@ -31,9 +32,6 @@ Moose::Exporter->setup_import_methods(
]],
);

our $AUTHORITY = 'cpan:STEVAN';
our $VERSION = '0.21';

sub as (&) { $_[0] }

our $CC;
Expand Down Expand Up @@ -187,10 +185,6 @@ __END__
=pod
=head1 NAME
Bread::Board - A solderless way to wire up your application components
=head1 SYNOPSIS
use Bread::Board;
Expand Down Expand Up @@ -313,6 +307,10 @@ Want to know more? See the L<Bread::Board::Manual>.
=item I<include ($file)>
=item I<alias ($service_name, $service_path, %service_description)>
=item I<set_root_container ($container)>
=back
=head1 ACKNOWLEDGEMENTS
Expand Down
7 changes: 0 additions & 7 deletions lib/Bread/Board/BlockInjection.pm
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package Bread::Board::BlockInjection;
use Moose;

our $VERSION = '0.21';
our $AUTHORITY = 'cpan:STEVAN';

with 'Bread::Board::Service::WithParameters',
'Bread::Board::Service::WithDependencies';

Expand Down Expand Up @@ -34,10 +31,6 @@ __END__
=pod
=head1 NAME
Bread::Board::BlockInjection
=head1 DESCRIPTION
=head1 METHODS
Expand Down
7 changes: 0 additions & 7 deletions lib/Bread/Board/ConstructorInjection.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ use Try::Tiny;

use Bread::Board::Types;

our $VERSION = '0.21';
our $AUTHORITY = 'cpan:STEVAN';

with 'Bread::Board::Service::WithClass',
'Bread::Board::Service::WithParameters',
'Bread::Board::Service::WithDependencies';
Expand Down Expand Up @@ -40,10 +37,6 @@ __END__
=pod
=head1 NAME
Bread::Board::ConstructorInjection
=head1 DESCRIPTION
=head1 METHODS
Expand Down
13 changes: 6 additions & 7 deletions lib/Bread/Board/Container.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ use MooseX::Params::Validate;

use Bread::Board::Types;

our $VERSION = '0.21';
our $AUTHORITY = 'cpan:STEVAN';

with 'Bread::Board::Traversable';

has 'name' => (
Expand Down Expand Up @@ -185,10 +182,6 @@ __END__
=pod
=head1 NAME
Bread::Board::Container
=head1 DESCRIPTION
=head1 METHODS
Expand Down Expand Up @@ -225,6 +218,12 @@ Bread::Board::Container
=item B<resolve ( ?service => $service_name, ?type => $type, ?parameters => { ... } )>
=item B<add_type_mapping_for ( $type_name, $service )>
=item B<get_type_mapping_for ( $type_name )>
=item B<has_type_mapping_for ( $type_name )>
=back
=head1 BUGS
Expand Down
15 changes: 8 additions & 7 deletions lib/Bread/Board/Container/Parameterized.pm
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package Bread::Board::Container::Parameterized;
use Moose;
# ABSTRACT: A parameterized container

use Bread::Board::Container;

our $VERSION = '0.21';
our $AUTHORITY = 'cpan:STEVAN';

with 'Bread::Board::Traversable';

has 'name' => (
Expand Down Expand Up @@ -81,10 +79,6 @@ __END__
=pod
=head1 NAME
Bread::Board::Container::Parameterized - A parameterized container
=head1 DESCRIPTION
=head1 ATTRIBUTES
Expand Down Expand Up @@ -126,4 +120,11 @@ L<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=begin Pod::Coverage
fetch
resolve
=end Pod::Coverage
=cut
7 changes: 0 additions & 7 deletions lib/Bread/Board/Dependency.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ use Moose;

use Bread::Board::Service;

our $VERSION = '0.21';
our $AUTHORITY = 'cpan:STEVAN';

with 'Bread::Board::Traversable';

has 'service_path' => (
Expand Down Expand Up @@ -53,10 +50,6 @@ __END__
=pod
=head1 NAME
Bread::Board::Dependency
=head1 DESCRIPTION
=head1 METHODS
Expand Down
7 changes: 0 additions & 7 deletions lib/Bread/Board/Dumper.pm
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package Bread::Board::Dumper;
use Moose;

our $VERSION = '0.21';
our $AUTHORITY = 'cpan:STEVAN';

sub dump {
my ($self, $thing, $indent) = @_;

Expand Down Expand Up @@ -48,10 +45,6 @@ __END__
=pod
=head1 NAME
Bread::Board::Dumper
=head1 SYNOPSIS
use Bread::Board::Dumper;
Expand Down
Loading

0 comments on commit 315615b

Please sign in to comment.