Sha256: 7a5dcc5cf537e0e002a61fa06b6c0d639e58a13942865599e1ea7e3bcccfb976

Contents?: true

Size: 244 Bytes

Versions: 42

Compression:

Stored size: 244 Bytes

Contents

#!/usr/bin/env ruby

require 'redis'

require 'oj'
Oj.default_options = { :indent => 0, :mode => :strict }

if not id = ARGV.first then
  puts "Usage: acknowledge.rb <id>"
  exit 1
end


redis = Redis.new

redis.hset 'acknowledged', id, 'true'

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
flapjack-0.8.6 tmp/acknowledge.rb
flapjack-0.8.5 tmp/acknowledge.rb
flapjack-0.8.4 tmp/acknowledge.rb
flapjack-0.8.3 tmp/acknowledge.rb
flapjack-0.8.2 tmp/acknowledge.rb
flapjack-0.8.1 tmp/acknowledge.rb
flapjack-0.8.0 tmp/acknowledge.rb
flapjack-0.7.35 tmp/acknowledge.rb
flapjack-0.7.34 tmp/acknowledge.rb
flapjack-0.7.33 tmp/acknowledge.rb
flapjack-0.7.32 tmp/acknowledge.rb
flapjack-0.7.31 tmp/acknowledge.rb
flapjack-0.7.30 tmp/acknowledge.rb
flapjack-0.7.29 tmp/acknowledge.rb
flapjack-0.7.28 tmp/acknowledge.rb
flapjack-0.7.27 tmp/acknowledge.rb
flapjack-0.7.26 tmp/acknowledge.rb
flapjack-0.7.25 tmp/acknowledge.rb
flapjack-0.7.22 tmp/acknowledge.rb
flapjack-0.7.21 tmp/acknowledge.rb