Sha256: 39487598fa76fe6ab860f70d666f12398f7a89070a3e2893aab9b8d2c9501afb
Contents?: true
Size: 1.38 KB
Versions: 2
Compression:
Stored size: 1.38 KB
Contents
# :nocov: begin require 'modis' require 'redis' rescue LoadError puts str = "* Please add 'rpush-redis' to your Gemfile to use the Redis client. *" puts "*" * str.size puts str puts "*" * str.size puts end require 'rpush/client/active_model' require 'rpush/client/redis/app' require 'rpush/client/redis/notification' require 'rpush/client/redis/apns/app' require 'rpush/client/redis/apns/notification' require 'rpush/client/redis/apns/feedback' require 'rpush/client/redis/apns2/app' require 'rpush/client/redis/apns2/notification' require 'rpush/client/redis/gcm/app' require 'rpush/client/redis/gcm/notification' require 'rpush/client/redis/adm/app' require 'rpush/client/redis/adm/notification' require 'rpush/client/redis/wpns/app' require 'rpush/client/redis/wpns/notification' require 'rpush/client/redis/wns/app' require 'rpush/client/redis/wns/notification' require 'rpush/client/redis/wns/raw_notification' require 'rpush/client/redis/wns/badge_notification' require 'rpush/client/redis/pushy/app' require 'rpush/client/redis/pushy/notification' Modis.configure do |config| config.namespace = :rpush end # Prevent diverging Redis namespaces for subclasses as introduced by Modis 1.4.2 Rpush::Client::Redis::Notification.subclasses.each do |notification_class| notification_class.class_eval do self.namespace = Rpush::Client::Redis::Notification.namespace end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rpush-3.1.1 | lib/rpush/client/redis.rb |
rpush-3.1.0 | lib/rpush/client/redis.rb |