Locale-TextDomain-OO-Util

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl extension Locale::TextDomain:OO::Util.

4.002  Fri Mar 15 22:39:33 2019
- added $Test::Differences::NoDeparse = 1;
  to have equal behaviour
  https://rt.cpan.org/Ticket/Display.html?id=128843

4.001  Mon Jun  4 16:54:05 2018
- removed module Safe (parse formula and break in case of wrong)
- also removed related method patch_safe_module
- depends on Perl 5.010 now

3.008  Wed Jul 19 12:48:01 2017
- remove Module::Build from dist dependencies (2nd try)

META.json  view on Meta::CPAN

   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
      "version" : "2"
   },
   "name" : "Locale-TextDomain-OO-Util",
   "prereqs" : {
      "build" : {
         "requires" : {
            "Cwd" : "0",
            "Test::Differences" : "0.60",
            "Test::Exception" : "0",
            "Test::More" : "0",
            "Test::NoWarnings" : "0"
         }
      },
      "runtime" : {
         "recommends" : {
            "Test::Pod" : "1.14",
            "Test::Pod::Coverage" : "1.04"
         },

META.yml  view on Meta::CPAN

---
abstract: 'Locale::TextDomain::OO::Util - Lexicon utils'
author:
  - 'Steffen Winkler <steffenw at cpan.org>'
build_requires:
  Cwd: '0'
  Test::Differences: '0.60'
  Test::Exception: '0'
  Test::More: '0'
  Test::NoWarnings: '0'
dynamic_config: 1
generated_by: 'Module::Build version 0.4218, CPAN::Meta::Converter version 2.150005'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Locale-TextDomain-OO-Util

Makefile.PL  view on Meta::CPAN

# Note: this file was auto-generated by Module::Build::Compat version 0.4218
require 5.010;
use ExtUtils::MakeMaker;
WriteMakefile
(
  'VERSION_FROM' => 'lib/Locale/TextDomain/OO/Util.pm',
  'PREREQ_PM' => {
                   'Test::Differences' => '0.60',
                   'Cwd' => 0,
                   'namespace::autoclean' => 0,
                   'Test::Exception' => 0,
                   'charnames' => 0,
                   'Test::More' => 0,
                   'Test::NoWarnings' => 0,
                   'English' => 0,
                   'Carp' => 0
                 },
  'EXE_FILES' => [],

t/01_constants.t  view on Meta::CPAN

#!perl -T

use strict;
use warnings;

use Test::More tests => 5;
use Test::Differences;
use Test::NoWarnings;

BEGIN {
    use_ok 'Locale::TextDomain::OO::Util::Constants';
}

my $const = Locale::TextDomain::OO::Util::Constants->instance;


eq_or_diff

t/02_join_split.t  view on Meta::CPAN

#!perl -T

use strict;
use warnings;

use Test::More tests => 23;
use Test::NoWarnings;
use Test::Differences;

BEGIN {
    use_ok 'Locale::TextDomain::OO::Util::JoinSplitLexiconKeys';
}

my $key_util = Locale::TextDomain::OO::Util::JoinSplitLexiconKeys->instance;

LEXICON_KEY: {
    is
        $key_util->join_lexicon_key,

t/03_extract_header.t  view on Meta::CPAN

#!perl -T

use strict;
use warnings;

use Test::More tests => 7;
use Test::Exception;
use Test::NoWarnings;
use Test::Differences;

{
    no warnings qw(once); ## no critic (NoWarnings)
    $Test::Differences::NoDeparse = 1;
}

BEGIN {
    use_ok 'Locale::TextDomain::OO::Util::ExtractHeader';
}

my $extractor = Locale::TextDomain::OO::Util::ExtractHeader->instance;

eq_or_diff
    my $extract_ref = $extractor->extract_header_msgstr(<<'EOT'),

t/11_test_examples.t  view on Meta::CPAN

#!perl

use strict;
use warnings;

use Test::More;
use Test::Differences;
use Cwd qw(getcwd chdir);
use English qw(-no_match_vars $CHILD_ERROR);

$ENV{AUTHOR_TESTING}
    or plan skip_all => 'Set $ENV{AUTHOR_TESTING} to run this test.';

my @data = (
    {
        test   => '01_constants',
        path   => 'example',



( run in 0.563 second using v1.01-cache-2.11-cpan-131fc08a04b )