Permalink
Switch branches/tags
Commits on Apr 13, 2013
  1. Checking in changes prior to tagging of version 0.07.

    walf443 committed Apr 13, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index e6d8c52..2f0c405 100644
    --- a/Changes
    +++ b/Changes
    @@ -2,6 +2,9 @@ Revision history for Perl extension Test::TypeConstraints
    
     {{$NEXT}}
    
    +0.07 2013-04-13T07:48:33Z
    +        - [MISC] switch Module::Install to Minilla
    +
     0.06    Mon Jan 09 10:27:00 JST 2013
             - [MISC] update docs. (thanks schwern)
  2. switch to Minilla

    walf443 committed Apr 13, 2013
Commits on Jan 9, 2013
  1. shipit 0.06

    walf443 committed Jan 9, 2013
    ChangeLog diff is followings:
    
    	-0.05    Mon Jan 21 10:13:00 JST 2013
    	+0.06    Mon Jan 09 10:27:00 JST 2013
    	+        - [MISC] update docs. (thanks schwern)
    	+
    	+0.05    Mon Jan 08 10:13:00 JST 2013
    		 - [FEATURE] added new api: type_isnt, type_doesnt. (thanks schwern)
    		 - [MOD] option can take CodeRef for testing coercion results. (thanks schwern)
  2. update README.

    walf443 committed Jan 9, 2013
  3. Merge pull request #3 from schwern/cleanup_docs

    walf443 committed Jan 9, 2013
    Cleanup docs
Commits on Jan 8, 2013
  1. Editorial work on the POD.

    schwern committed Jan 8, 2013
    Switched to a style of listing just the method name in the header.  This makes it
    easier to search for and link to.  It also allows for a more expansive explaination
    of the interface illustrating what is required and what is optional.
    
    Document that there is a default test name.
  2. Fix the POD formatting and big doc mistakes.

    schwern committed Jan 8, 2013
    * Method body documentation was indented as code.
    * type_does docs were redundant with type_isa
    * +<> isn't valid POD formatting
    * Improved some of the English
Commits on Jan 7, 2013
  1. shipped 0.05. ChangeLog diff is followings:

    walf443 committed Jan 7, 2013
    +0.05    Mon Jan 21 10:13:00 JST 2013
    +        - [FEATURE] added new api: type_isnt, type_doesnt. (thanks schwern)
    +        - [MOD] option can take CodeRef for testing coercion results. (thanks schwern)
    +
     0.04    Sun Nov 21 22:43:00 JST 2012
             - MISC: update Module::Install 1.06 for perl 5.16 (thanks report miyagawa.)
  2. thanks patch from @schwern.

    walf443 committed Jan 7, 2013
  3. Merge pull request #2 from schwern/feature/negative_tests

    walf443 committed Jan 7, 2013
    Feature/negative tests
  4. Merge pull request #1 from schwern/feature/coercion_value

    walf443 committed Jan 7, 2013
    Allow the coercion value to be directly tested.
Commits on Jan 1, 2013
  1. Add type_isnt and type_doesnt.

    schwern committed Jan 1, 2013
    For rt.cpan.org 82352
  2. Change the internal function to take a type constraint.

    schwern committed Jan 1, 2013
    I think this pattern is going to make doing type_doesnt and type_isnt
    easier to implement.
  3. Extract the logic to create a type constraint from a type.

    schwern committed Jan 1, 2013
    This will be used by type_isnt and type_doesnt
  4. Refactor the duplicate code in type_isa and type_does.

    schwern committed Jan 1, 2013
    Aside from how the type constraint was created, they were exactly the same.
    
    Not having duplicate code will be helpful when making type_isnt and
    type_doesnt shortly.
Commits on Dec 31, 2012
  1. Allow the coercion value to be directly tested.

    schwern committed Dec 31, 2012
    Not enough that it passes the type constraint, its also important that
    the coercion results in the correct value.
    
    For rt.cpan.org 82353.
Commits on Oct 21, 2012
  1. shipit 0.04

    walf443 committed Oct 21, 2012
    ChangeLog diff is followings:
    
    +0.04    Sun Nov 21 22:43:00 JST 2012
    +        - MISC: update Module::Install 1.06 for perl 5.16 (thanks report miyagawa.)
    +
Commits on Nov 23, 2011
  1. Checking in changes prior to tagging of version 0.03.

    walf443 committed Nov 23, 2011
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 1c96e42..fa1712c 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,8 @@
     Revision history for Perl extension Test::TypeConstraints
    
    +0.03    Thu Jul  7 05:25:49 JST 2011
    +        - fixed dependency.
    +
     0.02    Thu Jul  7 05:25:49 JST 2011
             - fixed dependency.
             - rewrite t/02_failcase.t using Test::Tester.
  2. fixed packaging issue.

    walf443 committed Nov 23, 2011
    - remove needless dependency.
    - no auto_include
    - remove needless use in test file.
Commits on Jul 6, 2011
  1. Checking in changes prior to tagging of version 0.02.

    walf443 committed Jul 6, 2011
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 515ae4f..1c96e42 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,4 +1,7 @@
     Revision history for Perl extension Test::TypeConstraints
    
    +0.02    Thu Jul  7 05:25:49 JST 2011
    +        - fixed dependency.
    +        - rewrite t/02_failcase.t using Test::Tester.
     0.01    Tue Jun 28 07:35:01 2011
             - original version
  2. fixed deps.

    walf443 committed Jul 6, 2011
Commits on Jul 4, 2011
  1. added type_does method.

    walf443 committed Jul 4, 2011
  2. wrote THANKS TO.

    walf443 committed Jul 4, 2011
  3. write doc.

    walf443 committed Jul 4, 2011
  4. checking object more stricter.

    walf443 committed Jul 4, 2011
  5. local $var += 1 is wronge. becase of it is "$var = undef + 1"

    walf443 committed Jul 4, 2011
    code is followings:
    	use strict;
    	use warnings;
    	use Test::More;
    
    	our $TEST = 10;
    
    	{
    	    local $TEST += 1;
    	    is($TEST, 1, "undef + 1 = 1");
    	}
    	is($TEST, 10, "restore ok");
    
    	{
    	    local $TEST = $TEST + 1;
    	    is($TEST, 11, "10 + 1 = 1");
    	}
    	is($TEST, 10, "restore ok");
    
    	done_testing();
Commits on Jul 3, 2011
  1. write type_is_a_ok.

    walf443 committed Jul 3, 2011
Commits on Jun 27, 2011
  1. initial commit

    walf443 committed Jun 27, 2011