Sha256: 6b4bb3b68bbcdedf3b10d047ed6cc727d3cf971039045f52c3d096ab25b34ede

Contents?: true

Size: 823 Bytes

Versions: 3

Compression:

Stored size: 823 Bytes

Contents

# frozen_string_literal: true

require "memist"
require "semantic_logger"

require "miteru/version"

require "miteru/configuration"
require "miteru/database"

require "miteru/record"

require "miteru/mixin"

require "miteru/notifiers/base"
require "miteru/notifiers/slack"
require "miteru/notifiers/urlscan"

require "miteru/error"
require "miteru/http_client"
require "miteru/kit"
require "miteru/website"
require "miteru/downloader"
require "miteru/feeds"
require "miteru/attachement"
require "miteru/crawler"
require "miteru/cli"

# Load .env
require "dotenv/load"

module Miteru
  class << self
    include Memist::Memoizable
    def logger
      SemanticLogger.default_level = :info
      SemanticLogger.add_appender(io: $stderr, formatter: :color)
      SemanticLogger["Miteru"]
    end
    memoize :logger
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
miteru-1.2.2 lib/miteru.rb
miteru-1.2.1 lib/miteru.rb
miteru-1.2.0 lib/miteru.rb