App-SimplenoteSync

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    "Log::Dispatch::File" => 0,
    "Log::Dispatch::Screen::Color" => 0,
    "Method::Signatures" => 0,
    "Moose" => 0,
    "MooseX::Types::Path::Class" => 0,
    "Pod::Usage" => 0,
    "Proc::InvokeEditor" => 0,
    "Try::Tiny" => 0,
    "WebService::Simplenote" => "v0.2.0",
    "WebService::Simplenote::Note" => 0,
    "namespace::autoclean" => 0,
    "open" => 0,
    "perl" => "v5.10.0",
    "strict" => 0,
    "warnings" => 0
  },
  "script_files" => [
    "bin/simplenotesync"
  ],
  "test_requires" => {
    "JSON" => 0,

META.json  view on Meta::CPAN

            "Log::Dispatch::File" : "0",
            "Log::Dispatch::Screen::Color" : "0",
            "Method::Signatures" : "0",
            "Moose" : "0",
            "MooseX::Types::Path::Class" : "0",
            "Pod::Usage" : "0",
            "Proc::InvokeEditor" : "0",
            "Try::Tiny" : "0",
            "WebService::Simplenote" : "v0.2.0",
            "WebService::Simplenote::Note" : "0",
            "namespace::autoclean" : "0",
            "open" : "0",
            "perl" : "v5.10.0",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "requires" : {
            "JSON" : "0",
            "Path::Class" : "0",

META.json  view on Meta::CPAN

         "Moose" : "2.2013",
         "MooseX::Types::Path::Class" : "0.09",
         "Path::Class" : "0.37",
         "Pod::Usage" : "1.69",
         "Proc::InvokeEditor" : "1.13",
         "Test::More" : "1.302181",
         "Test::utf8" : "1.02",
         "Try::Tiny" : "0.30",
         "WebService::Simplenote" : "0.2.1",
         "WebService::Simplenote::Note" : "0.2.1",
         "namespace::autoclean" : "0.29",
         "open" : "1.12",
         "strict" : "1.11",
         "warnings" : "1.47"
      },
      "perl" : {
         "original" : "v5.32.0",
         "qv" : 1,
         "version" : [
            5,
            32,

lib/App/SimplenoteSync.pm  view on Meta::CPAN

use Moose;
use MooseX::Types::Path::Class;
use Log::Any qw//;
use DateTime;
use Try::Tiny;
use File::ExtAttr ':all';
use Proc::InvokeEditor;
use App::SimplenoteSync::Note;
use WebService::Simplenote;
use Method::Signatures;
use namespace::autoclean;

has ['email', 'password'] => (
    is       => 'ro',
    isa      => 'Str',
    required => 1,
);

has notes => (
    is      => 'rw',
    traits  => ['Hash'],

lib/App/SimplenoteSync/Note.pm  view on Meta::CPAN

package App::SimplenoteSync::Note;
$App::SimplenoteSync::Note::VERSION = '0.2.1';
# ABSTRACT: stores notes in plain files,

use v5.10;
use Moose;
use MooseX::Types::Path::Class;
use Try::Tiny;
use namespace::autoclean;

extends 'WebService::Simplenote::Note';

use Method::Signatures;

has '+title' => (trigger => \&_title_to_filename,);

has file => (
    is        => 'rw',
    isa       => 'Path::Class::File',



( run in 0.250 second using v1.01-cache-2.11-cpan-4d50c553e7e )