lib/looksist.rb in looksist-0.2.6 vs lib/looksist.rb in looksist-0.2.7
- old
+ new
@@ -26,9 +26,9 @@
end
def bucket_dump(entity)
keys = Looksist.lookup_store.keys("#{entity.pluralize}*")
values = Looksist.redis_service.send("#{entity}_for", keys.collect{|i| i.split('/').last})
- (keys.collect {|i| i.split('/').last}).zip(values).to_h
+ Hash[(keys.collect {|i| i.split('/').last}).zip(values)]
end
end
end
\ No newline at end of file