Code-TidyAll-Plugin-YAMLFrontMatter

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Version" : "2.05",
            "perl" : "5.006"
         }
      },
      "runtime" : {
         "requires" : {
            "Code::TidyAll::Plugin" : "0",
            "Encode" : "0",
            "Moo" : "0",
            "Path::Tiny" : "0",
            "Try::Tiny" : "0",
            "YAML::PP" : "0.006",
            "namespace::autoclean" : "0",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },

META.yml  view on Meta::CPAN

name: Code-TidyAll-Plugin-YAMLFrontMatter
provides:
  Code::TidyAll::Plugin::YAMLFrontMatter:
    file: lib/Code/TidyAll/Plugin/YAMLFrontMatter.pm
    version: '1.000003'
requires:
  Code::TidyAll::Plugin: '0'
  Encode: '0'
  Moo: '0'
  Path::Tiny: '0'
  Try::Tiny: '0'
  YAML::PP: '0.006'
  namespace::autoclean: '0'
  strict: '0'
  warnings: '0'
resources:
  bugtracker: https://github.com/maxmind/Code-Tidyall-Plugin-YAMLFrontMatter/issues
  homepage: http://metacpan.org/release/Code-TidyAll-Plugin-YAMLFrontMAtter
  repository: git://github.com/maxmind/Code-Tidyall-Plugin-YAMLFrontMatter.git
version: '1.000003'
x_Dist_Zilla:

Makefile.PL  view on Meta::CPAN

    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "Code-TidyAll-Plugin-YAMLFrontMatter",
  "LICENSE" => "perl",
  "NAME" => "Code::TidyAll::Plugin::YAMLFrontMatter",
  "PREREQ_PM" => {
    "Code::TidyAll::Plugin" => 0,
    "Encode" => 0,
    "Moo" => 0,
    "Path::Tiny" => 0,
    "Try::Tiny" => 0,
    "YAML::PP" => "0.006",
    "namespace::autoclean" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "Capture::Tiny" => 0,
    "Code::TidyAll" => 0,
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,

Makefile.PL  view on Meta::CPAN

  "Capture::Tiny" => 0,
  "Code::TidyAll" => 0,
  "Code::TidyAll::Plugin" => 0,
  "Encode" => 0,
  "ExtUtils::MakeMaker" => 0,
  "File::Spec" => 0,
  "Moo" => 0,
  "Path::Tiny" => 0,
  "Test::Class::Most" => 0,
  "Test::More" => "0.96",
  "Try::Tiny" => 0,
  "YAML::PP" => "0.006",
  "lib" => 0,
  "namespace::autoclean" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};

cpanfile  view on Meta::CPAN

requires "Code::TidyAll::Plugin" => "0";
requires "Encode" => "0";
requires "Moo" => "0";
requires "Path::Tiny" => "0";
requires "Try::Tiny" => "0";
requires "YAML::PP" => "0.006";
requires "namespace::autoclean" => "0";
requires "strict" => "0";
requires "warnings" => "0";

on 'test' => sub {
  requires "Capture::Tiny" => "0";
  requires "Code::TidyAll" => "0";
  requires "ExtUtils::MakeMaker" => "0";
  requires "File::Spec" => "0";

lib/Code/TidyAll/Plugin/YAMLFrontMatter.pm  view on Meta::CPAN

use strict;
use warnings;
use namespace::autoclean;

our $VERSION = '1.000003';

use Moo;

use Encode qw( decode encode FB_CROAK );
use Path::Tiny qw( path );
use Try::Tiny qw( catch try );
use YAML::PP 0.006 ();

extends 'Code::TidyAll::Plugin';

# This regular expression is based on the regex
#     \A(---\s*\n.*?\n?)^((---|\.\.\.)\s*$\n?)    (with the m flag)
# from the Jekyll source code here:
# https://github.com/jekyll/jekyll/blob/c7d98cae2652b2df7ebd3c60b4f8c87950760e47/lib/jekyll/document.rb#L13
# note - The 'm' modifier in ruby is essentially the same as 's' in Perl
#        so we need to enable the 's' modifier not 'm'

t/00-report-prereqs.dd  view on Meta::CPAN

                                      'Test::Version' => '2.05',
                                      'perl' => '5.006'
                                    }
                    },
       'runtime' => {
                      'requires' => {
                                      'Code::TidyAll::Plugin' => '0',
                                      'Encode' => '0',
                                      'Moo' => '0',
                                      'Path::Tiny' => '0',
                                      'Try::Tiny' => '0',
                                      'YAML::PP' => '0.006',
                                      'namespace::autoclean' => '0',
                                      'strict' => '0',
                                      'warnings' => '0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },



( run in 0.500 second using v1.01-cache-2.11-cpan-05444aca049 )