Actions
Patch #32297
closedRemove code for unsupported versions of Rails from open_id_authentication
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