Sha256: 73ea3b3108a2bdc2ce8f3d9d9701d39b84e83eabc1f11824de25af84f861ffbf
Contents?: true
Size: 406 Bytes
Versions: 2
Compression:
Stored size: 406 Bytes
Contents
if RUBY_VERSION >= '2.6.0' if Rails::VERSION::MAJOR < 5 class ActionController::TestResponse < ActionDispatch::TestResponse def recycle! # hack to avoid MonitorMixin double-initialize error: @mon_mutex_owner_object_id = nil @mon_mutex = nil initialize end end else puts "Monkeypatch for ActionController::TestResponse no longer needed" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper-5.1.0.rc2 | spec/support/ruby_2_6_rails_4_2_patch.rb |
doorkeeper-5.1.0.rc1 | spec/support/ruby_2_6_rails_4_2_patch.rb |