Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.8:testing
obs-server
obs-server-2.8-0112-api-webui-Drop-monkeypatch-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-server-2.8-0112-api-webui-Drop-monkeypatch-of-ActiveRecord.patch of Package obs-server
From ea1578b725948ba7f1e6314b06bfed13931104a7 Mon Sep 17 00:00:00 2001 From: Christian Bruckmayer <cbruckmayer@suse.com> Date: Thu, 10 Aug 2017 10:43:28 +0200 Subject: [PATCH] [api][webui] Drop monkeypatch of ActiveRecord as we run on ruby 2.4 now and the original bug hast been resolved already. https://github.com/rails/rails/issues/20700 https://bugs.ruby-lang.org/issues/10871 --- src/api/config/initializers/01_monkeypatches.rb | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/api/config/initializers/01_monkeypatches.rb diff --git a/src/api/config/initializers/01_monkeypatches.rb b/src/api/config/initializers/01_monkeypatches.rb deleted file mode 100644 index c19f449b8..000000000 --- a/src/api/config/initializers/01_monkeypatches.rb +++ /dev/null @@ -1,13 +0,0 @@ -module ActiveRecord - module Scoping - class ScopeRegistry # :nodoc: - def self.value_for(scope_type, variable_name) - instance.value_for(scope_type, variable_name) - end - - def self.set_value_for(scope_type, variable_name, value) - instance.set_value_for(scope_type, variable_name, value) - end - end - end -end -- 2.14.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor