lib/garage/app_responder.rb in the_garage-2.0.1 vs lib/garage/app_responder.rb in the_garage-2.0.2

- old
+ new

@@ -1,7 +1,6 @@ -if Rails::VERSION::MAJOR > 4 || - (Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR >= 2) - require 'action_controller/responder' +if Rails.gem_version >= Gem::Version.new('4.2.0') + require 'responders' else require 'action_controller' end require "garage/hypermedia_responder"