Sha256: 94f8ff850ac06b05da1e250cb8a4a03ab4c89801a0101e59f647c2f859aec35e

Contents?: true

Size: 198 Bytes

Versions: 7

Compression:

Stored size: 198 Bytes

Contents

# Reloads the script into redis and prints out the SHA it can be called with
require 'redis'
r = Redis.new
script = File.read('../lib/prorate/rate_limit.lua')
sha = r.script(:load, script)
puts sha

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
prorate-0.7.3 scripts/reload_lua.rb
prorate-0.7.2 scripts/reload_lua.rb
prorate-0.7.1 scripts/reload_lua.rb
prorate-0.7.0 scripts/reload_lua.rb
prorate-0.6.0 scripts/reload_lua.rb
prorate-0.5.0 scripts/reload_lua.rb
prorate-0.4.0 scripts/reload_lua.rb