| 1 | # | ||
| 2 | # This file is part of Dist-Zilla-Stash-Store-Git | ||
| 3 | # | ||
| 4 | # This software is Copyright (c) 2014 by Chris Weyl. | ||
| 5 | # | ||
| 6 | # This is free software, licensed under: | ||
| 7 | # | ||
| 8 | # The GNU Lesser General Public License, Version 2.1, February 1999 | ||
| 9 | # | ||
| 10 | package Dist::Zilla::Role::GitStore::Consumer; | ||
| 11 | 3 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 3 | $Dist::Zilla::Role::GitStore::Consumer::AUTHORITY = 'cpan:RSRCHBOY'; | |
| 13 | } | ||
| 14 | 3 | $Dist::Zilla::Role::GitStore::Consumer::VERSION = '0.000005'; | |
| 15 | # ABSTRACT: Something that makes use of %Store::Git | ||
| 16 | |||
| 17 | 3 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 3 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 3 | ▶ | use MooseX::AttributeShortcuts; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 3 | ▶ | use aliased 'Dist::Zilla::Stash::Store::Git' => 'GitStore'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 3 | with 'Dist::Zilla::Role::RegisterStash' => { | |
| 24 | -version => '0.003', | ||
| 25 | }; | ||
| 26 | |||
| 27 | |||
| 28 | has _git_store => ( | ||
| 29 | is => 'lazy', | ||
| 30 | isa_instance_of => GitStore, | ||
| 31 | 0 | ▶ | builder => sub { shift->_retrieve_or_register('%Store::Git') }, |
|
Subroutine
_build__git_store: not called CC=1 SCAR=6.9
| |||
| 32 | 3 | ); | |
| 33 | |||
| 34 | 3 | !!42; | |
| 35 | |||
| 36 | __END__ | ||