From c9167ef433ee1d65dbd56dbcd6ff8b8b45e3924a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Reszke?= Date: Wed, 24 Jul 2024 17:30:02 +0200 Subject: [PATCH] Revert "Show real repository adapter on Debug page" This reverts commit 89d0275dbaf2fb60cac430a5ef8e6d5b74c75714. --- .../ruby_event_store/active_record/event_repository.rb | 4 ---- ruby_event_store/lib/ruby_event_store/client.rb | 8 -------- 2 files changed, 12 deletions(-) diff --git a/ruby_event_store-active_record/lib/ruby_event_store/active_record/event_repository.rb b/ruby_event_store-active_record/lib/ruby_event_store/active_record/event_repository.rb index 611afb93c1..931e095d5b 100644 --- a/ruby_event_store-active_record/lib/ruby_event_store/active_record/event_repository.rb +++ b/ruby_event_store-active_record/lib/ruby_event_store/active_record/event_repository.rb @@ -81,10 +81,6 @@ def event_in_stream?(event_id, stream) @repo_reader.event_in_stream?(event_id, stream) end - def specification - "#{self.class.name} with #{::ActiveRecord::Base.connection.adapter_name} db adapter" - end - private attr_reader :serializer diff --git a/ruby_event_store/lib/ruby_event_store/client.rb b/ruby_event_store/lib/ruby_event_store/client.rb index 92aa1a9781..0ed4217195 100644 --- a/ruby_event_store/lib/ruby_event_store/client.rb +++ b/ruby_event_store/lib/ruby_event_store/client.rb @@ -230,14 +230,6 @@ def call unsubs.each(&:call) if unsubs end - def repository_specification - if repository.respond_to?(:specification) - repository.specification - else - repository.class.to_s - end - end - private attr_reader :resolver