Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Specio-0.48-1.8 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: perl-Specio Distribution: openSUSE:Factory:zSystems
Version: 0.48 Vendor: openSUSE
Release: 1.8 Build date: Sun Jun 12 05:07:32 2022
Group: Unspecified Build host: reproducible
Size: 380518 Source RPM: perl-Specio-0.48-1.8.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/Specio
Summary: Type constraints and coercions for Perl
The 'Specio' distribution provides classes for representing type
constraints and coercion, along with syntax sugar for declaring them.

Note that this is not a proper type system for Perl. Nothing in this
distribution will magically make the Perl interpreter start checking a
value's type on assignment to a variable. In fact, there's no built-in way
to apply a type to a variable at all.

Instead, you can explicitly check a value against a type, and optionally
coerce values to that type.

My long-term goal is to replace Moose's built-in types and MooseX::Types
with this module.

Provides

Requires

License

Artistic-2.0

Changelog

* Sun Jun 12 2022 Tina Müller <timueller+perl@suse.de>
  - updated to 0.48
    see /usr/share/doc/packages/perl-Specio/Changes
    0.48     2022-06-11
    - Importing types into a class which inherited from another class that had
      imported types wouldn't work, leaving the child class with no `t()`
      sub. Patch by Kerin Millar.
* Tue Feb 16 2021 Dirk Stoecker <opensuse@dstoecker.de>
  - updated to 0.47
    see /usr/share/doc/packages/perl-Specio/Changes
    0.47     2021-01-29
    - Change Specio constraint object's stringification overloading to return the
      type name rather than the default Perl object stringification, which gives
      you something like
      "Specio::Constraint::Parameterized=HASH(0x564d258efb48)". Anonymous are
      special cased to return something you can print.
    - All types now overload the `eq` comparison operator. Moose expects types to
      be comparable in this manner when doing role summation. This fixes a bug
      reported by Martin Gruner. GH #18.
* Sun Mar 15 2020 <timueller+perl@suse.de>
  - updated to 0.46
    see /usr/share/doc/packages/perl-Specio/Changes
    0.46     2020-03-14
    - No code changes, just fixing a mistake in the POD. Reported by Petr
      Pisar. Fixes #17.
    0.45     2019-11-24
    - Made XString a prereq if installing with Perl 5.10+.
* Thu Aug 15 2019 Stephan Kulow <coolo@suse.com>
  - updated to 0.44
    see /usr/share/doc/packages/perl-Specio/Changes
    0.44     2019-08-14
    - Replaced the use of B with XString if it is installed. The latter is much
      smaller and provides the one subroutine from B we cared about. Based on GH
      [#15]. Implemented by Nicolas R.
* Thu Nov 08 2018 Stephan Kulow <coolo@suse.com>
  - updated to 0.43
    see /usr/share/doc/packages/perl-Specio/Changes
    0.43     2018-10-26
    - Optimized compile-time operations to make Specio itself quicker to
      load. Specio's load time is a non-trivial part of the load time of DateTime
      (and presumably other things that use it). Based on
      https://github.com/houseabsolute/DateTime.pm/issues/85. Reported by
      versable.
* Sun Nov 05 2017 coolo@suse.com
  - updated to 0.42
    see /usr/share/doc/packages/perl-Specio/Changes
    0.42     2017-11-04
    - The Perl library claimed it provided types named LaxVersionStr and
      StrictVersionStr but they were really named LaxVersion and
      StrictVersion. The names have now been fixed to match the documentation, so
      they are LaxVersionStr and StrictVersionStr.
    0.41     2017-11-04
    - Fixed checks for whether a class is loaded in light of upcoming optimization
      in Perl 5.28. Fixed by Sprout (GH #12).
* Tue Aug 15 2017 coolo@suse.com
  - updated to 0.40
    see /usr/share/doc/packages/perl-Specio/Changes
    0.40     2017-08-03
    - Fixed more bugs with {any,object}_{can,does,isa}_type. When passed a glob
      (not a globref) they would die in their type check. On Perl 5.16 or earlier,
      passing a number to an any_* type would also die.
    - Fixed subification overloading. If Sub::Quote was loaded, this would be
      used, but any environment variables needed for the closure would not be
      included. This broke enums, among other things.
* Thu Aug 03 2017 coolo@suse.com
  - updated to 0.39
    see /usr/share/doc/packages/perl-Specio/Changes
    0.39     2017-08-02
    - Many bug fixes and improves to the types created by
      {any,object}_{can,does,isa}_type. In some cases, an invalid value could
      cause an exception in type check itself. In other cases, a value which
      failed a type check would cause an exception when generating a message
      describing the failure. These cases have all been fixed.
    - The messages describing a failure for all of these types have been improved.
    - You can now create anonymous *_does and *_isa types using the exports from
      Specio::Declare.
* Sun Jul 02 2017 coolo@suse.com
  - updated to 0.38
    see /usr/share/doc/packages/perl-Specio/Changes
    0.38     2017-07-01
    - Simplify checks for overloading to not call overload::Overloaded(). Just
      checking the return value of overload::Method() is sufficient.
* Wed May 10 2017 coolo@suse.com
  - updated to 0.37
    see /usr/share/doc/packages/perl-Specio/Changes
    0.37     2017-05-09
    - Possible fix for very weird failures seen under threaded Perls with some
      modules that use Specio.

Files

/usr/lib/perl5/vendor_perl/5.38.2/Specio
/usr/lib/perl5/vendor_perl/5.38.2/Specio.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Coercion.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/AnyCan.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/AnyDoes.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/AnyIsa.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Enum.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Intersection.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/ObjectCan.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/ObjectDoes.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/ObjectIsa.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Parameterizable.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Parameterized.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Role
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Role/CanType.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Role/DoesType.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Role/Interface.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Role/IsaType.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Simple.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Structurable.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Structured.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Constraint/Union.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Declare.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/DeclaredAt.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Exception.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Exporter.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Helpers.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library/Builtins.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library/Numeric.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library/Perl.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library/String.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library/Structured
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library/Structured.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library/Structured/Dict.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library/Structured/Map.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Library/Structured/Tuple.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/OO.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/PartialDump.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Registry.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Role
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Role/Inlinable.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/Subs.pm
/usr/lib/perl5/vendor_perl/5.38.2/Specio/TypeChecks.pm
/usr/lib/perl5/vendor_perl/5.38.2/Test
/usr/lib/perl5/vendor_perl/5.38.2/Test/Specio.pm
/usr/share/doc/packages/perl-Specio
/usr/share/doc/packages/perl-Specio/CODE_OF_CONDUCT.md
/usr/share/doc/packages/perl-Specio/CONTRIBUTING.md
/usr/share/doc/packages/perl-Specio/Changes
/usr/share/doc/packages/perl-Specio/README.md
/usr/share/doc/packages/perl-Specio/TODO.md
/usr/share/licenses/perl-Specio
/usr/share/licenses/perl-Specio/LICENSE
/usr/share/man/man3/Specio.3pm.gz
/usr/share/man/man3/Specio::Coercion.3pm.gz
/usr/share/man/man3/Specio::Constraint::AnyCan.3pm.gz
/usr/share/man/man3/Specio::Constraint::AnyDoes.3pm.gz
/usr/share/man/man3/Specio::Constraint::AnyIsa.3pm.gz
/usr/share/man/man3/Specio::Constraint::Enum.3pm.gz
/usr/share/man/man3/Specio::Constraint::Intersection.3pm.gz
/usr/share/man/man3/Specio::Constraint::ObjectCan.3pm.gz
/usr/share/man/man3/Specio::Constraint::ObjectDoes.3pm.gz
/usr/share/man/man3/Specio::Constraint::ObjectIsa.3pm.gz
/usr/share/man/man3/Specio::Constraint::Parameterizable.3pm.gz
/usr/share/man/man3/Specio::Constraint::Parameterized.3pm.gz
/usr/share/man/man3/Specio::Constraint::Role::CanType.3pm.gz
/usr/share/man/man3/Specio::Constraint::Role::DoesType.3pm.gz
/usr/share/man/man3/Specio::Constraint::Role::Interface.3pm.gz
/usr/share/man/man3/Specio::Constraint::Role::IsaType.3pm.gz
/usr/share/man/man3/Specio::Constraint::Simple.3pm.gz
/usr/share/man/man3/Specio::Constraint::Structurable.3pm.gz
/usr/share/man/man3/Specio::Constraint::Structured.3pm.gz
/usr/share/man/man3/Specio::Constraint::Union.3pm.gz
/usr/share/man/man3/Specio::Declare.3pm.gz
/usr/share/man/man3/Specio::DeclaredAt.3pm.gz
/usr/share/man/man3/Specio::Exception.3pm.gz
/usr/share/man/man3/Specio::Exporter.3pm.gz
/usr/share/man/man3/Specio::Helpers.3pm.gz
/usr/share/man/man3/Specio::Library::Builtins.3pm.gz
/usr/share/man/man3/Specio::Library::Numeric.3pm.gz
/usr/share/man/man3/Specio::Library::Perl.3pm.gz
/usr/share/man/man3/Specio::Library::String.3pm.gz
/usr/share/man/man3/Specio::Library::Structured.3pm.gz
/usr/share/man/man3/Specio::Library::Structured::Dict.3pm.gz
/usr/share/man/man3/Specio::Library::Structured::Map.3pm.gz
/usr/share/man/man3/Specio::Library::Structured::Tuple.3pm.gz
/usr/share/man/man3/Specio::OO.3pm.gz
/usr/share/man/man3/Specio::PartialDump.3pm.gz
/usr/share/man/man3/Specio::Registry.3pm.gz
/usr/share/man/man3/Specio::Role::Inlinable.3pm.gz
/usr/share/man/man3/Specio::Subs.3pm.gz
/usr/share/man/man3/Specio::TypeChecks.3pm.gz
/usr/share/man/man3/Test::Specio.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 30 23:40:23 2024