example/test.rb in redis-sentinel-1.1.1 vs example/test.rb in redis-sentinel-1.1.2

- old
+ new

@@ -1,8 +1,12 @@ require 'redis' require 'redis-sentinel' -redis = Redis.new(master_name: "example-test", sentinels: [{host: "localhost", port: 26379}, {host: "localhost", port: 26380}]) +redis = Redis.new(:master_name => "example-test", + :sentinels => [ + {:host => "localhost", :port => 26379}, + {:host => "localhost", :port => 26380} + ]) redis.set "foo", "bar" while true begin puts redis.get "foo"