-MYMETA.*
-MooseX-Storage-*
-META.yml
-Makefile
-blib/*
-inc/*
-pm_to_blib
-MANIFEST
-MANIFEST.bak
-MANIFEST.SKIP.bak
-Makefile.old
+/.build/
+!.gitignore
+/cover_db/
+*.gc??
+/test-mydeps-*
+/nytprof*
+.*.sw[a-z]
+/MooseX-Storage-*
+++ /dev/null
-steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist
-
-git.tagpattern = %v
-
-CheckChangeLog.files = Changes
-Revision history for MooseX-Storage
+Revision history for {{$dist->name}}
+
+{{$NEXT}}
0.35 2013-07-15
* properly skip optional tests when the required JSON backends aren't
+++ /dev/null
-#!include_default
-MYMETA.json
-MYMETA.yml
-^MooseX-Storage-
-^.git
-^svn-commit.*\.tmp$
-^_build
-^Build$
-^blib
-~$
-\.bak$
-^MANIFEST\.SKIP$
-CVS
-\.svn
-\.DS_Store
-cover_db
-\..*\.sw.?$
-^Makefile$
-^pm_to_blib$
-^MakeMaker-\d
-^blibdirs$
-\.old$
-^#.*#$
-^\.#
-^TODO$
-^\.shipit$
+++ /dev/null
-# Load the Module::Install bundled in ./inc/
-use inc::Module::Install 0.75;
-use Module::Install::AuthorRequires;
-use Module::Install::AuthorTests;
-
-# Define metadata
-name 'MooseX-Storage';
-all_from 'lib/MooseX/Storage.pm';
-
-perl_version '5.008';
-
-# Specific dependencies
-requires 'Moose' => '0.99';
-requires 'String::RewritePrefix';
-
-author_requires 'Test::Without::Module';
-
-# you should have at least one
-# serialization format
-auto_install; # Needed for features to work. RT#67170
-feature 'JSON',
- -default => 1,
- 'JSON::Any' => '1.15',
- 'Test::Deep::JSON' => '0';
-recommends 'JSON::Any' => '1.15';
-recommends 'Test::Deep::JSON';
-
-author_requires 'JSON::Any' => '1.15';
-author_requires 'Test::Deep::JSON' => '0';
-
-feature 'YAML',
- -default => 1,
- 'YAML::Any' => '0';
-author_requires 'YAML::Any';
-recommends 'YAML::Any';
-
-feature 'Storable',
- -default => 1,
- 'Storable' => '0';
-author_requires 'Storable';
-recommends 'Storable';
-
-# and the ability to save the
-# file to disk
-feature 'File',
- -default => 1,
- 'IO::File' => '0.1';
-author_requires 'IO::File' => '0.1';
-recommends 'IO::File';
-
-author_tests 't/author';
-
-build_requires 'Test::More' => '0.88';
-build_requires 'Test::Deep' => '0';
-build_requires 'Test::Fatal' => '0';
-build_requires 'Test::Requires' => '0.05';
-
-author_requires 'Digest::HMAC';
-author_requires 'Digest::SHA';
-author_requires 'Test::Pod' => '1.14';
-author_requires 'Test::Pod::Coverage' => '1.08';
-
-# r/w: gitmo@git.moose.perl.org:MooseX-Storage.git
-resources repository => 'git://git.moose.perl.org/MooseX-Storage.git';
-
-WriteAll;
-
+++ /dev/null
-MooseX-Storage version 0.32
-
-INSTALLATION
-
-To install this module, run the following commands:
-
- perl Makefile.PL
- make
- make test
- make install
-
-Alternatively, to install with Module::Build, you can use the following commands:
-
- perl Build.PL
- ./Build
- ./Build test
- ./Build install
-
-DEPENDENCIES
-
- Moose
- String::RewritePrefix
- Test::More
- Test::Deep
- Test::Fatal
- Test::Requires
-
-OPTIONAL DEPENDENCIES
-
- JSON::Any
- IO::File
- IO::AtomicFile
- Test::YAML::Valid
- Test::Deep::JSON
- Digest
- Digest::SHA1
- Data::Dumper
-
-COPYRIGHT AND LICENCE
-
-Copyright (C) 2007-2008 Infinity Interactive
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
--- /dev/null
+name = MooseX-Storage
+author = Chris Prather <chris.prather@iinteractive.com>
+author = Stevan Little <stevan.little@iinteractive.com>
+author = Yuval Kogman <yuval.kogman@iinteractive.com>
+copyright_holder = Infinity Interactive, Inc.
+license = Perl_5
+
+[@Author::ETHER]
+:version = 0.010
+-remove = PodWeaver
+-remove = AutoPrereqs
+Authority.authority = cpan:STEVAN
+; r/w repository: gitmo@git.moose.perl.org:MooseX-Storage.git
+AutoMetaResources.repository.gitmo = 1
+Test::MinimumVersion.max_target_perl = 5.008000
+; these appear in every file, so it's easier to just put it here
+Test::PodSpelling.stopwords = cpan
+
+[Prereqs / RuntimeRequires]
+Moose = 0.99
+String::RewritePrefix = 0
+
+[Prereqs/ TestRequires]
+Test::More = 0.88
+Test::Deep = 0
+Test::Fatal = 0
+Test::Requires = 0.05
+
+[Prereqs / RuntimeRecommends]
+Digest::HMAC = 0
+Digest::SHA = 0
+
+[Prereqs / DevelopRequires]
+Digest::HMAC = 0
+Digest::SHA = 0
+
-
package MooseX::Storage;
use Moose qw(confess);
use MooseX::Storage::Meta::Attribute::DoNotSerialize;
use String::RewritePrefix ();
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
sub import {
my $pkg = caller();
use Digest ();
use Data::Dumper ();
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
our $DIGEST_MARKER = '__DIGEST__';
around pack => sub {
use MooseX::Storage::Engine;
use String::RewritePrefix;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
sub pack {
my ( $self, %args ) = @_;
my $e = $self->_storage_get_engine_class(%args)->new( object => $self );
package MooseX::Storage::Deferred;
use Moose::Role;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
with 'MooseX::Storage::Basic';
sub __get_method {
use Moose;
use Scalar::Util qw(refaddr);
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
# the class marker when
# serializing an object.
our $CLASS_MARKER = '__CLASS__';
use utf8 ();
use IO::AtomicFile;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
extends 'MooseX::Storage::Engine::IO::File';
sub store {
use utf8 ();
use IO::File;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
has 'file' => (
is => 'ro',
isa => 'Str',
use JSON::Any;
use utf8 ();
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
requires 'pack';
requires 'unpack';
use Storable ();
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
requires 'pack';
requires 'unpack';
use YAML::Any qw(Load Dump);
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
requires 'pack';
requires 'unpack';
use MooseX::Storage::Engine::IO::AtomicFile;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
with 'MooseX::Storage::IO::File';
sub store {
use MooseX::Storage::Engine::IO::File;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
requires 'thaw';
requires 'freeze';
use Storable ();
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
requires 'pack';
requires 'unpack';
package MooseX::Storage::Meta::Attribute::DoNotSerialize;
use Moose;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
extends 'Moose::Meta::Attribute';
with 'MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize';
# register this alias ...
package Moose::Meta::Attribute::Custom::DoNotSerialize;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
sub register_implementation { 'MooseX::Storage::Meta::Attribute::DoNotSerialize' }
1;
package MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize;
use Moose::Role;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
# register this alias ...
package Moose::Meta::Attribute::Custom::Trait::DoNotSerialize;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
sub register_implementation { 'MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize' }
1;
package MooseX::Storage::Traits::DisableCycleDetection;
use Moose::Role;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
requires 'pack';
requires 'unpack';
package MooseX::Storage::Traits::OnlyWhenBuilt;
use Moose::Role;
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
requires 'pack';
requires 'unpack';
use MooseX::Storage::Engine ();
use utf8 ();
-our $VERSION = '0.35';
-our $AUTHORITY = 'cpan:STEVAN';
-
sub peek {
my ($class, $data, %options) = @_;