Sha256: 9fd7080fa0b54884ae12538d1f9f3af6132c47681cb8ff0775b7dc30cf563070

Contents?: true

Size: 1.98 KB

Versions: 2

Compression:

Stored size: 1.98 KB

Contents

#!/usr/bin/env ruby

#--
# Copyright (c) 2006 Jeff Barczewski
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#++
#
# = MasterView - Rails-optimized (x)html friendly template engine 
# 
# MasterView is a ruby/rails optimized HTML/XHTML friendly template engine. 
# It is designed to use the full power and productivity of rails including 
# layouts, partials, and rails html helpers while still being editable/styleable 
# in a WYSIWYG HTML editor.  

require 'masterview'

module ::MasterView
  #override any constants here, see masterview.rb for more
  #Note that you may also put your override configuration in vendor/plugins/masterview/user.rb and user_development.rb, user_test.rb, ...
  #DefaultDirectiveLoadPaths.push File.join( File.dirname(__FILE__), 'directives') #uncomment if you want to add a local directives dir
  #DefaultParserOptions = { :tidy => false, :escape_erb => true }
  #TidyPath = '/usr/lib/libtidy.so'
  #EnableMasterViewAdminPages = true
end

require 'masterview/extras/rails_init.rb'

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
masterview-0.1.5 init.rb
masterview_plugin_generator-0.1.5 templates/init.rb