Project

General

Profile

Actions

Patch #32297

closed

Remove code for unsupported versions of Rails from open_id_authentication

Added by Go MAEDA about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Redmine migrated to Rails 3 in Redmine 2.0 (released in 2012). We no longer support such older versions of Rails, so we can remove the code for Rails less than 3.0.

Index: lib/plugins/open_id_authentication/init.rb
===================================================================
--- lib/plugins/open_id_authentication/init.rb    (リビジョン 18732)
+++ lib/plugins/open_id_authentication/init.rb    (作業コピー)
@@ -1,9 +1,5 @@
 # frozen_string_literal: false

-if Rails.version < '3'
-  config.gem 'rack-openid', :lib => 'rack/openid', :version => '>=0.2.1'
-end
-
 require 'open_id_authentication'

 config.middleware.use OpenIdAuthentication
Actions

Also available in: Atom PDF