Sha256: a248314b2d7f852690dfc41d6bc2552cefd2f51e8ebefb2e5cc59560941a45c2

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

require 'optparse'
require 'fileutils'
require 'yaml'
require 'digest'
require 'ostruct'
require 'erb'

require 'builder'
require 'kramdown'
require 'zip/zip'

require 'rpub/version'
require 'rpub/subclass_tracker'
require 'rpub/commander'
require 'rpub/compilation_helpers'
require 'rpub/commands/base'
require 'rpub/commands/main'
require 'rpub/commands/compile'
require 'rpub/commands/clean'
require 'rpub/commands/preview'
require 'rpub/commands/package'
require 'rpub/commands/help'
require 'rpub/hash_delegation'
require 'rpub/book'
require 'rpub/chapter'
require 'rpub/compressor'
require 'rpub/epub'
require 'rpub/xml_file'
require 'rpub/epub/container'
require 'rpub/epub/toc'
require 'rpub/epub/content'
require 'rpub/epub/html_toc'
require 'rpub/epub/cover'

module Rpub
  GEM_ROOT = File.expand_path('../../', __FILE__)

  NoConfiguration = Class.new(StandardError)

  class InvalidSubcommand < StandardError
    def initialize(subcommand)
      super "Unknown subcommand: #{subcommand}"
    end
  end

  def self.support_file(path)
    File.join(GEM_ROOT, 'support', path)
  end

  KRAMDOWN_OPTIONS = {
    :coderay_line_numbers => nil
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rpub-0.1.0 lib/rpub.rb