Data-Section-Writer

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Spelling" : "0",
            "Test::Strict" : "0",
            "YAML" : "0",
            "strict" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Class::Tiny" : "0",
            "Path::Tiny" : "0",
            "Ref::Util" : "0",
            "Role::Tiny" : "1.003001",
            "perl" : "v5.20.0",
            "stable" : "0",
            "true" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "EV" : "0"
         },

META.yml  view on Meta::CPAN

dynamic_config: 0
generated_by: 'Dist::Zilla version 6.032, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Data-Section-Writer
requires:
  Class::Tiny: '0'
  Path::Tiny: '0'
  Ref::Util: '0'
  Role::Tiny: '1.003001'
  perl: v5.20.0
  stable: '0'
  'true': '0'
resources:
  bugtracker: https://github.com/uperl/Data-Section-Writer/issues
  homepage: https://metacpan.org/pod/Data::Section::Writer
  repository: git://github.com/uperl/Data-Section-Writer.git
version: '0.04'
x_generated_by_perl: v5.40.0

Makefile.PL  view on Meta::CPAN

  "LICENSE"          => "perl",
  "MIN_PERL_VERSION" => "5.020000",
  "NAME"             => "Data::Section::Writer",
  "PM"               => {
    "lib/Data/Section/Pluggable/Role/FormatContentPlugin.pm" => "\$(INST_LIB)/Data/Section/Pluggable/Role/FormatContentPlugin.pm",
    "lib/Data/Section/Writer.pm"                             => "\$(INST_LIB)/Data/Section/Writer.pm"
  },
  "PREREQ_PM" => {
    "Class::Tiny" => 0,
    "Path::Tiny"  => 0,
    "Ref::Util"   => 0,
    "Role::Tiny"  => "1.003001",
    "stable"      => 0,
    "true"        => 0
  },
  "TEST_REQUIRES" => {
    "Capture::Tiny"          => 0,
    "Role::Tiny::With"       => 0,
    "Test2::API"             => "1.302015",
    "Test2::Require::Module" => "0.000121",
    "Test2::V0"              => "0.000121",

Makefile.PL  view on Meta::CPAN

  "VERSION" => "0.04",
  "test"    => {
    "TESTS" => "t/*.t"
  }
);

my %FallbackPrereqs = (
  "Capture::Tiny"          => 0,
  "Class::Tiny"            => 0,
  "Path::Tiny"             => 0,
  "Ref::Util"              => 0,
  "Role::Tiny"             => "1.003001",
  "Role::Tiny::With"       => 0,
  "Test2::API"             => "1.302015",
  "Test2::Require::Module" => "0.000121",
  "Test2::V0"              => "0.000121",
  "Test::Differences"      => 0,
  "stable"                 => 0,
  "true"                   => 0
);

lib/Data/Section/Writer.pm  view on Meta::CPAN

use true;

package Data::Section::Writer 0.04 {

  # ABSTRACT: Write __DATA__ section files for Data::Section, Data::Section::Simple or Mojo::Loader::data_section


  use Path::Tiny ();
  use Carp ();
  use Class::Tiny qw( perl_filename _files _same _formats );
  use Ref::Util qw( is_coderef is_blessed_ref is_plain_arrayref );
  use MIME::Base64 qw(encode_base64);

  sub BUILD ($self, $) {

    # use the callers filename if not provided.
    unless(defined $self->perl_filename) {
      my(undef, $fn) = caller 2;
      $self->perl_filename($fn);
    }

t/00_diag.t  view on Meta::CPAN

$modules{$_} = $_ for qw(
  Capture::Tiny
  Class::Tiny
  Data::Section
  Data::Section::Pluggable
  Data::Section::Simple
  EV
  ExtUtils::MakeMaker
  Mojolicious
  Path::Tiny
  Ref::Util
  Role::Tiny
  Role::Tiny::With
  Test2::API
  Test2::Require::Module
  Test2::V0
  Test::Differences
  stable
  true
);



( run in 1.747 second using v1.01-cache-2.11-cpan-a5abf4f5562 )