Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for redis 4 #101

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/redmon/redis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module Redis
]

def redis
@redis ||= ::Redis.connect(:url => Redmon.config.redis_url)
@redis ||= ::Redis.new(:url => Redmon.config.redis_url)
end

def ns
Expand Down Expand Up @@ -62,4 +62,4 @@ def stats_key
"#{ns}:redis:#{redis_host}:stats"
end
end
end
end
2 changes: 1 addition & 1 deletion redmon.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |s|
s.summary = %q{Redis monitor}
s.description = %q{Redis Admin interface and monitor.}

s.rubyforge_project = "redmon"
#s.rubyforge_project = "redmon"

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Expand Down