Another attempt to fix locomotivecms/wagon#255

Nick Cappadona committed Sep 15, 2015
commit bc7796c4bc78ee5b9ed8df59c92061b40e50f2aa
Showing 2 changed files with 2 additions and 2 deletions
locomotive/steam/adapters/memory.rb b/lib/locomotive/steam/adapters/memory.rb +1 -1
@@ @@ -9,7 +9,7 @@ module Locomotive::Steam
module Memory
end
- class MemoryAdapter < Struct.new(:collection)
+ MemoryAdapter = Struct.new(:collection) do
include Locomotive::Steam::Adapters::Concerns::Key
locomotive/steam/middlewares/thread_safe.rb b/lib/locomotive/steam/middlewares/thread_safe.rb +1 -1
@@ @@ -1,6 +1,6 @@
module Locomotive::Steam::Middlewares
- class ThreadSafe < Struct.new(:app)
+ ThreadSafe = Struct.new(:app) do
attr_accessor :env