index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activesupport
/
lib
/
active_support
/
testing
/
time_helpers.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
[Active Support] require_relative => require
Akira Matsuda
2017-10-21
1
-2
/
+2
*
Merge pull request #29860 from georgeclaghorn/travel-back-automatically
Rafael França
2017-07-24
1
-1
/
+8
|
\
|
*
Remove time stubs after each test
George Claghorn
2017-07-22
1
-1
/
+8
*
|
Fix doc format for `ActiveSupport::Testing::TimeHelpers` [ci skip]
yuuji.yaginuma
2017-07-15
1
-2
/
+2
|
/
*
[Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`
Koichi ITO
2017-07-11
1
-0
/
+1
*
:scissors:
Ryuta Kamizono
2017-07-11
1
-1
/
+0
*
Added time helper method `freeze_time` which is an alias for `travel_to Time....
प्रथमेश Sonpatki
2017-07-10
1
-0
/
+21
*
Use frozen-string-literal in ActiveSupport
Kir Shatrov
2017-07-09
1
-0
/
+1
*
[Active Support] require => require_relative
Akira Matsuda
2017-07-01
1
-2
/
+2
*
Explicitly require AS::Time in AS::Testing::TimeHelpers
T.J. Schuck
2017-04-18
1
-0
/
+1
*
Make time travel work with subclasses of Time/Date/Datetime
Jonas Nicklas
2017-01-10
1
-5
/
+5
*
applies new string literal convention in activesupport/lib
Xavier Noria
2016-08-06
1
-2
/
+2
*
`travel/travel_to` travel time helpers, now raise on nested calls,
Vipul A M
2016-07-02
1
-8
/
+43
*
Create times in rails timezone not system timezone [ci skip]
aarongray
2016-06-21
1
-3
/
+3
*
A few documentation tweaks [ci skip]
Robin Dupret
2015-06-07
1
-1
/
+1
*
Small doc fix. [CI SKIP]
Guo Xiang Tan
2015-03-24
1
-1
/
+1
*
add `DateTime.now` to list of `TimeHelpers#travel_to` stubbing [ci skip]
yuuji.yaginuma
2015-03-12
1
-9
/
+11
*
Change AS::Testing::TimeHelpers#travel_to to also stub DateTime.now
Yuki Nishijima
2015-02-03
1
-0
/
+1
*
Merge pull request #17302 from claudiob/replace-slower-block-call-with-faster...
Rafael Mendonça França
2014-10-18
1
-2
/
+2
*
Revert "Replace (slower) block.call with (faster) yield"
Zachary Scott
2014-10-18
1
-2
/
+2
*
Replace (slower) block.call with (faster) yield
claudiob
2014-10-18
1
-2
/
+2
*
Fix rounding errors with #travel_to by resetting the usec on any passed time ...
David Heinemeier Hansson
2014-08-17
1
-1
/
+5
*
travel_to travels back and re-raises if the block raises
Xavier Noria
2014-02-18
1
-3
/
+6
*
time helpers honor the application time zone when passed a date
Xavier Noria
2014-02-18
1
-4
/
+19
*
Improve documentation [ci skip]
Rafael Mendonça França
2014-01-30
1
-3
/
+4
*
Remove automatic removal of Date/Time stubs after each test case
Rafael Mendonça França
2014-01-30
1
-9
/
+2
*
Add `travel_back` to remove stubs from `travel` and `travel_to`
Rafael Mendonça França
2014-01-30
1
-3
/
+14
*
Use each_value
Rafael Mendonça França
2014-01-29
1
-1
/
+1
*
Store the singleton_class in a local variable
Rafael Mendonça França
2014-01-29
1
-3
/
+4
*
Change the class and method visibility
Rafael Mendonça França
2014-01-29
1
-9
/
+13
*
Use instance method instead of before hook
Rafael Mendonça França
2014-01-29
1
-9
/
+8
*
Alias the original method first to avoid warnings
Rafael Mendonça França
2014-01-29
1
-2
/
+7
*
Implement a simple stub feature to use in the Time travel helpers
Rafael Mendonça França
2014-01-29
1
-4
/
+44
*
doc `travel` and `travel_to` stubs are removed in teardown. [ci skip]
Yves Senn
2013-11-21
1
-4
/
+4
*
Add `#travel` and `#travel_to` to AS::TestCase
Prem Sichanugrist
2013-11-20
1
-0
/
+55