Add gravatar no-op library.

This helps to not break on plugins having require "gravatar"
in their init.rb. This statement is not needed anymore in any
supported version of ChiliProject (or Redmine for that matter) and
should thus be removed from all plugins.
This commit is contained in:
Holger Just 2012-07-15 17:48:43 +02:00
parent ff94716791
commit f2e4c71b27
1 changed files with 2 additions and 0 deletions

2
lib/gravatar.rb Normal file
View File

@ -0,0 +1,2 @@
ActiveSupport::Deprecation.warn("\"require gravatar\" is not needed anymore. Please remove this statement from your code.")
require "gravatarify"