lib/jsus.rb in jsus-0.2.5 vs lib/jsus.rb in jsus-0.2.6

- old
+ new

@@ -8,35 +8,35 @@ require 'rgl/topsort' require 'fileutils' require 'pathname' -require 'jsus/source_file' -require 'jsus/package' -require 'jsus/tag' -require 'jsus/container' -require 'jsus/packager' -require 'jsus/pool' -require 'jsus/tree' -require 'jsus/documenter' -require 'jsus/validator' # -# Jsus — a library for packaging up your source files. +# Jsus -- a library for packaging up your source files. # # For better understanding of jsus ideas start with http://github.com/Markiz/jsus-examples # # - - module Jsus + autoload :SourceFile, 'jsus/source_file' + autoload :Package, 'jsus/package' + autoload :Tag, 'jsus/tag' + autoload :Container, 'jsus/container' + autoload :Packager, 'jsus/packager' + autoload :Pool, 'jsus/pool' + autoload :Util, 'jsus/util' + # Returns whether or not jsus is in verbose mode def self.verbose? !!@verbose end + # Sets verbose mode to on. In verbose mode jsus shows a lot of warnings + # like missing dependencies. def self.verbose=(verbose) @verbose = verbose end - + + # Returns current version def self.version @version ||= File.read(File.dirname(__FILE__) + "/../VERSION") end end \ No newline at end of file