Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix spelling in docs for ActiveJob::Serializers::ObjectSerializer#deserialize | Jared Rader | 2018-04-13 | 1 | -1/+1 |
| | |||||
* | Fix docs of ActiveJob custom argument serializers | bogdanvlviv | 2018-02-17 | 1 | -16/+16 |
| | | | | | | Add `:nodoc:` to `ActiveJob::Serializers` Add `:doc:` to `ActiveJob::Serializers::ObjectSerializer#klass` Express `ActiveJob::Serializers::ObjectSerializer#klass` as private method | ||||
* | Add argument serializer `TimeWithZoneSerializer` | bogdanvlviv | 2018-02-17 | 1 | -0/+21 |
| | | | | | The serializer serializes an instance of `ActiveSupport::TimeWithZone`. The serializer deserializes value to `ActiveSupport::TimeWithZone` if possible. | ||||
* | Simplify the implementation of custom argument serializers | Rafael Mendonça França | 2018-02-14 | 8 | -216/+26 |
| | | | | | | | | | | | | | 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. | ||||
* | Improve documentation on custom serializers | Rafael Mendonça França | 2018-02-14 | 2 | -0/+25 |
| | |||||
* | Add serializers for Time, Date and DateTime | Rafael Mendonça França | 2018-02-14 | 5 | -0/+67 |
| | |||||
* | Allow serializers to be used either as classes or objects | Rafael Mendonça França | 2018-02-14 | 9 | -115/+103 |
| | |||||
* | Add symbol and duration serializers | Rafael Mendonça França | 2018-02-14 | 2 | -0/+45 |
| | |||||
* | Only add one more custom key in the serialized hash | Rafael Mendonça França | 2018-02-14 | 4 | -28/+14 |
| | | | | | | | Now custom serialziers can register itself in the serialized hash using the "_aj_serialized" key that constains the serializer name. This way we can avoid poluting the hash with many reserved keys. | ||||
* | Define the interface of a Serializer | Rafael Mendonça França | 2018-02-14 | 1 | -0/+18 |
| | |||||
* | Remove unnecessary qualified constant lookups | Rafael Mendonça França | 2018-02-14 | 5 | -11/+11 |
| | |||||
* | Simplify the implementation of custom serialziers | Rafael Mendonça França | 2018-02-14 | 1 | -1/+1 |
| | | | | | Right now it is only possible to define serializers globally so we don't need to use a class attribute in the job class. | ||||
* | Remove non-default serializers | Evgenii Pecherkin | 2018-02-14 | 4 | -132/+0 |
| | |||||
* | Introduce serializers to ActiveJob | Evgenii Pecherkin | 2018-02-14 | 11 | -0/+355 |