added redis_publish method using ruby 2.0 stye