Sha256: bd7cfd3c00ba1e20c969894cdc66e7aac9b8987334da0a4c76f8233a371fbcb6

Contents?: true

Size: 841 Bytes

Versions: 5

Compression:

Stored size: 841 Bytes

Contents

require 'action_controller'
require 'action_view'

# MetaTags gem namespace.
module MetaTags
  # Returns MetaTags gem configuration.
  #
  def self.config
    @@config ||= Configuration.new
  end

  # Configures MetaTags gem.
  #
  # @yield [Configuration] configuration object.
  # @example
  #
  #   MetaTags.configure do |config|
  #     # config.title_limit = 100
  #   end
  def self.configure
    yield config
  end
end

require 'meta_tags/version'

require 'meta_tags/configuration'
require 'meta_tags/controller_helper'
require 'meta_tags/meta_tags_collection'
require 'meta_tags/renderer'
require 'meta_tags/tag'
require 'meta_tags/content_tag'
require 'meta_tags/text_normalizer'
require 'meta_tags/view_helper'

ActionView::Base.send :include, MetaTags::ViewHelper
ActionController::Base.send :include, MetaTags::ControllerHelper

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
meta-tags-2.4.1 lib/meta_tags.rb
meta-tags-2.4.0 lib/meta_tags.rb
meta-tags-2.3.1 lib/meta_tags.rb
meta-tags-2.2.0 lib/meta_tags.rb
meta-tags-2.1.0 lib/meta_tags.rb