Permalink
Commits on Apr 1, 2016
  1. Merge pull request #178 from JonMidhir/add_support_for_floats

    Add support for Float arguments to Timecop.freeze, Timecop.travel
    committed Apr 1, 2016
Commits on Mar 31, 2016
  1. @JonMidhir
Commits on Aug 28, 2015
  1. Merge pull request #163 from grosser/grosser/tests

    nicer tests
    committed Aug 28, 2015
Commits on Aug 27, 2015
  1. @grosser

    colorful tests

    grosser committed Aug 27, 2015
  2. @grosser
  3. @grosser
Commits on Aug 26, 2015
  1. Merge pull request #162 from grosser/grosser/setup

    simplify test setup
    committed Aug 26, 2015
  2. @grosser

    simplify test setup

    grosser committed Aug 26, 2015
Commits on Jul 28, 2015
  1. Release v0.8.0

    committed Jul 28, 2015
  2. Merge pull request #159 from backupify/frozen

    add Timecop.frozen?
    committed Jul 28, 2015
Commits on Jul 24, 2015
  1. @jbodah

    add Timecop.frozen?

    jbodah committed Jul 24, 2015
Commits on Jun 24, 2015
  1. Merge pull request #157 from skanev/patch-1

    Fix a syntax error in the README
    committed Jun 24, 2015
  2. @skanev

    Fix a syntax error in the README

    `foo "bar" {}` is not parsed as `foo("bar") {}`, but as `foo("bar" {})`, which is invalid syntax.
    skanev committed Jun 24, 2015
Commits on Jun 18, 2015
  1. Merge pull request #155 from dmke/master

    add Ruby 2.2 to travis.yml
    committed Jun 18, 2015
  2. add Ruby 2.2 to travis.yml

    Dominik Menke committed Jun 18, 2015
Commits on May 31, 2015
  1. Release 0.7.4

    committed May 31, 2015
  2. Merge pull request #144 from amatsuda/parse_nil

    Date.parse(nil) should throw TypeError, not NoMethodError
    committed May 31, 2015
Commits on Feb 24, 2015
  1. @amatsuda
Commits on Feb 19, 2015
  1. Release 0.7.3

    committed Feb 19, 2015
  2. Merge pull request #138 from cgunther/parse-arity

    Fix arity of Date.parse and DateTime.parse
    committed Feb 19, 2015
  3. @cgunther

    Accept multiple args to Date.parse and DateTime.parse to match stdlib

    If a call to Date.parse or DateTime.parse passed a second or third
    argument while Timecop was loaded, the patched parse method would not
    match the arity since it was only expecting a single arg.
    cgunther committed Feb 19, 2015
  4. @cgunther
  5. Release 0.7.2

    committed Feb 19, 2015
  6. Merge pull request #126 from camertron/fix_timecop_return_when_error

    Issue when an error is raised in a Timecop.return block
    committed Feb 19, 2015
  7. Merge pull request #127 from mschulkind/master

    Fix a bug wrt to datetime precision after travel
    committed Feb 19, 2015
  8. tests: rename test

    committed Feb 19, 2015
  9. "Merge pull request #137 from ThomasKoppensteiner/fix_issue_133\n\nAd…

    …d fix for issue 133."
    
    * ThomasKoppensteiner/fix_issue_133:
      Add fix for issue 133.
    committed Feb 19, 2015
  10. Add fix for issue 133.

    Thomas Koppensteiner committed Feb 19, 2015
Commits on Feb 13, 2015
  1. Merge pull request #131 from ronen/master

    Eliminate ruby warnings
    committed Feb 13, 2015
Commits on Jan 9, 2015
  1. @ronen

    Eliminate warnings when ruby is in verbose/warning mode.

    Eliminates these warnings:
    
        “…/lib/timecop/timecop.rb:110: warning: instance variable @safe_mode not initialized”
        “…lib/timecop/time_stack_item.rb:45: warning: instance variable @travel_offset not initialized”
        “…lib/timecop/time_stack_item.rb:49: warning: instance variable @scaling_factor not initialized”
        “lib/timecop/time_stack_item.rb:140: warning: mismatched indentations at 'end' with 'class' at 1”
        “…lib/timecop/time_extensions.rb:74: warning: method redefined; discarding old now.”
    
    For the method redefinition warning, could have used `undef :now’, but seems cleaner instead to alias :now_without_mock_time to be the old :now, rather than coding up an equivalent. (Same pattern as used in Time in the same file)
    ronen committed Dec 7, 2014
Commits on Sep 12, 2014
  1. @mschulkind
  2. @mschulkind
Commits on Sep 11, 2014
  1. @camertron

    Fixes an issue when an error is raised in a Timecop.return block, whi…

    …ch unsets any global freezes or travels
    camertron committed Sep 11, 2014
Commits on Jun 28, 2014
  1. Remove 2.1.1

    committed Jun 28, 2014