From b3b74ab28a98634c69ce089d301c36cd90a65521 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 12 Sep 2024 13:28:50 -0400 Subject: [PATCH] Move account source/suggestion classes into `app/recommendations` --- app/{models => recommendations}/account_suggestions.rb | 0 .../account_suggestions/friends_of_friends_source.rb | 0 .../account_suggestions/global_source.rb | 0 .../account_suggestions/setting_source.rb | 0 .../account_suggestions/similar_profiles_source.rb | 0 app/{models => recommendations}/account_suggestions/source.rb | 0 .../account_suggestions/suggestion.rb | 0 spec/rails_helper.rb | 1 + .../account_suggestions/friends_of_friends_source_spec.rb | 0 .../account_suggestions/source_spec.rb | 0 10 files changed, 1 insertion(+) rename app/{models => recommendations}/account_suggestions.rb (100%) rename app/{models => recommendations}/account_suggestions/friends_of_friends_source.rb (100%) rename app/{models => recommendations}/account_suggestions/global_source.rb (100%) rename app/{models => recommendations}/account_suggestions/setting_source.rb (100%) rename app/{models => recommendations}/account_suggestions/similar_profiles_source.rb (100%) rename app/{models => recommendations}/account_suggestions/source.rb (100%) rename app/{models => recommendations}/account_suggestions/suggestion.rb (100%) rename spec/{models => recommendations}/account_suggestions/friends_of_friends_source_spec.rb (100%) rename spec/{models => recommendations}/account_suggestions/source_spec.rb (100%) diff --git a/app/models/account_suggestions.rb b/app/recommendations/account_suggestions.rb similarity index 100% rename from app/models/account_suggestions.rb rename to app/recommendations/account_suggestions.rb diff --git a/app/models/account_suggestions/friends_of_friends_source.rb b/app/recommendations/account_suggestions/friends_of_friends_source.rb similarity index 100% rename from app/models/account_suggestions/friends_of_friends_source.rb rename to app/recommendations/account_suggestions/friends_of_friends_source.rb diff --git a/app/models/account_suggestions/global_source.rb b/app/recommendations/account_suggestions/global_source.rb similarity index 100% rename from app/models/account_suggestions/global_source.rb rename to app/recommendations/account_suggestions/global_source.rb diff --git a/app/models/account_suggestions/setting_source.rb b/app/recommendations/account_suggestions/setting_source.rb similarity index 100% rename from app/models/account_suggestions/setting_source.rb rename to app/recommendations/account_suggestions/setting_source.rb diff --git a/app/models/account_suggestions/similar_profiles_source.rb b/app/recommendations/account_suggestions/similar_profiles_source.rb similarity index 100% rename from app/models/account_suggestions/similar_profiles_source.rb rename to app/recommendations/account_suggestions/similar_profiles_source.rb diff --git a/app/models/account_suggestions/source.rb b/app/recommendations/account_suggestions/source.rb similarity index 100% rename from app/models/account_suggestions/source.rb rename to app/recommendations/account_suggestions/source.rb diff --git a/app/models/account_suggestions/suggestion.rb b/app/recommendations/account_suggestions/suggestion.rb similarity index 100% rename from app/models/account_suggestions/suggestion.rb rename to app/recommendations/account_suggestions/suggestion.rb diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index ee03b49bc6a..b29ca8ccb23 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -21,6 +21,7 @@ unless ENV['DISABLE_SIMPLECOV'] == 'true' add_group 'Libraries', 'lib' add_group 'Policies', 'app/policies' add_group 'Presenters', 'app/presenters' + add_group 'Recommendations', 'app/recommendations' add_group 'Search', 'app/chewy' add_group 'Serializers', 'app/serializers' add_group 'Services', 'app/services' diff --git a/spec/models/account_suggestions/friends_of_friends_source_spec.rb b/spec/recommendations/account_suggestions/friends_of_friends_source_spec.rb similarity index 100% rename from spec/models/account_suggestions/friends_of_friends_source_spec.rb rename to spec/recommendations/account_suggestions/friends_of_friends_source_spec.rb diff --git a/spec/models/account_suggestions/source_spec.rb b/spec/recommendations/account_suggestions/source_spec.rb similarity index 100% rename from spec/models/account_suggestions/source_spec.rb rename to spec/recommendations/account_suggestions/source_spec.rb