History

Remove deprecated active_support/per_thread_registry usage

Nicholas La Roux committed 2 years ago

Commit b633af51 parent c48ea691 file · +0 −1Browse files

Unified · Split

lib/app.rb+0−1
@@ -56,7 +56,6 @@ class App < Sinatra::Application · 55 unmodified lines
56 56
57 SpritesCLI.new.invoke(:generate, [], :disable_optimization => true)57 SpritesCLI.new.invoke(:generate, [], :disable_optimization => true)
58 58
59 require 'active_support/per_thread_registry'
60 require 'active_support/cache'59 require 'active_support/cache'
61 sprockets.cache = ActiveSupport::Cache.lookup_store :file_store, root.join('tmp', 'cache', 'assets', environment.to_s)60 sprockets.cache = ActiveSupport::Cache.lookup_store :file_store, root.join('tmp', 'cache', 'assets', environment.to_s)
62 end61 end