Sha256: 7ae13240b58bb71193e730eba2522413c88efba1f56f67ee7f38fa83688c72c4

Contents?: true

Size: 354 Bytes

Versions: 14

Compression:

Stored size: 354 Bytes

Contents

Inferno::Application.register_provider(:web) do |_app|
  prepare do
    require 'blueprinter'
    require 'hanami/router'
    require 'hanami/controller'
    require 'oj'

    Blueprinter.configure do |config|
      config.generator = Oj
    end

    require 'inferno/utils/middleware/request_logger'
    require 'inferno/apps/web/application'
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
inferno_core-0.6.1 lib/inferno/config/boot/web.rb
inferno_core-0.6.0 lib/inferno/config/boot/web.rb
inferno_core-0.5.4 lib/inferno/config/boot/web.rb
inferno_core-0.5.3 lib/inferno/config/boot/web.rb
inferno_core-0.5.2 lib/inferno/config/boot/web.rb
inferno_core-0.5.1 lib/inferno/config/boot/web.rb
inferno_core-0.5.0 lib/inferno/config/boot/web.rb
inferno_core-0.4.44 lib/inferno/config/boot/web.rb
inferno_core-0.4.43 lib/inferno/config/boot/web.rb
inferno_core-0.4.42 lib/inferno/config/boot/web.rb
inferno_core-0.4.41 lib/inferno/config/boot/web.rb
inferno_core-0.4.40 lib/inferno/config/boot/web.rb
inferno_core-0.4.39 lib/inferno/config/boot/web.rb
inferno_core-0.4.38 lib/inferno/config/boot/web.rb