From 530a5bda418e256a9dbc46b383266d654155eecd Mon Sep 17 00:00:00 2001 From: Burak Ikiler Date: Wed, 5 Apr 2023 17:42:28 +0300 Subject: [PATCH 1/3] Redmine 5 Compatibility: Autoloder fix.. --- init.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.rb b/init.rb index 5dded29..157aec5 100644 --- a/init.rb +++ b/init.rb @@ -1,5 +1,5 @@ require 'redmine' -require_dependency 'redmine_omniauth_google/hooks' +require File.dirname(__FILE__) + '/lib/redmine_omniauth_google/hooks' Redmine::Plugin.register :redmine_omniauth_google do name 'Redmine Omniauth Google plugin' From b9dc6c98be3ead145235cddc4244430adfc1bf71 Mon Sep 17 00:00:00 2001 From: Burak Ikiler Date: Wed, 5 Apr 2023 19:51:19 +0300 Subject: [PATCH 2/3] Redmine 5 Compatibility: Autoloder fix with to_prepare. --- init.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.rb b/init.rb index 157aec5..61899c6 100644 --- a/init.rb +++ b/init.rb @@ -1,6 +1,7 @@ require 'redmine' -require File.dirname(__FILE__) + '/lib/redmine_omniauth_google/hooks' - +Rails.configuration.to_prepare do + require_dependency 'redmine_omniauth_google/hooks' +end Redmine::Plugin.register :redmine_omniauth_google do name 'Redmine Omniauth Google plugin' author 'Dmitry Kovalenok' From 2075c2782bc4285a11344243a541b9c14469a384 Mon Sep 17 00:00:00 2001 From: Burak Ikiler <123000591+burak-ikiler-ew@users.noreply.github.com> Date: Wed, 22 May 2024 12:31:46 +0300 Subject: [PATCH 3/3] Update init.rb for version upgrade --- init.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.rb b/init.rb index 61899c6..0537335 100644 --- a/init.rb +++ b/init.rb @@ -6,7 +6,7 @@ name 'Redmine Omniauth Google plugin' author 'Dmitry Kovalenok' description 'This is a plugin for Redmine registration through google' - version '0.0.1' + version '0.0.2' url 'https://github.com/twinslash/redmine_omniauth_google' author_url 'http://twinslash.com'