Sha256: eb512ada596786b0aee53a329b05e818211d872f94dd81a80c4187e6d8a67ff8
Contents?: true
Size: 994 Bytes
Versions: 1
Compression:
Stored size: 994 Bytes
Contents
$:.push *Dir[File.expand_path('../../vendor/*/lib', __FILE__)] 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.14" 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.14 | lib/hyde.rb |