Sha256: 704ded968039e36f32de1e7b146a14d8468b201afe881e01f4e640321fe4fe3e

Contents?: true

Size: 591 Bytes

Versions: 3

Compression:

Stored size: 591 Bytes

Contents

# frozen_string_literal: true

if Hanami.bundled?("hanami-db")
  require_relative "extensions/db/repo"
end

if Hanami.bundled?("hanami-controller")
  require_relative "extensions/action"
end

if Hanami.bundled?("hanami-view")
  require "hanami/view"
  require_relative "extensions/view"
  require_relative "extensions/view/context"
  require_relative "extensions/view/part"
  require_relative "extensions/view/scope"
end

if Hanami.bundled?("hanami-router")
  require_relative "extensions/router/errors"
end

if Hanami.bundled?("dry-operation")
  require_relative "extensions/operation"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hanami-2.2.1 lib/hanami/extensions.rb
hanami-2.2.0 lib/hanami/extensions.rb
hanami-2.2.0.rc1 lib/hanami/extensions.rb