From c653326b867d730485c6d5966737817d1b936c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Reszke?= Date: Thu, 25 Jul 2024 09:37:15 +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