aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/jobs/timezone_dependent_job.rb
Commit message (Collapse)AuthorAgeFilesLines
* Require time extensions in the job that depends on timeRafael Mendonça França2019-08-021-0/+1
|
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
| | | | | | | | | | | We sometimes say "✂️ newline after `private`" in a code review (e.g. https://github.com/rails/rails/pull/18546#discussion_r23188776, https://github.com/rails/rails/pull/34832#discussion_r244847195). Now `Layout/EmptyLinesAroundAccessModifier` cop have new enforced style `EnforcedStyle: only_before` (https://github.com/rubocop-hq/rubocop/pull/7059). That cop and enforced style will reduce the our code review cost.
* Add support for timezones to Active JobAndrew White2018-02-221-0/+22
Record what was the current timezone in effect when the job was enqueued and then restore when the job is executed in same way that the current locale is recorded and restored.