lib/google-webfonts/sinatra.rb in google-webfonts-0.2.0 vs lib/google-webfonts/sinatra.rb in google-webfonts-0.3.0
- old
+ new
@@ -1,3 +1,7 @@
-module Sinatra
- helpers Google::Webfonts::Helper
-end
+warn <<~TEXT
+ DEPRECATED: Requiring 'google-webfonts/sinatra' has been deprecated since
+ version 0.3.0, and will be removed in a future version. Require
+ 'google/webfonts/sinatra' instead.
+TEXT
+
+require 'google/webfonts/sinatra'