lib/kasket.rb in kasket-4.4.3 vs lib/kasket.rb in kasket-4.4.4

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true require 'active_record' require 'active_support' require 'kasket/version' @@ -12,10 +13,10 @@ autoload :Query, 'kasket/query' autoload :Visitor, 'kasket/visitor' autoload :SelectManagerMixin, 'kasket/select_manager_mixin' autoload :RelationMixin, 'kasket/relation_mixin' - CONFIGURATION = {:max_collection_size => 100, :write_through => false} + CONFIGURATION = { max_collection_size: 100, write_through: false } # rubocop:disable Style/MutableConstant module_function def setup(options = {}) return if ActiveRecord::Base.respond_to?(:has_kasket)