File: version.rb

package info (click to toggle)
ruby-redis-store 1.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 312 kB
  • sloc: ruby: 1,480; makefile: 6
file content (12 lines) | stat: -rw-r--r-- 290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
class Redis
  class Store < self
    VERSION = '1.10.0'

    def self.redis_client_defined?
      # Doesn't work if declared as constant
      # due to unpredictable gem loading order
      # https://github.com/redis-rb/redis-client
      defined?(::RedisClient::VERSION)
    end
  end
end