Sha256: 6a53f65fc726296a5b82036009e5fa241ce1cde64f1dfa6b05298c85a2acb51c
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
require 'mercenary' module Octopress require 'octopress/utils' require 'octopress/configuration' require 'octopress/command' require 'octopress/version' require 'octopress/commands/new' require 'octopress/commands/init' require 'octopress/commands/publish' require 'octopress/commands/build' require 'octopress/commands/serve' require 'octopress/commands/doctor' autoload :Page, 'octopress/page' autoload :Post, 'octopress/post' autoload :Draft, 'octopress/draft' autoload :Scaffold, 'octopress/scaffold' BLESSED_GEMS = %w[ octopress-deploy octopress-ink octopress-docs ] def self.logger @logger ||= Mercenary::Command.logger @logger.level = Logger::DEBUG @logger end def self.config(options={}) @config ||= Configuration.config(options) end def self.gem_dir(dir='') File.expand_path(File.join(File.dirname(__FILE__), '../', dir)) end def self.require_blessed_gems BLESSED_GEMS.each do |gem| begin require gem rescue LoadError end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
octopress-3.0.0.rc.12 | lib/octopress.rb |
octopress-3.0.0.rc.11 | lib/octopress.rb |