lib/copy/storage/redis.rb in copy-0.0.41 vs lib/copy/storage/redis.rb in copy-0.1.0
- old
+ new
@@ -1,7 +1,5 @@
-require 'redis'
-
module Copy
module Storage
class Redis
def initialize(connection_url)
@redis = ::Redis.new(connection_url)
@@ -14,6 +12,6 @@
def set(name, content)
@redis.hset("copy:content", name, content)
end
end
end
-end
+end
\ No newline at end of file