Sha256: 26e7adc9b3f8088f8dff25b2b2c53a7fa8becf38853a15f1ae7897ba57ed2b11

Contents?: true

Size: 982 Bytes

Versions: 3

Compression:

Stored size: 982 Bytes

Contents

class PG::UndefinedTable < StandardError
end

class IO
  def string: () -> String
end

module ActiveRecord
  def self.schema_format: () -> Symbol

  class Base
    def self.configurations: () -> ActiveRecord::DatabaseConfigurations
    def self.connection_db_config: () -> ActiveRecord::DatabaseConfig
  end

  class DatabaseConfig
    def database: () -> String
  end
end

module Rails
  class Railtie
  end
end

module AnnotateModels
  def self.do_annotations: (Hash[Symbol, untyped]) -> nil
end

module Scenic
  module Adapters
    class Postgres
      def refresh_materialized_view: (String, ?concurrently: bool, ?cascade: bool) -> nil
      def populated?: (String) -> bool
      def quote_table_name: (String) -> String

      # The following are due to temporary ext/scenic/adapters/postgres.rb
      def raise_unless_materialized_views_supported: () -> nil
      def execute: (String) -> ActiveRecord::Result
    end
  end

  def self.database: () -> Adapters::Postgres
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
searchcraft-0.5.2 sig/ext/misc.rbs
searchcraft-0.5.1 sig/ext/misc.rbs
searchcraft-0.5.0 sig/ext/misc.rbs