Sha256: 6a2437e4ee1545f43b99378d0cc2d0f6694c2dcdca2a4f9647d77396a3df8f50

Contents?: true

Size: 947 Bytes

Versions: 1

Compression:

Stored size: 947 Bytes

Contents

require 'tempfile'
require 'uri'
require 'yaml'
require 'tidy_ffi'
require 'nokogiri'

module Wrongdoc

  # the version of wrongdoc, currently 1.1.0
  VERSION = '1.1.0'

  autoload :Readme, 'wrongdoc/readme'
  autoload :History, 'wrongdoc/history'
  autoload :Release, 'wrongdoc/release'

  autoload :Changelog, 'wrongdoc/changelog'
  autoload :NewsRdoc, 'wrongdoc/news_rdoc'
  autoload :NewsAtom, 'wrongdoc/news_atom'
  autoload :ParseXML, 'wrongdoc/parse_xml'

  autoload :Prepare, 'wrongdoc/prepare'
  autoload :Rdoc, 'wrongdoc/rdoc'
  autoload :Merge, 'wrongdoc/merge'
  autoload :Final, 'wrongdoc/final'

  autoload :Gemspec, 'wrongdoc/gemspec'
  autoload :RdocOptions, 'wrongdoc/rdoc_options'

  def self.config(path = ".wrongdoc.yml")
    File.exist?(path) or abort "#{path} not found in current directory"
    opts = YAML.load(File.read(path))
    opts.keys.each { |k| opts[k.to_sym] = opts.delete(k) } # symbolize keys
    opts
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wrongdoc-1.1.0 lib/wrongdoc.rb