From 9959149866440da5eea916247a9da1cea2094378 Mon Sep 17 00:00:00 2001 From: Marco Roth Date: Fri, 26 Apr 2024 23:17:06 +0200 Subject: [PATCH] Move `ostruct` require call --- lib/stimulus_reflex.rb | 1 + lib/stimulus_reflex/dataset.rb | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stimulus_reflex.rb b/lib/stimulus_reflex.rb index 35e9d001..8f75bc5a 100644 --- a/lib/stimulus_reflex.rb +++ b/lib/stimulus_reflex.rb @@ -3,6 +3,7 @@ require "uri" require "open-uri" require "rack" +require "ostruct" require "active_support/all" require "action_dispatch" require "action_cable" diff --git a/lib/stimulus_reflex/dataset.rb b/lib/stimulus_reflex/dataset.rb index bd996a6e..e695cd3f 100644 --- a/lib/stimulus_reflex/dataset.rb +++ b/lib/stimulus_reflex/dataset.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -require "ostruct" require "stimulus_reflex/utils/attribute_builder" class StimulusReflex::Dataset < OpenStruct