lib/looksist.rb in looksist-0.1.7 vs lib/looksist.rb in looksist-0.1.8
- 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.zip(values).to_h
+ (keys.collect {|i| i.split('/').last}).zip(values).to_h
end
end
end
\ No newline at end of file