Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 28, 2015
Commits on Aug 27, 2015
  1. @grosser

    colorful tests

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

    authored
    simplify test setup
  2. @grosser

    simplify test setup

    grosser authored
Commits on Jul 28, 2015
  1. Release v0.8.0

    authored
  2. Merge pull request #159 from backupify/frozen

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

    add Timecop.frozen?

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

    authored
    Fix a syntax error in the README
  2. @skanev

    Fix a syntax error in the README

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

    authored
    add Ruby 2.2 to travis.yml
  2. @dmke

    add Ruby 2.2 to travis.yml

    dmke authored
Commits on May 31, 2015
  1. Release 0.7.4

    authored
  2. Merge pull request #144 from amatsuda/parse_nil

    authored
    Date.parse(nil) should throw TypeError, not NoMethodError
Commits on Feb 24, 2015
  1. @amatsuda
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
Something went wrong with that request. Please try again.