lib/servitium.rb in servitium-1.3.0 vs lib/servitium.rb in servitium-1.3.1
- old
+ new
@@ -1,30 +1,29 @@
# frozen_string_literal: true
-require 'active_model'
-require 'active_attr'
-require 'active_support'
-require 'action_controller'
-require 'active_job'
-require 'sidekiq'
+require "active_model"
+require "active_attr"
+require "active_support"
+require "action_controller"
+require "active_job"
+require "sidekiq"
-require 'servitium/error'
-require 'servitium/context_failure'
-require 'servitium/i18n'
-require 'servitium/sub_contexts'
-require 'servitium/scoped_attributes'
-require 'servitium/context_model'
-require 'servitium/context'
-require 'servitium/service_active_job'
-require 'servitium/service_sidekiq_job'
-require 'servitium/service'
-require 'servitium/version'
-require 'servitium/configuration'
+require "servitium/error"
+require "servitium/context_failure"
+require "servitium/i18n"
+require "servitium/sub_contexts"
+require "servitium/scoped_attributes"
+require "servitium/context_model"
+require "servitium/context"
+require "servitium/service_active_job"
+require "servitium/service_sidekiq_job"
+require "servitium/service"
+require "servitium/version"
+require "servitium/configuration"
-require 'servitium/rails' if defined?(::Rails)
+require "servitium/rails" if defined?(::Rails)
-
module Servitium
class << self
def setup
@config = Configuration.new
yield config
@@ -32,6 +31,6 @@
def config
@config ||= Configuration.new
end
end
-end
\ No newline at end of file
+end