Permalink
Commits on May 25, 2015
  1. packaging for CPAN: 0.12

    committed May 25, 2015
Commits on Apr 20, 2015
  1. packaging for CPAN: 0.11_3

    committed Apr 20, 2015
Commits on Apr 19, 2015
  1. Merge pull request #5 from mbeijen/fix_dev_release

    Fix dev release CPAN testers failures
    committed Apr 19, 2015
Commits on Apr 14, 2015
  1. require Time::Piece 1.16 because it has add_year()

    In very old (5.10 era) versions of Time::Piece, add_year is not
    present. This lead to some test failures such as
    http://www.cpantesters.org/cpan/report/4c65193e-c735-11e4-b221-9e126cbd7f71
    
    If we require 1.16, old versions that don't meet this requirement
    will upgrade Time::Piece, and everything will be Just Fine.
    mbeijen committed Apr 14, 2015
  2. fixing rand_datetime on Win32 using Time::Piece

    Apparently %T in sprintf does not work. Luckily this is short for
    %H:%M:%S, which DOES work om MSWin32.
    
    Fixes CPAN testers reports, for example:
    http://www.cpantesters.org/cpan/report/f110ddda-6c05-1014-8085-f964cf38454c
    http://www.cpantesters.org/cpan/report/1393db51-6c05-1014-ae21-ec2e3bb86021
    mbeijen committed Apr 14, 2015
Commits on Mar 8, 2015
  1. Merge pull request #4 from mbeijen/test_fix

    Fix unit tests after port to Time::Piece
    committed Mar 8, 2015
Commits on Mar 1, 2015
  1. Fix unit tests after port to Time::Piece

    You mentioned test failures after pr#3.
    I did not have these failures but was able to reproduce them when
    I set my time zone to America/Los_Angeles for instance.
    
    My local time zone Europe/Amsterdam is too close to UTC to get
    test failures.
    
    I modified the code to use strptime and strftime, also for the
    'now' option. So now the Time::Piece objects created using 'now'
    and using explicit values are using the same methods. This made
    the test failures go away.
    mbeijen committed Mar 1, 2015
Commits on Feb 17, 2015
  1. Merge pull request #3 from mbeijen/distimp

    Porting to Time::Piece instead of Date::Calc
    committed Feb 17, 2015
Commits on Feb 13, 2015
  1. Small dist improvements

     - no execute bits on READMEs
     - update README
     - no indirect object creation
     - no two-arg open in POD example
     - strict & warnings in modules
    mbeijen committed Feb 13, 2015
  2. Improved test files to use File::Temp

    Previously, File::Spec and a temp dir was used, this was difficult
    but probably for historic reasons. Now I use File::Temp.
    Also I removed the execute bit from Makefile.PL and the tests - they
    should not have that.
    mbeijen committed Feb 13, 2015
  3. Ported tests to Time::Piece

    Also, I added more iterations to the tests; previously the tests
    created one single random date and then checked if it was between
    boundaries. Now the tests create LOTS of random dates and test the
    boundaries.
    mbeijen committed Feb 13, 2015
  4. Ported Data::Random to use Time::Piece

    Time::Piece is a core module since Perl 5.10.
    Date::Calc is diffucult to install and not so nice.
    
    And apart from that since 1st of January 2015 the module started to
    fail its unit tests and this has not been fixed yet.
    
    https://rt.cpan.org/Public/Bug/Display.html?id=101232
    
    I modified just the module in this commit. The test files also use
    Date::Calc but they're in a separate commit so you can easily check
    out just the module changes and see the 'old' tests pass with the
    new code.
    mbeijen committed Feb 13, 2015
Commits on Jan 1, 2014
  1. packaging for CPAN: 0.11

    committed Jan 1, 2014
Commits on Oct 31, 2013
  1. packaging for CPAN: 0.10

    committed Oct 31, 2013
Commits on Oct 25, 2013
  1. Merge pull request #2 from neilbowers/master

    rand_chars() returns string in scalar context and tweaked Changes
    committed Oct 25, 2013
Commits on Oct 24, 2013
Commits on Sep 14, 2013
  1. packaging for CPAN: 0.09

    committed Sep 14, 2013
Commits on Sep 18, 2012
  1. packaging for CPAN: 0.08

    committed Sep 18, 2012
Commits on Sep 13, 2012
Commits on Jun 2, 2012
  1. packaging for CPAN: 0.07

    committed Jun 2, 2012
Commits on May 31, 2012
Commits on Jan 2, 2012
Commits on Nov 15, 2011
  1. packaging for CPAN: 0.06

    committed Nov 15, 2011
Commits on Nov 7, 2011
Commits on Oct 24, 2011
Commits on Oct 19, 2011
  1. reworked rand_time() test file

    now avoids intermittent spurious failures
    now tests more thoroughly
    now tests even _more_ thoroughly when running under $AUTOMATED_TESTS
    committed Oct 19, 2011
Commits on Oct 18, 2011