./devel/p5-Params-ValidationCompiler, Build an optimized subroutine parameter validator once, use it forever

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.24nb1, Package name: p5-Params-ValidationCompiler-0.24nb1, Maintainer: pkgsrc-users

Create a customized, optimized, non-lobotomized, uncompromised, and
thoroughly specialized parameter checking subroutine.


Required to run:
[lang/perl5] [devel/p5-Exception-Class] [devel/p5-Eval-Closure]

Required to build:
[devel/p5-Test-Without-Module] [pkgtools/cwrappers] [devel/p5-Specio] [devel/p5-Test2-Plugin-NoWarnings] [devel/p5-Test2-Suite] [devel/p5-Term-Table] [devel/p5-Sub-Info]

Master sites:

SHA1: b65c93673fc8ecde87e5eae358f5aaec8e86ed6e
RMD160: 5370e02073f64161786d5c1cde11c63ac56c5d47
Filesize: 42.421 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-04-19 15:51:06 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Params-ValidationCompiler to 0.24.

0.24     2017-04-08

- The source_for() exported by Params::ValidationCompiler did not work at
  all. Reported by Diab Jerius. GH #16.
   2017-03-20 14:20:22 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
Add following lines for make test
 BUILD_DEPENDS+= p5-Sub-Info-[0-9]*:../../devel/p5-Sub-Info
 BUILD_DEPENDS+= p5-Term-Table-[0-9]*:../../devel/p5-Term-Table
   2017-01-25 13:17:08 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Params-ValidationCompiler to 0.23.

0.23     2017-01-23

- Trying to create a validator for positional parameters where a required
  param came after one with a default did not throw an exception.

- A positional params validator with a slurpy type which had coercions did not
  return the coerced values. It returned the original values instead.
   2017-01-01 15:48:24 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Params-ValidationCompiler to 0.22.

0.22     2016-12-31

- Explicitly load the B module. Previously the code relied on this already
  being loaded by something else. Fixed by Tomasz Konojacki. PR #11.

- Removed the alpha warning from the docs.
   2016-12-12 10:45:19 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Params-ValidationCompiler to 0.21.

0.21     2016-12-06

- Switched to using GitHub issues.

0.20     2016-12-05

- The keys for parameter specifications are now validated. If an unknown key
  is seen then an exception will be thrown. This will help you catch typos in
  your parameter specification. Implemented by Greg Oschwald. PR #8.
   2016-11-28 14:52:39 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Params-ValidationCompiler to 0.19.

0.19     2016-11-21

- Non-inlinable Specio types caused a syntax error when used with positional
  params.

- Positional params with coercions and defaults did not work properly. The
  coerced value and the default would simply not be returned in any case.
   2016-11-16 11:23:55 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Params-ValidationCompiler to 0.18.

0.18     2016-11-13

- Using coercions with positional parameters could cause a "Modification of a
  read-only value attempted" exception when the generated code tried to assign
  to elements of @_. This is now fixed by making a copy if any of the types
  have a coercion.

- Using Moose types with coercions in a positional params check would cause
  invalid code to be generated. This could also happen with Type::Tiny if
  either the type or a coercion could not be inlined.