Explictly require hangouts-chat in Gemfile
After the model `HangoutsChatService` was renamed `Integrations::HangoutsChat`, and therefore the file renamed as `hangsouts_chat.rb`, `config/initializers/hangouts_chat_http_override.rb` began to define new classes, rather than to monkeypatch the gem classes. Requiring the gem this way allows us to continue to monkeypatch the gem. https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61957#note_586260689 https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61957 https://gitlab.com/gitlab-org/gitlab/-/issues/201855
Showing
... | ... | @@ -253,7 +253,7 @@ gem 'flowdock', '~> 0.7' |
gem 'slack-messenger', '~> 2.3.4' | ||
# Hangouts Chat integration | ||
gem 'hangouts-chat', '~> 0.0.5' | ||
gem 'hangouts-chat', '~> 0.0.5', require: 'hangouts_chat' | ||
# Asana integration | ||
gem 'asana', '~> 0.10.3' | ||
... | ... |
Please register or sign in to comment