Sha256: cc4b15ea14136bc44e5f49e1f6a69b08f3dde03cf447d09038bfd93b15707ccf
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
$:.push *Dir[File.expand_path('../../vendor/*/lib', __FILE__)] require 'rubygems' if !Object.respond_to?(:gem) gem 'shake', '>= 0.1.2' gem 'tilt', '>= 1.2.2' require 'fileutils' require 'ostruct' require 'yaml' require 'tilt' require 'shake' # HTML files as ERB Tilt.mappings['html'] = Tilt.mappings['erb'] class Hyde VERSION = "0.1.11" PREFIX = File.expand_path('../', __FILE__) Error = Class.new(StandardError) LegacyError = Class.new(Error) VersionError = Class.new(Error) # Allowed config filenames CONFIG_FILES = ['hyde.conf', '.hyderc'] autoload :Project, "#{PREFIX}/hyde/project" autoload :Page, "#{PREFIX}/hyde/page" autoload :Meta, "#{PREFIX}/hyde/meta" autoload :Config, "#{PREFIX}/hyde/config" autoload :CLI, "#{PREFIX}/hyde/cli" autoload :Set, "#{PREFIX}/hyde/set" autoload :Layout, "#{PREFIX}/hyde/layout" autoload :Partial, "#{PREFIX}/hyde/partial" autoload :Helpers, "#{PREFIX}/hyde/helpers" class << self # The latest project. attr_accessor :project def version VERSION end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hydeweb-0.1.11 | lib/hyde.rb |