aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/execution_wrapper.rb
Commit message (Collapse)AuthorAgeFilesLines
* class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-131-2/+2
| | | | because Struct.new returns a Class, we just can give it a name and use it directly without inheriting from it
* Avoid bumping the class serial when invoking executorMatthew Draper2016-10-031-12/+21
|
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Directly support stateful executor hooksMatthew Draper2016-04-051-3/+42
| | | | Also, make sure to call the +complete+ hooks if +run+ fails.
* Prevent nested ExecutionWrapper calls even when using run! directlyMatthew Draper2016-03-041-6/+15
|
* Publish AS::Executor and AS::Reloader APIsMatthew Draper2016-03-021-0/+69
These should allow external code to run blocks of user code to do "work", at a similar unit size to a web request, without needing to get intimate with ActionDipatch.