App-Office-Contacts-Import-vCards
view release on metacpan or search on metacpan
dist_author => 'Ron Savage <ron@savage.net.au>',
build_requires =>
{
Test::Simple => 0.94,
Test::Pod => 1.41,
},
requires =>
{
App::Office::Contacts => 1.10,
Moose => 0.98,
namespace::autoclean => 0.09,
Text::DoubleMetaphone => 0.07,
Text::GenderFromName => 0.33,
Text::vFile::toXML => 0.04, # For importing vCards.
XML::Handler::YAWriter => 0.23, # For xmlpretty.
XML::SAX::Base => 1.02,
XML::SAX => 0.96, # For XML::SAX::ParserFactory.
},
);
$builder -> add_build_element('conf');
- Change 'use base' to 'use parent'.
- Remove form_action from config file. See sub script_name.
- Replace references to FCGI with Plack. This includes no longer
shipping FCGI-specific files and patches to Apache's httpd.conf.
- Ship httpd/cgi-bin/office/contacts.psgi.
1.04 Sun Feb 21 12:54:17 2010
- Remove text 'All rights reserved' (for Debian licensing).
- Remove POD heads 'Required Modules' and 'Changes'.
- Replace personal doc root with /var/www.
- Use namespace::autoclean with Moose.
1.03 Fri Feb 5 17:27:00 2010
- Remove personal use lib from CGI scripts.
- Change .../cgi/... to .../app/... in dirs and config file.
- Add css_url to .htoffice.import.vcards.conf
- Rename Initialize.about to build_about_html to match App::O::C.
- Add setting css_url to Initialize.display.
1.02 Fri Jan 29 09:52:00 2010
- Change namespace from CGI::Office::* to App::Office::* after discussion with Matt Trout
Changelog.ini view on Meta::CPAN
shipping FCGI-specific files and patches to Apache's httpd.conf.
- Ship httpd/cgi-bin/office/contacts.psgi.
EOT
[V 1.04]
Date=2010-02-21T12:54:17
Comments= <<EOT
- Remove text 'All rights reserved' (for Debian licensing).
- Remove POD heads 'Required Modules' and 'Changes'.
- Replace personal doc root with /var/www.
- Use namespace::autoclean with Moose.
EOT
[V 1.03]
Date=2010-02-05T17:27:00
Comments= <<EOT
- Remove personal use lib from CGI scripts.
- Change .../cgi/... to .../app/... in dirs and config file.
- Add css_url to .htoffice.import.vcards.conf
- Rename Initialize.about to build_about_html to match App::O::C.
- Add setting css_url to Initialize.display.
version: 1.12
requires:
App::Office::Contacts: 1.1
Moose: 0.98
Text::DoubleMetaphone: 0.07
Text::GenderFromName: 0.33
Text::vFile::toXML: 0.04
XML::Handler::YAWriter: 0.23
XML::SAX: 0.96
XML::SAX::Base: 1.02
namespace::autoclean: 0.09
resources:
license: http://www.perlfoundation.org/artistic_license_1_0
version: 1.12
Makefile.PL view on Meta::CPAN
COMPRESS => 'gzip',
SUFFIX => 'gz'
},
DISTNAME => 'CGI-Office-Contacts-Import-vCards',
NAME => 'App::Office::Contacts::Import::vCards',
PL_FILES => {},
PREREQ_PM =>
{
App::Office::Contacts => 1.06,
Moose => 0.98,
namespace::autoclean => 0.09,
Text::DoubleMetaphone => 0,
Text::GenderFromName => 0,
Test::Simple => 0.94,
Test::Pod => 1.41,
Text::vFile::toXML => 0, # For importing vCards.
XML::Handler::YAWriter => 0, # For xmlpretty.
XML::SAX::Base => 0,
XML::SAX::ParserFactory => 0,
},
VERSION_FROM => 'lib/CGI/Office/Contacts/Import/vCards.pm',
lib/App/Office/Contacts/Import/vCards/Util/Config.pm view on Meta::CPAN
package App::Office::Contacts::Import::vCards::Util::Config;
use Moose;
extends 'App::Office::Contacts::Util::Config';
use namespace::autoclean;
our $VERSION = '1.12';
# -----------------------------------------------
sub BUILD
{
my($self) = @_;
my($name) = '.htoffice.import.vcards.conf';
lib/App/Office/Contacts/Import/vCards/Util/vCards.pm view on Meta::CPAN
has callback => (is => 'rw', isa => 'CodeRef');
has caller => (is => 'rw', isa => 'Any');
has email_type => (is => 'rw', isa => 'Str');
has phone_type => (is => 'rw', isa => 'Str');
has status => (is => 'rw', isa => 'Str', default => 'OK');
has text => (is => 'rw', isa => 'Str');
has vcard => (is => 'rw', isa => 'HashRef');
has vcard_count => (is => 'rw', isa => 'Int', default => 0);
has xml => (is => 'rw', isa => 'Str');
use namespace::autoclean;
our $VERSION = '1.12';
# -----------------------------------------------
sub characters
{
my($self, $characters) = @_;
$self -> text($self -> text . $$characters{Data});
lib/App/Office/Contacts/Import/vCards/View.pm view on Meta::CPAN
use Moose;
extends 'App::Office::Contacts::View::Base';
# Warning: import is a reserved word, so we use viewer.
# Error msg: Can't use string ("App::Office::Contacts::Import::v") as a HASH ref...
has person => (is => 'rw', isa => 'App::Office::Contacts::View::Person');
has viewer => (is => 'rw', isa => 'App::Office::Contacts::Import::vCards::View::vCards');
use namespace::autoclean;
our $VERSION = '1.12';
# -----------------------------------------------
sub BUILD
{
my($self) = @_;
$self -> person(App::Office::Contacts::View::Person -> new
lib/App/Office/Contacts/Import/vCards/View/vCards.pm view on Meta::CPAN
package App::Office::Contacts::Import::vCards::View::vCards;
use JSON::XS;
use Moose;
extends 'App::Office::Contacts::View::Base';
use namespace::autoclean;
our $VERSION = '1.12';
# -----------------------------------------------
sub build_import_vcards_form
{
my($self) = @_;
$self -> log(debug => 'Entered build_import_vcards_form');
( run in 0.281 second using v1.01-cache-2.11-cpan-a5abf4f5562 )