Sha256: 6290bc69d0f3d3b7842c4ec97530110ddf4c3571db71824069185795d5e3d11d
Contents?: true
Size: 1.07 KB
Versions: 4
Compression:
Stored size: 1.07 KB
Contents
require 'mercenary' module Octopress require 'octopress/ext/hash' require 'octopress/ext/titlecase' 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 ] def self.logger @logger ||= Mercenary::Command.logger @logger.level = Logger::DEBUG @logger end def self.config(options={}) @config ||= Configuration.config(options) end def self.expand_gem_path(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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
octopress-3.0.0.rc.4 | lib/octopress.rb |
octopress-3.0.0.rc.3 | lib/octopress.rb |
octopress-3.0.0.rc.2 | lib/octopress.rb |
octopress-3.0.0.rc.1 | lib/octopress.rb |