template/config/initializers/faye.rb in grape-gen-0.0.5 vs template/config/initializers/faye.rb in grape-gen-0.0.6
- old
+ new
@@ -1,3 +1,5 @@
-require_relative '../../lib/faye_publisher'
+require_relative '../../lib/faye/publisher'
-FayePublisher.redis = ApplicationSettings.faye.redis unless FayePublisher.configured?
+Faye::Publisher.configure do |config|
+ config.redis = ApplicationSettings.faye.redis unless Faye::Publisher.configured?
+end
\ No newline at end of file