Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rails 6 requires Ruby 2.4.1+ | Jeremy Daer | 2018-02-17 | 1 | -3/+2 |
| | | | | | | Skipping over 2.4.0 to sidestep the `"symbol_from_string".to_sym.dup` bug. References #32028 | ||||
* | Simplify the implementation of custom argument serializers | Rafael Mendonça França | 2018-02-14 | 1 | -2/+139 |
| | | | | | | | | | | | | | We can speed up things for the supported types by keeping the code in the way it was. We can also avoid to loop trough all serializers in the deserialization by trying to access the class already in the Hash. We could also speed up the custom serialization if we define the class that is going to be serialized when registering the serializers, but that will remove the possibility of defining a serialzer for a superclass and have the subclass serialized using it. | ||||
* | Introduce serializers to ActiveJob | Evgenii Pecherkin | 2018-02-14 | 1 | -130/+2 |
| | |||||
* | [Active Job] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveJob | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Removed deprecated #original_exception in ActiveJob::DeserializationError | Rafael Mendonça França | 2016-10-10 | 1 | -13/+1 |
| | |||||
* | Fixnum and Bignum are deprecated in Ruby trunk | Matthew Draper | 2016-10-08 | 1 | -2/+2 |
| | | | | https://bugs.ruby-lang.org/issues/12739 | ||||
* | fixes remaining RuboCop issues [Vipul A M, Xavier Noria] | Xavier Noria | 2016-09-01 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in activejob/lib | Xavier Noria | 2016-08-06 | 1 | -4/+4 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Support for unified Integer class in Ruby 2.4+ | Jeremy Daer | 2016-05-18 | 1 | -2/+3 |
| | | | | | | | | Ruby 2.4 unifies Fixnum and Bignum into Integer: https://bugs.ruby-lang.org/issues/12005 * Forward compat with new unified Integer class in Ruby 2.4+. * Backward compat with separate Fixnum/Bignum in Ruby 2.2 & 2.3. * Drops needless Fixnum distinction in docs, preferring Integer. | ||||
* | Added support for bigdecimals in perform later | Siva Gollapalli | 2015-12-03 | 1 | -2/+2 |
| | |||||
* | Deprecate exception#original_exception in favor of exception#cause | Yuki Nishijima | 2015-11-03 | 1 | -9/+16 |
| | |||||
* | Improve error message when serializing unsaved records for jobs | Faraz Yashar | 2015-06-28 | 1 | -7/+14 |
| | |||||
* | Add doc for original_exception in ActiveJob::DeserializationError [ci skip] | Zachary Scott | 2015-04-29 | 1 | -0/+2 |
| | |||||
* | nodoc private internal constants from ActiveJob::Arguments | Zachary Scott | 2015-04-26 | 1 | -0/+5 |
| | |||||
* | Allow keyword arguments to work with ActiveJob | Sean Griffin | 2015-01-30 | 1 | -9/+40 |
| | | | | | | | | | | | | | | | | | Unfortunately, the HashWithIndifferent access approach is insufficient for our needs. It's perfectly reasonable to want to use keyword arguments with Active Job, which we will see as a symbol keyed hash. For Ruby to convert this back to keyword arguments, it must deserialize to a symbol keyed hash. There are two primary changes to the serialization behavior. We first treat a HWIA separately, and mark it as such so we can convert it back into a HWIA during deserialization. For normal hashes, we keep a list of all symbol keys, and convert them back to symbol keys after deserialization. Fixes #18741. | ||||
* | Add 'require' for Hash#with_indifferent_access | joker1007 | 2014-12-21 | 1 | -0/+2 |
| | | | | | | | | | ActiveJob::Arguments uses Hash#with_indifferent_access. But, activejob gem does not require Hash extension library. When we use activejob as standalone, we need extra require statement. This is unhandy. This commit fixes it. | ||||
* | Add documentation on Active Job. | mo khan | 2014-10-02 | 1 | -0/+6 |
| | | | | | | | This adds documentation for the Active Job API. It includes documentation on how to configure the queue_adapter, and how to create new jobs. It adds links to the various other sections of the Active Job documentation. | ||||
* | Fix string/gid collision in job arguments | Jeremy Kemper | 2014-09-25 | 1 | -3/+27 |
| | | | | Serialize Global IDs as special objects, distinguishable from Strings | ||||
* | Tighten up AJ::Arguments and its tests | Jeremy Kemper | 2014-09-14 | 1 | -8/+14 |
| | | | | | * Disallow deserialization of non-primitive objects * Broaden coverage; remove superfluous tests | ||||
* | Bump globalid version | Abdelkader Boudih | 2014-09-12 | 1 | -1/+1 |
| | |||||
* | Fix a warning | Matthew Draper | 2014-09-05 | 1 | -1/+1 |
| | |||||
* | [Active Job] Try to deserialize with GlobalID only strings and globalids | Cristian Bica | 2014-09-03 | 1 | -1/+3 |
| | |||||
* | Fix for double ActiveJob::DeserializationErorr | Cristian Bica | 2014-09-03 | 1 | -5/+5 |
| | |||||
* | Fix a few typos [ci skip] | Robin Dupret | 2014-08-24 | 1 | -1/+1 |
| | |||||
* | Raise ActiveJob::SerializationError when cannot serialize job arguments | Cristian Bica | 2014-08-24 | 1 | -2/+13 |
| | |||||
* | [ActiveJob] raise DeserializationError when got an error deserializing | Cristian Bica | 2014-08-17 | 1 | -0/+12 |
| | |||||
* | [ActiveJob] Use globalid gem | Abdelkader Boudih | 2014-08-17 | 1 | -5/+2 |
| | |||||
* | [ActiveJob] Convert ActiveJob::Arguments into module | Abdelkader Boudih | 2014-08-17 | 1 | -6/+7 |
| | |||||
* | Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709' | Abdelkader Boudih | 2014-08-12 | 1 | -0/+52 |
git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709 |