mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Mention current rails version for #2327 ruby2.6/rails4.2 monkeypatch
This commit is contained in:
parent
96303af45f
commit
c77fddadd4
@ -13,6 +13,12 @@ if RUBY_VERSION >= '2.6.0'
|
||||
end
|
||||
end
|
||||
else
|
||||
puts 'Monkeypatch for ActionController::TestResponse no longer needed'
|
||||
msg = 'Monkeypatch for ActionController::TestResponse not needed for '\
|
||||
'Rails 5+. We can drop this patch once we drop support for Rails < 5. '\
|
||||
"Current Rails version: #{ENV['RAILS_VERSION']}"
|
||||
|
||||
puts
|
||||
puts "\033[33m **** #{msg} **** \033[0m"
|
||||
puts
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user