Sha256: 79cfff4f4a054406f0687828c8382f0df7bff2a4489b5680d8cc9385cf1beca9
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
# frozen_string_literal: true require 'oj' module AdequateSerialization class Error < StandardError def initialize(message) super(message.gsub("\n", ' ')) end end class << self attr_accessor :active_job_queue def configure yield self end end self.active_job_queue = :default end require 'adequate_serialization/attribute' require 'adequate_serialization/decorator' require 'adequate_serialization/inline_serializer' require 'adequate_serialization/options' require 'adequate_serialization/serializable' require 'adequate_serialization/serializer' require 'adequate_serialization/steps' require 'adequate_serialization/version' require 'adequate_serialization/steps/step' require 'adequate_serialization/steps/serialize_step' if defined?(Rails) require 'adequate_serialization/rails/cache_busting' require 'adequate_serialization/rails/cache_step' require 'adequate_serialization/rails/cache_visualization' require 'adequate_serialization/rails/relation_serializer' module AdequateSerialization Serializer.singleton_class.prepend(CacheBusting) ActiveRecord::Base.include(Serializable) end Oj.optimize_rails end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adequate_serialization-2.0.0 | lib/adequate_serialization.rb |