lib/gitdis.rb in gitdis-0.0.1.1 vs lib/gitdis.rb in gitdis-0.0.2.1

- old
+ new

@@ -40,14 +40,13 @@ keys.each { |base_key| self.keyset(base_key).each { |rkey| val = redis.get(rkey) if val and val.include?("\n") val = "\n" << val.split("\n").map { |line| "\t#{line}" }.join("\n") + puts ["[#{rkey}]", val].join(' ') end - puts ["[#{rkey}]", val].join(' ') } } - redis.disconnect end attr_accessor :repo_dir, :redis def initialize(repo_dir, redis_options = {})