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.7.20 tmp/acknowledge.rb
flapjack-0.7.19 tmp/acknowledge.rb