Revisions of perl-Carp-Assert-More

buildservice-autocommit accepted request 1165828 from Tina Müller's avatar Tina Müller (tinita) (revision 27)
baserev update by copy to link target
Tina Müller's avatar Tina Müller (tinita) accepted request 1160740 from Tina Müller's avatar Tina Müller (tinita) (revision 26)
- updated to 2.4.0
   see /usr/share/doc/packages/perl-Carp-Assert-More/Changes
  2.4.0   
          [ENHANCEMENTS]
          New function assert_arrayref_all() calls an assertion function for every element in the array.
              my $aref_of_counts = get_counts();
              assert_arrayref_all( $aref, \&assert_positive_integer, 'Counts are positive' );
          assert_context_scalar() now provides a default message of
          "function_name must be called in scalar context".
          assert_context_nonvoid() now provide a default message of
          "function_name must not be called in void context".
buildservice-autocommit accepted request 1090362 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 25)
baserev update by copy to link target
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 1090345 from Tina Müller's avatar Tina Müller (tinita) (revision 24)
- updated to 2.3.0
   see /usr/share/doc/packages/perl-Carp-Assert-More/Changes
  2.3.0   
          [ENHANCEMENTS]
          Added assert_arrayref_of() to verify that all of the elements
          in an arrayref are of a given type. For example:
              my $users = get_users();
              assert_arrayref_of( $users, 'My::User' );
buildservice-autocommit accepted request 1066004 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 23)
baserev update by copy to link target
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 1065468 from Tina Müller's avatar Tina Müller (tinita) (revision 22)
- updated to 2.2.0
   see /usr/share/doc/packages/perl-Carp-Assert-More/Changes
  2.2.0   
          [ENHANCEMENTS]
          Added assert_cmp( $x, $op, $y [, $msg] ), analogous to cmp_ok in Test::More, so you can do
              assert_cmp( $n, '>', 10 );
          which will give better diagnostics than just
              assert( $n > 10 );
          Operators supported are: lt le gt ge == != > >= < <=
          assert_all_keys_in() now lists all key failures in the message, not just the first one.
          assert_keys_are() now lists all key failures in the message, not just the first one.
buildservice-autocommit accepted request 998966 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 21)
baserev update by copy to link target
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 998818 from Tina Müller's avatar Tina Müller (tinita) (revision 20)
- updated to 2.1.0
   see /usr/share/doc/packages/perl-Carp-Assert-More/Changes
  2.1.0   
          [ENHANCEMENTS]
          Add diagnostic strings to the failures. For example:
              assert_nonblank( [ 'foo' ], 'This should be nonblank' );
          would fail with:
              Assertion (This should be nonblank) failed!
          but now fails with:
              Assertion (This should be nonblank) failed!
              Value is a reference to ARRAY.
          Similar changes have been made to:
          * assert_all_keys_in
          * assert_keys_are
          * assert_empty
          * assert_nonempty
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 913790 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 19)
- updated to 2.0.1
   see /usr/share/doc/packages/perl-Carp-Assert-More/Changes
  2.0.1   
          [FIXES]
          assert_all_keys_in() mistakenly required a non-empty list of
          keys to check.
          [ENHANCEMENTS]
          Sped up assert_isa_in(), assert_is().
  2.0.0   
          [DIFFERENCES]
          Now requires Perl 5.10 or higher.  No longer requires Carp::Assert.
          The numeric functions are more stringent now.  If it expects
          a number, then you need to pass a number.  For example,
          assert_nonnegative($x) would pass if $x was a non-numeric
          string. Now it must be numeric.
          assert_empty() and assert_nonempty() no longer gives a message
          of "Not an array or hash reference".  If you don't pass an array
          or hash reference, the assertion will just fail with the message
          passe3d in.
          assert_aoh() and assert_datetime() no longer provide a default
          message.
          assert_in() is more strict. Each element of the target array
          is checked to not be a reference.
          assert_exists() and assert_lacks() are more strict.  The list
          of keys to check cannot be empty.
          [ENHANCEMENTS]
          Most of the functions are about twice as fast because of reduced
          number of function calls internally.
          Added assert_context_nonvoid() and assert_context_scalar()
          to assert on how the executing function has been called.
          assert_in() now lets you use undef as both the needle and one
          of the values in the haystack.
buildservice-autocommit accepted request 860222 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 18)
baserev update by copy to link target
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 859014 from Tina Müller's avatar Tina Müller (tinita) (revision 17)
- updated to 1.26
   see /usr/share/doc/packages/perl-Carp-Assert-More/Changes
  1.26    
          [ENHANCEMENTS]
          Add assert_arrayref_nonempty().
          Add assert_hashref_nonempty().
buildservice-autocommit accepted request 840238 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 16)
baserev update by copy to link target
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 840205 from Tina Müller's avatar Tina Müller (tinita) (revision 15)
- updated to 1.24
   see /usr/share/doc/packages/perl-Carp-Assert-More/Changes
  1.24    
          [ENHANCEMENTS]
          The requirement for Perl 5.10 has been reverted to 5.6.1.
  1.22    
          [ENHANCEMENTS]
          Add assert_keys_are() for asserting an exact list of keys.
buildservice-autocommit accepted request 722196 from Tina Müller's avatar Tina Müller (tinita) (revision 14)
baserev update by copy to link target
Tina Müller's avatar Tina Müller (tinita) accepted request 722119 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 13)
automatic update
buildservice-autocommit accepted request 717508 from Lars Vogdt's avatar Lars Vogdt (lrupp) (revision 12)
baserev update by copy to link target
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 717355 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 11)
automatic update
buildservice-autocommit accepted request 516828 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 10)
baserev update by copy to link target
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 514620 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 9)
automatic update
buildservice-autocommit accepted request 177658 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 8)
baserev update by copy to link target
Displaying revisions 1 - 20 of 27
openSUSE Build Service is sponsored by