Sha256: 249bf691386168412a7a5d38be6aebe2b676156b410d374cc97b08f234a5d00a

Contents?: true

Size: 581 Bytes

Versions: 21

Compression:

Stored size: 581 Bytes

Contents

# frozen_string_literal: true

module Litestream
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end

  class Configuration
    attr_accessor :database_path, :replica_url, :replica_key_id, :replica_access_key

    def initialize
      @mailer_sender = "donotreply@example.com"
    end
  end
end

require_relative "litestream/version"
require_relative "litestream/upstream"
require_relative "litestream/commands"
require_relative "litestream/railtie" if defined?(::Rails::Railtie)

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
litestream-0.3.3-x86_64-linux lib/litestream.rb
litestream-0.3.3-x86_64-darwin lib/litestream.rb
litestream-0.3.3-arm64-linux lib/litestream.rb
litestream-0.3.3-arm64-darwin lib/litestream.rb
litestream-0.3.3 lib/litestream.rb
litestream-0.3.2 lib/litestream.rb
litestream-0.3.1 lib/litestream.rb
litestream-0.3.1-x86_64-linux lib/litestream.rb
litestream-0.3.1-x86_64-darwin lib/litestream.rb
litestream-0.3.1-arm64-linux lib/litestream.rb
litestream-0.3.1-arm64-darwin lib/litestream.rb
litestream-0.3.0 lib/litestream.rb
litestream-0.3.0-x86_64-linux lib/litestream.rb
litestream-0.3.0-x86_64-darwin lib/litestream.rb
litestream-0.3.0-arm64-linux lib/litestream.rb
litestream-0.3.0-arm64-darwin lib/litestream.rb
litestream-0.2.0 lib/litestream.rb
litestream-0.2.0-x86_64-linux lib/litestream.rb
litestream-0.2.0-x86_64-darwin lib/litestream.rb
litestream-0.2.0-arm64-linux lib/litestream.rb