Sha256: 06e1c1d6b09a996969ff655641b5b89e5d8d2301f8e348cffa7d68e99137e314

Contents?: true

Size: 507 Bytes

Versions: 20

Compression:

Stored size: 507 Bytes

Contents

require 'rom/configuration_dsl'
require 'dry/core/deprecations'

module ROM
  module ConfigurationPlugins
    # Provides macros for defining relations, mappers and commands
    #
    # @api public
    module ConfigurationDSL

      # @api private
      def self.apply(configuration, options = {})
        Dry::Core::Deprecations.announce(
          :macros,
          "Calling `use(:macros)` is no longer necessary. Macros are enabled by default.",
          tag: :rom
        )
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
rom-3.3.3 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.3.2 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.3.1 lib/rom/plugins/configuration/configuration_dsl.rb
rom-core-4.0.0.beta2 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.3.0 lib/rom/plugins/configuration/configuration_dsl.rb
rom-core-4.0.0.beta1 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.2.3 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.2.2 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.2.1 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.2.0 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.1.0 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.0.3 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.0.2 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.0.1 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.0.0 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.0.0.rc2 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.0.0.rc1 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.0.0.beta3 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.0.0.beta2 lib/rom/plugins/configuration/configuration_dsl.rb
rom-3.0.0.beta1 lib/rom/plugins/configuration/configuration_dsl.rb