Sha256: 77b8e1eb734e6372b4426cedc5d25f20a9f896dafe5a782b94a3a3a8685ca0de

Contents?: true

Size: 493 Bytes

Versions: 8

Compression:

Stored size: 493 Bytes

Contents

begin
  require 'rubypants'
rescue LoadError
  # If rubypants gem is not available, use packaged version
  $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/vendor/rubypants"
  retry
end

class SmartyPantsFilterExtension < Radiant::Extension
  version "1.0"
  description "Allows you to compose page parts or snippets using the SmartyPants text filter."
  url "http://daringfireball.net/projects/smartypants/"

  def activate
    SmartyPantsFilter
    Page.send :include, SmartyPantsTags
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-smarty_pants_filter-extension-1.0.2/smarty_pants_filter_extension.rb
radiant-smarty_pants_filter-extension-1.0.2 smarty_pants_filter_extension.rb
radiant-smarty_pants_filter-extension-1.0.1 smarty_pants_filter_extension.rb
radiant-smarty_pants_filter-extension-1.0.0 smarty_pants_filter_extension.rb
radiant-1.0.0.rc2 vendor/extensions/smarty_pants_filter/smarty_pants_filter_extension.rb
radiant-1.0.0.rc1 vendor/extensions/smarty_pants_filter/smarty_pants_filter_extension.rb
radiantcms-couchrest_model-0.1.4 vendor/extensions/smarty_pants_filter/smarty_pants_filter_extension.rb
radiant-0.9.1 vendor/extensions/smarty_pants_filter/smarty_pants_filter_extension.rb