lib/active_job/arguments.rb in activejob-7.0.2.4 vs lib/active_job/arguments.rb in activejob-7.0.3

- old
+ new

@@ -1,7 +1,8 @@ # frozen_string_literal: true +require "bigdecimal" require "active_support/core_ext/hash" module ActiveJob # Raised when an exception is raised during job arguments deserialization. # @@ -15,10 +16,10 @@ # Raised when an unsupported argument type is set as a job argument. We # currently support String, Integer, Float, NilClass, TrueClass, FalseClass, # BigDecimal, Symbol, Date, Time, DateTime, ActiveSupport::TimeWithZone, # ActiveSupport::Duration, Hash, ActiveSupport::HashWithIndifferentAccess, - # Array, Range or GlobalID::Identification instances, although this can be + # Array, Range, or GlobalID::Identification instances, although this can be # extended by adding custom serializers. # Raised if you set the key for a Hash something else than a string or # a symbol. Also raised when trying to serialize an object which can't be # identified with a GlobalID - such as an unpersisted Active Record model. class SerializationError < ArgumentError; end