lib/sprockets/rails.rb in sprockets-rails-3.4.2 vs lib/sprockets/rails.rb in sprockets-rails-3.5.0
- old
+ new
@@ -1,4 +1,13 @@
require 'sprockets/rails/version'
+require 'active_support'
if defined? Rails::Railtie
require 'sprockets/railtie'
+end
+
+module Sprockets
+ module Rails
+ def self.deprecator
+ @deprecator ||= ActiveSupport::Deprecation.new("4.0", "Sprockets::Rails")
+ end
+ end
end