Sha256: 561c33083a3b677447a1a24330deca2f26b68c3645dbb7a8e66995c6340557f4

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

require 'seo_meta'
require 'decorators'

module SeoMetaKeywords
  include SeoMeta

  autoload :SeoMetaKeywordsGenerator, 'generators/seo_meta_keywords_generator'

  SeoMeta.attributes[:meta_keywords] = :string

  class Engine < ::Rails::Engine

    Decorators.register! root
    engine_name 'seo_meta_keywords' if Rails.version.to_s >= '3.1.0'
  end

  class << self
    attr_writer :root

    def root
      @root ||= Pathname.new(File.expand_path('../../', __FILE__))
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
seo_meta_keywords-1.1.0 lib/seo_meta_keywords.rb
seo_meta_keywords-1.0.0 lib/seo_meta_keywords.rb