Sha256: aece38a886c9cf619265a3c4a3c083a6c37d51d6bb37207608b3ba34393d4172
Contents?: true
Size: 1.7 KB
Versions: 1
Compression:
Stored size: 1.7 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 ENV['http_proxy'] = nil if !ENV['http_proxy'].nil? && URI.parse(ENV['http_proxy']).userinfo.nil? 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.3 | lib/alexandria.rb |