Sha256: 1e971be4409f47d5e87e81f9e141baab7c6882278646e4659126bec7dd062abc
Contents?: true
Size: 1.72 KB
Versions: 1
Compression:
Stored size: 1.72 KB
Contents
# frozen_string_literal: true # This file is part of Alexandria. # # See the file README.md for authorship and licensing information. require "gettext" # XXX: Gettext hotfix module Gem class << self undef :all_load_paths if method_defined? :all_load_paths def all_load_paths [] end end end require "logger" require "alexandria/logging" require "alexandria/about" module Alexandria def self.set_proxy if !ENV["http_proxy"].nil? && URI.parse(ENV["http_proxy"]).userinfo.nil? ENV["http_proxy"] = nil end end def self.set_log_level Alexandria.log.level = Logger::DEBUG if $DEBUG Alexandria.log.debug { "Initializing Alexandria..." } end def self.main set_proxy set_log_level Alexandria::UI.main end end # lrz says 'macui' is obsolete (may be supported again some day) # unless $MACOSX require "alexandria/config" require "alexandria/version" # else # module Alexandria # module Config # DATA_DIR = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation # end # VERSION = OSX::NSBundle.mainBundle.infoDictionary.objectForKey('CFBundleVersion').to_s # end # end require "alexandria/models/book" require "alexandria/library_store" require "alexandria/library_collection" require "alexandria/models/library" require "alexandria/smart_library" require "alexandria/execution_queue" require "alexandria/import_library" require "alexandria/export_library" require "alexandria/book_providers" require "alexandria/preferences" require "alexandria/undo_manager" require "alexandria/web_themes" # lrz says 'macui' is obsolete (may be supported again some day) # require $MACOSX ? 'alexandria/macui' : 'alexandria/ui' require "alexandria/ui" require "alexandria/console"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alexandria-book-collection-manager-0.7.5 | lib/alexandria.rb |