Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 19, 2015
  1. Release 0.7.3

    authored
  2. Merge pull request #138 from cgunther/parse-arity

    authored
    Fix arity of Date.parse and DateTime.parse
  3. @cgunther

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

    cgunther authored
    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.
  4. @cgunther
  5. Release 0.7.2

    authored
  6. Merge pull request #126 from camertron/fix_timecop_return_when_error

    authored
    Issue when an error is raised in a Timecop.return block
  7. Merge pull request #127 from mschulkind/master

    authored
    Fix a bug wrt to datetime precision after travel
  8. tests: rename test

    authored
  9. "Merge pull request #137 from ThomasKoppensteiner/fix_issue_133\n\nAd…

    authored
    …d fix for issue 133."
    
    * ThomasKoppensteiner/fix_issue_133:
      Add fix for issue 133.
  10. Add fix for issue 133.

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

    authored
    Eliminate ruby warnings
Commits on Jan 9, 2015
  1. @ronen

    Eliminate warnings when ruby is in verbose/warning mode.

    ronen authored
    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)
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…

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

    authored
  2. Merge branch 'fix/travis-ci'

    authored
    * fix/travis-ci:
      Fix minitest use
      Remove test that doesnt make sense
      Fix activesupport development dependency version
      Add 2.1.0 to .travis.yml
  3. Fix minitest use

    authored
  4. Add 2.1.0 to .travis.yml

    authored
  5. Add 2.1.0 to travis.yml

    authored
Commits on May 10, 2014
  1. Use minitest

    authored
Commits on Mar 20, 2014
  1. Merge pull request #120 from aprescott/patch-1

    authored
    Position README link under the correct heading
  2. @aprescott

    Position README link under the correct heading

    aprescott authored
    #42 concerns `#scale` not `#safe_mode`.
Commits on Feb 2, 2014
Commits on Dec 30, 2013
  1. 0.7.1

    authored
  2. Merge pull request #111 from yaauie/more-issue-108

    authored
    Provide correct defaults for Date::strptime
  3. Merge pull request #112 from yaauie/fix-dst-assumptions-in-tests

    authored
    Fix failing tests caused by Daylight Savings assumptions
  4. Merge pull request #113 from yaauie/fix-minitest-dependency

    authored
    Lock minitest-reporters dependency to fix the build
Commits on Dec 5, 2013
  1. @yaauie

    Lock minitest-reporters dependency to fix the build

    yaauie authored
    On 2013-11-23, minitest-reporters released v1.0.0, which instead of
    relying on minitest <= 5.0, requires minitest >= 5.0. This change breaks
    the travis build since we rely on some deprecated APIs.
    
    This change locks us to the 0.14 series of minitest-reporters.
  2. @yaauie

    Provide correct defaults for Date::strptime

    yaauie authored
    Addresses concerns [raised][1] by @dmarkow in #109
    
    [1]: #109 (comment)
Something went wrong with that request. Please try again.